AR Fails As Deployed Standalone App

I have moved forward with AR and pushed a build to iOS — All works in EXPO, but fails as a Standalone Unhandled JS Exception: TypeError: this._nativeModule.addListener is not a function. — I had to set shouldIgnoreSafeGuards to true to see this message. My initial release was just red screening with “Unknown Reason”: https://github.com/expo/expo/blob/b588218500029bc6f1c3db4143d41514bb706773/packages/expo/src/AR.ts#L429
packages/expo/src/AR.ts:429

1 Like

I tried clearing everything as a last resort, re-bundling, re-deploying, same issue

Posting here for posterity:

The AR module will only work with an ejected app and should be considered experimental. Thanks @kodmunki for your help bringing this information to light. Sorry again for the frustrations.

Cheers,
Adam

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.