Closed kaushalyap closed 3 years ago
You shouldn't ask for INTERNET permission at runtime doc: https://developer.android.com/guide/topics/permissions/overview#types
Normal permissions do not directly risk the user's privacy. If your app lists a normal permission in its manifest, the system grants the permission automatically.
FAQs
Overview
Expected
Actual
Environment
Reproducible steps
Declare following in
AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
Add following code to
MainFragment.kt
Run the app and navigate to MainFragment