Fresh Detached Expo + RNFirebase not running on Android

后端 未结 2 1960
隐瞒了意图╮
隐瞒了意图╮ 2020-12-11 10:21

So I\'m trying to start an app using the Detached Expokit and React Native Firebase (v3)

I made a fresh project with exp cli, followed all the instructions at https:

相关标签:
2条回答
  • 2020-12-11 10:42

    Co-Author of RNFirebase here,

    We've never really supported Expo other than after a full ejection - without Detached ExpoKit due to the subsequent dependency hell that comes with ExpoKit on android.

    That said though, I'm glad you powered through it and got it working, what would be helpful for others is if you could provide detailed steps you took to get it working (i.e was it just manually overriding those versions above?) and we can possibly document it for anyone else wanting risk their sanity :)

    0 讨论(0)
  • 2020-12-11 10:50

    after days of fiddling, i finally got it to run!

    The trick was, i had to manually compile each google play service modules that had a version mismatch.

    (You can see the version mismatches as a warning when you hover over the dependency)

      compile "com.google.android.gms:play-services-base:11.4.2"
      compile "com.google.android.gms:play-services-base-license:11.4.2"
      compile "com.google.android.gms:play-services-ads:11.4.2"
      compile "com.google.android.gms:play-services-ads-lite:11.4.2"
      compile "com.google.android.gms:play-services-ads-license:11.4.2"
      compile "com.google.android.gms:play-services-analytics:11.4.2"
      compile "com.google.android.gms:play-services-analytics-impl:11.4.2"
      compile "com.google.android.gms:play-services-auth:11.4.2"
      compile "com.google.android.gms:play-services-auth-base:11.4.2"
      compile "com.google.android.gms:play-services-fitness:11.4.2"
      compile "com.google.android.gms:play-services-gcm:11.4.2"
      compile "com.google.android.gms:play-services-identity:11.4.2"
      compile "com.google.android.gms:play-services-maps:11.4.2"
      compile "com.google.android.gms:play-services-wallet:11.4.2"
    
    0 讨论(0)
提交回复
热议问题