-
Notifications
You must be signed in to change notification settings - Fork 374
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
Launch URL is not working #1350
Comments
Nevermind, I found what was the issue at least with the launcher URL. I have been initializing onesignal like this:
And it was working, but the Still, I have a problem with android, after clicking on the notification application is not open. I have to open it manually. I found in the application setting "Display pop-up windows while running in the background" is helpful. https://stackoverflow.com/questions/59645936/displaying-popup-windows-while-running-in-the-background
As far as I see it's the problem rather with Xiaomi miui (their custom android firmware) than onesignal or react-native so I'm closing the issue. |
@pilotpirxie hello, how did you manage to fix it |
Description:
Hi, launch_url seems not working. I followed the tutorials:
https://documentation.onesignal.com/docs/react-native-sdk-setup
https://documentation.onesignal.com/docs/links
https://nbiscan7.medium.com/how-to-deep-link-in-react-native-4c8262f3154d
Push notification is opening the app on the iOS but it's not calling a function with launch_url/deep link. On Android, I had even a problem with the opening applications. I tried to use both emulators and real devices. Android is getting push notifications but after tap, nothing is happening.
My current AndroidManifest.xml:
Info.plist:
Podfile:
AppDelegate.m
And the component where I connected onesignal:
But still it's not working :<
Environment
Steps to Reproduce Issue:
Follow the tutorials on the fresh app, set files as above and send a notification with appName://screen2/123 launch url.
The text was updated successfully, but these errors were encountered: