-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SendIntentAndroid.openApp not working when called in background #122
Comments
I have this issue too. I Found out it was related to the App's "Display over other apps" permission, if you turn that on, and try again did it work? If so you might have a permissions issue. I am using android 11 device on an app the has a background messaging service. I was able to do a work around by adding this to the service element
|
Same issue, i wanted to open app when the main app receive a push notification on background, but did not work, and when it is handled on foreground, it works good. (Android 11) it was just a test, cause the final goal is that my app open itself when a push notification is received from quite state. |
Hello, any news about this? I have the same problem: I'm calling SendIntentAndroid.openApp(...) from a react native BackgroundTimer.runBackgroundTimer(). |
Hi,
I have a background service running and there I call:
SendIntentAndroid.openApp('com.foobar')
But the app is not opening to the foreground when triggered in the background. The function is called, I can see that in the logs.
When I call the same function when the App is open, it does work..
@lucasferreira
The text was updated successfully, but these errors were encountered: