Android 10 not invoke when app from background or killed?
I integrated it works well when android device <10, when I test on android device> 10, it cannot invoke the app, when in the background or killed, is anyone like me?
Hi, @tienviip I have this issue too. Test this lib with android v.8 and it works perfect (if add flag NEW_ACTIVITY). But with android v.10 it works only in background mode.
@vicke4, hi Have you any advise for newest versions of android?
I changed Intent flag (activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)) and added few lines to AndroidManifest.xml
android:showWhenLocked="true" android:turnScreenOn="true"
Im having this same problem. I added android:showWhenLocked="true" android:turnScreenOn="true" and changed activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) and the app doesnt open when is killed from Android 10.
@vicke4 This repo is not maintained anymore :/ is a really useful package.
Hi guys, this issue only happened on Android Q because it has some new restrictions about opening an app from background. I've resolved it. Please follow this post : https://stackoverflow.com/questions/59419653/cannot-start-activity-background-in-android-10-android-q