Skip to content

ksc91u/apprestart

Repository files navigation

AppPhoenix

restart your application process with android-job scheduler.

  • Add jitpack to your project's build.gradle
allprojects {
    repositories {
        google()
        jcenter()
        maven { url 'https://jitpack.io' }
    }
}
  • Add dependencies
dependencies {
    implementation 'com.github.ksc91u:apprestart:-SNAPSHOT'
}
  • In your Application.onCreate()
override fun onCreate() {
    super.onCreate()
    AppPhoenix.init(this)
}

  • Restart app from your activity
AppPhoenix.getInstance().restart(this)

#ProcessPhoenix #android-job

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published