Skip to content

NativeModules.RNRoam is undefined #19

@xNilsson

Description

@xNilsson

Hi! 👋

We're eager to try out roam for our app. We followed the instructions for installing with autolinking.
Importing roam-reactnative' works fine, but as soon as we try to use call a method on Roamwe get:NativeModules.RNRoam is undefined`. We've tried both on simulator and device.

One theory could be that we had the bundle-id for production, but when we run debug we have another bundle-id.
Couldn't get it to work anyway though.

We are using:

React-native: 0.66.3
React: 17.0.2
iOS device & simulator
2022-06-21 11:38:05.167630+0200 Vembla[43965:3377170] [javascript] 'Error: Requiring module "../hooks/useRoam.ts", which threw an exception: Error: NativeModules.RNRoam is undefined',

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions