Closed TirrouOussama closed 6 months ago
@TirrouOussama Starting from android 10 up, android does not allow launching an activity from a non visible window https://developer.android.com/guide/components/activities/background-starts#exceptions
You can allow the user of the app to manually launch the activity from a notification.
@kengoon yes i have read that. and about the notif its just not the way to go. i have to go back to the app like receiving a call (whasup messenger viber). i guess i ll try recent tasks
@TirrouOussama I don't understand what you mean. But so you know, the notification function here on kvdroid allows you to launch your app when you tap on it. You can read Google docs for further issues.
I will be closing this issue as not planned because it's a third party issue and not kvdroid issue.
@kengoon like the plyer notif when u tap on it u go to the app but to be be able to start the app directly without any manual interaction is the problem i face relation to the app _launch
@TirrouOussama that's called hijacking a users phone activity without their consent . And that's why android made it impossible to launch any when the app is not visible itself. There's nothing you can do about it. Consider allowing the user to manually launch your app when they tap on your notification.
@kengoon thank you. close it. and if i find any solution i ll email you.
after i start the app manually and sent it back with the home screen it doesnt start from the service