braze-inc / braze-flutter-sdk

Public repo for the Braze Flutter SDK
Other
15 stars 29 forks source link

Tapping Braze notification on Android doesn't open the app #38

Closed wrbl606 closed 1 year ago

wrbl606 commented 1 year ago

After tapping a push notification delivered by Braze on an Android device the app doesn't start. It doesn't look like it crashed, just the activity is closed immediately after start. The app is behaving the same for all available interaction modes available in the web creator.

image

Tested on modes:

As the app closes so quickly, Flutter engine doesn't even start, so it's (most probably) not caused by the Dart code.

Here are some relevant logcat logs:

App setup:

hokstuff commented 1 year ago

Hi @wrbl606,

I have a few questions around your setup and the issues you're facing:

  1. To clarify, you are using the Braze Flutter plugin alongside the Segment-Braze integration? Does that mean you're integrating Segment-Braze-iOS and Segment-Braze-Android directly into the native layers?
  2. Are you facing the same issue with push notifications on both iOS and Android in the Flutter Braze plugin 2.5.0?
  3. Have you ever gotten push notifications to work in your app? Do other Braze features currently work in your app (setting user attributes, logging events)?
  4. Have you already followed all of the Flutter Android setup instructions (you need to integrate push notifications via the native layer)?

To get quicker support on this issue, it might be easier to reach out to the Support team via support@braze.com, since I believe there might be a lot of back and forth on this issue.