tweag / ignite-action-extension-example

Example of writing action extensions with in a React Native app using Ignite
4 stars 1 forks source link

Works great in simulator but crashes on actual device #6

Closed johnckendall closed 6 years ago

johnckendall commented 6 years ago

We got our extension working in the simulator from your example only to find it crashes on any actual device. We then cloned your project and found it also crashes on actual device. The test we use was selecting it from Safari on an iPhone 6 and SE.

Looks like the jsCodeLocation is coming back nil for the extension on the device I had set it like this:
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; for it to work. So I imagine a "release" version would work as well.