Any chance to make the code push integration work ?


#1

We were trying to integrate our ejected expo app with code push service and getting the following error while linking.

rect-native link react-native-code-push

Error:
rnpm-install info Linking react-native-code-push ios dependency
rnpm-install info Platform ‘ios’ module react-native-code-push has been successfully linked
rnpm-install info Linking react-native-code-push android dependency
rnpm-install info Platform ‘android’ module react-native-code-push has been successfully linked
Running ios postlink script
Couldn’t find jsCodeLocation setting in AppDelegate.
Cannot read property ‘length’ of null

We were able to Link the codepush service in ‘react-native init’ projects but having issues with ‘expo init’ project. Any ideas or work around to make this work ?

  1. We know expo does provide similar service but out requirement is codepush
  2. If ExpoKit needs to access the bundle location. is there any work around ?

Thank you !


#2

Hey @uclid,

Unfortunately Code Push has deep integration into RN that would be in conflict with ExpoKit’s. If you need to use Code Push, you’ll have to use vanilla RN. If you don’t mind me asking, what makes you need code push vs Expo’s OTA update service?

Cheers,

Adam


#3

They have this analytics thing which we were interested in. Apart from that Expo OTA is working seamlessly. We are sticking with Expo OTA !.

Thank you for the reply.


#4

Could you be more specific about what the analytics thing is?


#5
  1. App crashes
  2. OS Stats
  3. User Region Stats etc

#6

Ah, I believe sentry & amplitude should mostly cover you for those


#7

Thanks for the information. Will look into them !