Driversnote-Dev / react-native-kontaktio

React Native (iOS and Android) library for Kontakt.io beacons (and all other beacons)
MIT License
112 stars 48 forks source link

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8081' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. #32

Open didacus opened 6 years ago

didacus commented 6 years ago

I am experiencing two issues. The first error is the one described in the title of the post. It's triggered when the Debug JS Remotely is activated. By disabling it, I get me another error. This time is an alert. It is coming from the initialization of the app and is the catch from startDiscovery() but I have no clue if the alert is caused by the first error.

Has anyone experienced this issue with an iOS built?

"react": "16.2.0",
"react-native": "0.52.1",
"react-native-kontaktio": "^2.0.4"