-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix(android): change intent category #137
Conversation
Are there any side effects / regression that this could cause? I'm very cautious these days 👍 |
I'm still testing why this is like this. The default category (printing launcherIntent.getCategories() here) is I'm not sure why the ACTION in the category works and just leaving it at the defaults won't. Before this PR:
After this PR:
|
When there is a
now. |
Added |
This looks like a change in app behavior, forcing this to be a major update, e.g. 4.0.0. And it would be great to have some more external testing on this before merging. |
Fine to merge after we get the 3.x releases with the open patches out. Then we have these changes available to both users (3.x and 4x users). |
closed in favor of #147 |
Change the launcher category from
Intent.CATEGORY_LAUNCHER
toIntent.ACTION_MAIN
. This will triggerwhen the app was in the background (still running) and you click on the notification. Before it was empty unless the app was closed.
firebase.cloudmessaging-android-4.0.0.zip