-
Notifications
You must be signed in to change notification settings - Fork 161
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
App Android stop when receives Push #99
Comments
I am facing the same problem. |
I can see the same behaviour in my app. Update: After using the attached PushNotificationAppStarter class that was included when installing the nuget package, the intent service successfully handles notification when the app is terminated. |
me to, updated version does not compile with latest version of GooglePlayServices (version 32.961) |
@jgoelten can you provide a sample project that is working? Thanks. |
[SOLVED] To solved this issue, just follow the steps in this link: https://github.com/rdelrosario/xamarin-plugins/tree/master/PushNotification Android On the Android Application class, is better to use the OnCreate of the Android Application class so you can handle push notifications even when activities are closed or app not running by using our PushNotificationService to keep listening to push notifications. But is that not a requirement you could do initialization on your MainActivity class |
If the app is open the push works and opens, but if it has been terminated when a push arrives the app breaks. I installed via Nuget in Xamarin Forms version 1.2.4. I tested both in Debug and Release. Any solution?
The text was updated successfully, but these errors were encountered: