React-native-firebase: Android app crashes / stops upon receiving notification

Created on 17 Mar 2018  路  2Comments  路  Source: invertase/react-native-firebase

Issue

I've set up notifications for iOS and Android, but for some reason when android app receives notification it stops / crashes. Upon inspecting my manifest file RN class seems to be undefined there

screen shot 2018-03-17 at 16 45 36

I also have another change I made which is

android:launchMode="singleTask"

in documentation it is

android:launchMode="singleTop"

but this doesn't work for me in terms of universal links.

Environment

  1. Application Target Platform: Android
  1. Development Operating System: macOS high sierra
  1. Build Tools: Android studio 3.0, emulator running Nexus 5X with api lvl 26 and play store
  1. React Native version: 0.54..2
  1. RNFirebase Version: 3.3.1
  1. Firebase Module: Messaging
Messaging Waiting for User Response

Most helpful comment

picardfacepalm

All 2 comments

@IljaDaderko looks like you're using the docs for master (i.e. the latest version of messaging and notifications), but might not have installed the code from master?

picardfacepalm

Was this page helpful?
0 / 5 - 0 ratings