appidea / react-native-hce

Emulate smart cards inside React-Native application.
MIT License
67 stars 26 forks source link

Fix main queue setup on ios #4

Closed luisdralves closed 3 years ago

luisdralves commented 3 years ago

Hi,

I was getting this warning using the package on a react-native app, when running on ios:

Module Hce requires main queue setup since it overrides `init` but doesn't implement `requiresMainQueueSetup`. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

Looking into this issue on other packages, it seems like a simple fix.

ℹ️ Note ESLint is not passing, but the errors are in files I did not change