Friday, July 1, 2022
HomeiOS Developmentios - Reactnative - invariant violation: module app registry

ios – Reactnative – invariant violation: module app registry

[ad_1]

In my react native challenge, I’m attempting to run the ios construct, when the app will get launched from Xcode – i get the next error
enter image description here

Within the log i get the next

2021-10-28 12:20:20.100070+0530 Demo[5520:269821] App Transport Safety has blocked a cleartext HTTP (http://) useful resource load since it's insecure. Non permanent exceptions will be configured through your app's Information.plist file.
2021-10-28 12:20:20.100224+0530 Demo[5520:269821] Can't begin load of Job <26908016-0250-4226-8326-9785165B3024>.<1> because it doesn't conform to ATS coverage
2021-10-28 12:20:20.107070+0530 Demo[5520:269821] Job <26908016-0250-4226-8326-9785165B3024>.<1> completed with error [-1022] Error Area=NSURLErrorDomain Code=-1022 "The useful resource couldn't be loaded as a result of the App Transport Safety coverage requires using a safe connection." UserInfo={NSLocalizedDescription=The useful resource couldn't be loaded as a result of the App Transport Safety coverage requires using a safe connection., NSErrorFailingURLStringKey=http://localhost:8081/standing, NSErrorFailingURLKey=http://localhost:8081/standing, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <26908016-0250-4226-8326-9785165B3024>.<1>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <26908016-0250-4226-8326-9785165B3024>.<1>, NSUnderlyingError=0x6000038873f0 {Error Area=kCFErrorDomainCFNetwork Code=-1022 "(null)"}}
2021-10-28 12:20:20.148 [info][tid:main][RCTRootView.m:293] Working utility Demo ({
    initialProps =     {
    };
    rootTag = 1;
})
2021-10-28 12:20:20.161585+0530 Demo[5520:269351] === TrustKit: Configuration handed through specific name to initSharedInstanceWithConfiguration:
2021-10-28 12:20:20.172785+0530 Demo[5520:269351] === TrustKit: Loaded 0 SPKI cache entries from the filesystem
2021-10-28 12:20:20.173229+0530 Demo[5520:269351] === TrustKit: Efficiently initialized with configuration {
    TSKPinnedDomains =     {
        "devapi.demoworks.com" =         {
            TSKDisableDefaultReportUri = 0;
            TSKEnforcePinning = 1;
            TSKIncludeSubdomains = 1;
            TSKPublicKeyHashes = "{(n    {size = 32, bytes = 0x00000000 00000000 00000000 00000000 ... 00000000 00000000 },n    {size = 32, bytes = 0x2e4aa7ce 16b40365 2c9c901d 783f3ff9 ... 191c87de 6e76ee0c }n)}";
            kSKExcludeSubdomainFromParentPolicy = 0;
        };
        "uatapi.demoworks.com" =         {
            TSKDisableDefaultReportUri = 0;
            TSKEnforcePinning = 1;
            TSKIncludeSubdomains = 1;
            TSKPublicKeyHashes = "{(n    {size = 32, bytes = 0x00000000 00000000 00000000 00000000 ... 00000000 00000000 },n    {size = 32, bytes = 0x2e4aa7ce 16b40365 2c9c901d 783f3ff9 ... 191c87de 6e76ee0c }n)}";
            kSKExcludeSubdomainFromParentPolicy = 0;
        };
    };
    TSKSwizzleNetworkDelegates = 1;
}
2021-10-28 12:20:20.296707+0530 Demo[5520:269820] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed
2021-10-28 12:20:20.631799+0530 Demo[5520:269833] [plugin] AddInstanceForFactory: No manufacturing facility registered for id <CFUUID 0x600003760de0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2021-10-28 12:20:20.748 [error][tid:com.facebook.react.JavaScript] Invariant Violation: Module AppRegistry shouldn't be a registered callable module (calling runApplication)
2021-10-28 12:20:20.749 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: Invariant Violation: Module AppRegistry shouldn't be a registered callable module (calling runApplication)

how you can repair this difficulty.

[ad_2]

RELATED ARTICLES

1 COMMENT

  1. This is really interesting, You’re a very skilled blogger.
    I have joined your rss feed and look forward to seeking more of your excellent post.

    Also, I have shared your site in my social networks!

Most Popular

Recent Comments