Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Koen · Apr 18, 2017 at 09:21 AM · Push Notifications

App crashes when tapping a push notification in-app on Android 7

The app crashes when tapping a push notification in-app on Android 7.

We use the Unity PlayFabAndroidPlugin SDK for push notifications. We use the UpdateRouting calls to make sure there push notifications aren't shown in-app (this works on Android 5 and Android 6). On Android 7 the push notifications are shown in-app regardless the UpdateRouting calls. When tapping one of those push notifications, the app crashes.

Sadly, we don't have an Android 7 test device so we can't supply the logcat at the moment.

Do you also experience this issue? It would be great if the UpdateRouting logic can be fixed on Android 7 to prevent the crash(es). Is there a fix coming in the PlayFabAndroidPlugin? If so, when?

Comment
Hamza Lazaar

People who like this

1 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by MarcoWilliamsPF · Apr 21, 2017 at 08:36 PM

Hey @Koen if you are having an App Crash we really do need the logcat. I know you said you don't have it, but without that we can't see what is going on with your specific device. We have android 7.0 devices here that we have tested the Plugin on and we do not get crashing issues.

Any additional information you have would help. In addition, what version of Unity you are using, What other plugins you have in your project (like Facebook, GPG etc..). Also a copy of the message you are trying to send would be useful.

Lastly, have you tried sending a Push Message to the deice via Players --> Overview Tab --> "Send Push Notification" button. Does that send successfully?

Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image robert · Apr 23, 2017 at 04:37 PM 0
Share

As already mentioned in the other thread, we also experienced this crashes (Android 7, Nvidia Shield). As soon as we added app_icon.png and app_icon_transparent.png the crash disappeared.

https://community.playfab.com/questions/9985/android-push-notifications-not-working-anymore.html

avatar image Koen · Apr 24, 2017 at 07:09 AM 0
Share

Thanks for the reply. We'll try to get the logcat (from the customer). We use Unity 5.5.0f3 and yes we have the Facebook plugin in our project. We have the necessary app icons in our project so the Push Notifications are shown outside and during the app (with the correct icons) (so it's not that crash). The app crashes whenever the push notification is tapped on by the user during the app. We haven't tried to send a push notification via the Game Manager. I'll comment here if we receive more information.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    How can I use Push Notifications 1 Answer

    FCM ios push notifications aren't working (android does) for Unity 4 Answers

    How can I use AdvancedPlatformDelivery to send push notifications? 1 Answer

    How frequently can I call RegisterForIOSPushNotificationAsync/AndroidDevicePushNotificationRegistrationAsync? 1 Answer

    AndroidDevicePushNotificationRegistrationRequest 409 conflict error 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges