React Native package conflict: native-base x react-native-firebase

Today I created an (empty) Android app using the "react-native-firebase" and "native-base" packages. It works in debug mode, but in release mode crash occurs.

Steps to reproduce the problem:

  1. Create a new app

    react-native init BaseTest
    
    cd BaseTest
    
  2. Install the "native-base"

    npm install native-base --save
    
    react-native link
    
  3. Install the "react-native-firebase"

    https://rnfirebase.io/docs/v3.1.*/installation/initial-setup
    
    https://rnfirebase.io/docs/v3.1.*/installation/android
    
  4. Generating Signed APK

    https://facebook.github.io/react-native/docs/signed-apk-android.html
    
  5. Build release and install

    cd android
    
    gradlew assembleRelease
    
    adb install app-release.apk
    

I could not find the error. Does anyone have any ideas?

Comments

Popular posts from this blog

Meaning of `{}` for return expression

Get current scroll position of ScrollView in React Native

flutter websocket connection issue