appsync-graphql-cities icon indicating copy to clipboard operation
appsync-graphql-cities copied to clipboard

"Unhandled promise rejection"{framesToPop":1",code:"E_MISSING_PERMISSION"}

Open Rajendra-Kumar opened this issue 7 years ago • 6 comments

I am using this project and update aws-exports with our AppSync API. But when we run project in android phone then i am getting this error.

"Unhandled promise rejection"{framesToPop":1",code:"E_MISSING_PERMISSION"}

Rajendra-Kumar avatar Mar 05 '18 11:03 Rajendra-Kumar

Thanks for pointing out this issue. Is this also occurring on iOS?

dabit3 avatar Mar 06 '18 23:03 dabit3

Did either of you find the solution to this error? I am having the same error in my own app. It runs fine on iOS but I get this as soon as I launch it on android. screen shot 2018-05-17 at 09 24 12

theRedster avatar May 17 '18 11:05 theRedster

What was the solution? Also having this problem

amls avatar Jun 29 '18 04:06 amls

For me, one of the modules react-native-blur wasn't fully installed as android requires an extra step modifying the build.gradle file. I'd recommend going through all your Modules and just double check the docs to make sure they're installed properly for android as the installation is often different from ios.

theRedster avatar Jun 29 '18 11:06 theRedster

@theRedster thanks, I'll check on this and see if I can repro then update the repo with the fixed version.

dabit3 avatar Jun 29 '18 20:06 dabit3

Temporary workaround is to add the following to AndroidManifest.xml <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

gauravtweedl avatar Aug 06 '18 06:08 gauravtweedl