Comments (5)
Hi @stonedMoose, sorry to hear you ran into this issue.
We're going to work on reproducing the issue, but the meantime I have two questions:
Have you tried testing on a physical Android device?
Have you also tried restarting the Android simulator?
from amplify-flutter.
I tried on physical device as well as on the emulator. There is no issue when I'm on debug mode running through flutter run
.
But as soon as I try on a physical device with a built apk or via the intern test of google play console I got the error.
from amplify-flutter.
@stonedMoose Can you update the android/app/src/main/AndroidManifest.xml
file to include permission for internet? See https://stackoverflow.com/questions/55603979/why-cant-a-flutter-application-connect-to-the-internet-when-installing-app-rel for more info.
I think we can add this to the docs to make it clear. I will label this as a docs issue.
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+ <uses-permission android:name="android.permission.INTERNET"/>
...
</manifest>
from amplify-flutter.
Thanks for you answer, I was indeed missing the permission line in android/app/src/main/AndroidManifest.xml
.
I had this permissions under android/app/src/profile/AndroidManifest.xml
I thought it was enough but it was not
from amplify-flutter.
@stonedMoose No problem. I will close this out since it sounds like the issue is resolved then.
from amplify-flutter.
Related Issues (20)
- a.customType({}) modelgen issue - Single-Table-Design flutter Amplify-gen2 HOT 2
- feature request: Emit info from signInWithWebUI through Auth Hub HOT 8
- Amplify.configure() incorrectly throws JSON parsing validation error on valid JSON string. Improve error login on Amplify.configure() HOT 4
- fix: expired link at document HOT 1
- Unable to instantiate activity ComponentInfo HOT 4
- Document how to set a model field to null HOT 3
- Document how to get encoded access token HOT 5
- Inspect your amplifyconfiguration.dart and ensure that the string is proper json HOT 5
- Input resolver for TextField errorText and Hint
- Cloud Messaging API (Legacy) will be removed HOT 3
- Face Liveness support HOT 1
- Error occurred awaiting for device token to register device with Pinpoint, Invalid identity pool configuration. Check assigned IAM roles for this pool. HOT 9
- iOS sync stop when app is in background and screen off only in Release HOT 6
- How to pass SignInOptions to Authenticator v2? HOT 15
- [Gen 2] Feature request: Support secondary index query with sorting HOT 3
- Capability to retry the api request as well as handle the cancellation HOT 9
- [Gen2] dynamodb error when having optional sortkeys HOT 3
- How to Use auth resources without an Amplify backend? HOT 9
- S3 Upload Fails With Amplify Gen 2: Error: "S3 access denied when making the API call" (amplify_s3 v2.1+ | Amplify Gen 2) HOT 18
- [Gen2] storage plugin causes 'Lost connection to device.' on debugging session HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplify-flutter.