react-native-bundle-splitter icon indicating copy to clipboard operation
react-native-bundle-splitter copied to clipboard

Does this library support code-push?

Open chj-damon opened this issue 2 years ago • 4 comments

I would love to try to integrate this wonderful library in my application, but I also use code-push in my app. So my question is: is it ok to use them both?

chj-damon avatar Jun 13 '22 05:06 chj-damon

Hi @chj-damon

It's a good question. This library simply uses ram-bundles, so you should search for ram-bundles and code-push compatibility. Some time ago I've seen they added support for it, though I haven't tested it myself.

So, my answer is yes, it supports, but I haven't used them both.

May I kindly ask you to get back with the answer in this topic once you get the answer? (i.e. try to integrate it in a real app)

kirillzyusko avatar Jun 13 '22 06:06 kirillzyusko

Hi, I have tried to use both libraries, it seems to work well on Android but on iOS I get an error ExceptionsManager.js:180 TypeError: (0 , _reactNativeCodePush.default) is not a function. I'm trying to find if there's an issue with my installation on iOS but so far it seems that CodePush is undefined on iOS when used with ram-bundles.

CptMaumau avatar Jun 21 '22 05:06 CptMaumau

@CptMaumau do you use Hermes on iOS/Android?

kirillzyusko avatar Jun 21 '22 10:06 kirillzyusko

@kirillzyusko I do not use Hermes on either.

CptMaumau avatar Jun 22 '22 05:06 CptMaumau