-
Notifications
You must be signed in to change notification settings - Fork 219
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
Intent.extras is null when I open the app through notification press #226
Comments
Sounds like you may not be handling the intent extras in the splash screen ? I've seen this before in previously-popular libraries - perhaps this helps crazycodeboy/react-native-splash-screen#289 (comment) |
@mikehardy @helenaford no we aren't using any such external library to show splash screen. Actually the splash screen activity itself is the main launcher activity which goes to another home page activity after some time.
|
I'm afraid it's all guesswork without a https://stackoverflow.com/help/minimal-reproducible-example - not sure what we can do here |
@mikehardy the notifee docs say that the launcher activity "must" be a ReactActivity. But our project is such that the launcher activity is just the normal AppCompatActivity. It has nothing to do with splash library of any react native stuff. I tried using another new activity and specified this new activity in android's launchActivity property when setting the notification.
The resulting log shows that : Please help me understand why i'm not getting the intent data in my above activity and what can i do to get this data ? |
|
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
we have a react native app with android and ios embedded in it (since we are slowly migrating from native code to react native).
Earlier i was using react push notification library which used to give me the notification data within intent extras when the splash activity opened.
Now we're using notifee, which requires me to use getInitialNotification on the react native side to get the notification data. But what i want is some way to get the notification data on android side itself when the splash activity opens.
Can you please help me here.
The text was updated successfully, but these errors were encountered: