star-micronics / react-native-star-io10

react-native-star-io10 is a library for supporting application development for Star Micronics devices.
Other
83 stars 54 forks source link

Expo support? #18

Closed Gondolav closed 2 years ago

Gondolav commented 3 years ago

Hi, does it work with Expo? @bandit-ibayashi

Adrianotiger commented 2 years ago

Maybe it need to be listed in:

https://reactnative.directory/

Expo can find it on Android, but I am not able to use it. I get an error:

Error: "null is not an object (evaluating 'o.NativeModules.StarDeviceDiscoveryManagerWrapper.init')" in << l << << l

gare-bear commented 2 years ago

@Gondolav although we would love to provide Expo support, it is not possible to include custom modules when using the Expo CLI/Expo client app. The React Native documentation is very clear on this.

"Because you don't build any native code when using Expo to create a project, it's not possible to include custom native modules beyond the React Native APIs and components that are available in the Expo client app."

We'll add this to the Wiki for this repo in the near future. It should help others with the same question.