Skip to content
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

When the app is in the background, clicking the notification will not launch the app. #715

Closed
ayyf opened this issue Oct 29, 2018 · 4 comments

Comments

@ayyf
Copy link

ayyf commented Oct 29, 2018

  • Android device: vivo X5Pro D
  • Android OS version: 5.0.2
  • Google Play Services version: 14.3.66
  • Firebase/Play Services SDK version: 17.3.4

Describe the problem:
When the app is in the background, clicking the notification will not launch the app,it does not respond。

No problem sending via Firebase console,however,By our server call API to send as a topic, click on the notification received when the app is running in the background does not respond。

What is the reason?

@samtstern
Copy link
Contributor

@ayyf there's not really enough information here, maybe there are some other issues in the logcat that can explain what happens when you click the notification?

Also see #4 and #89 and many other issues on this repo to learn from previous reports.

@kroikie is Vivo one of the OEMs known to mess with how background works?

@kroikie
Copy link
Contributor

kroikie commented Nov 1, 2018

@ayyf could you please include the request you are using to send via the API?

@samtstern Vivo is one of the OEMs that we are working with to resolve background issues but since the notification is showing up here, could be an implementation issue.

@ayyf
Copy link
Author

ayyf commented Nov 8, 2018

@samtstern @kroikie
I found the reason, the server pushes the click_action and the client does not have the corresponding action, thank you~

@ayyf ayyf closed this as completed Nov 8, 2018
@Eleftheria-99
Copy link

@ayyf What action did you add in MAnifest?? I have the same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants