How to debug generic React Native error messages on iOS? -


unless enable debugging (esc > cmd+d > debug js remotely) see error:

module appregistry not registered callable module

this means i'm unable view bundled app on device. if try view app on device, still use dev server (remembering use ip address in appdelegate.m instead of localhost) instead error:

websocket connection failed error error domain=nsposixerrordomain code=61 "connection refused"

even though i've verified can open dev server url in browser on device.

i'm not ios developer, maybe obvious, how go debugging why these errors happening, or not having these errors in first place?

one reason app transport security added in ios 9. please see https://facebook.github.io/react-native/docs/running-on-device-ios.html#app-transport-security reference. have add nsallowsarbitraryloads entry info.plist if didn't use react native cli generate project.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -