Code Monkey home page Code Monkey logo

Comments (5)

Equartey avatar Equartey commented on August 30, 2024

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.

stonedMoose avatar stonedMoose commented on August 30, 2024

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.

Jordan-Nelson avatar Jordan-Nelson commented on August 30, 2024

@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.

stonedMoose avatar stonedMoose commented on August 30, 2024

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.xmlI thought it was enough but it was not

from amplify-flutter.

Jordan-Nelson avatar Jordan-Nelson commented on August 30, 2024

@stonedMoose No problem. I will close this out since it sounds like the issue is resolved then.

from amplify-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.