Phone App: declare INTERNET permission for release builds
Flutter only adds android.permission.INTERNET to the debug and profile manifests, so release APKs shipped with no network access at all — the app could not reach the API Server. Declaring it in the main manifest fixes release/production builds; debug was unaffected because its own manifest already granted it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
13f50aa9a4
commit
56f7f85958
@@ -1,4 +1,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Network access to the API Server. Flutter only adds INTERNET to the
|
||||
debug/profile manifests, so release builds need it declared here or the
|
||||
app has no network access at all. -->
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<!-- Biometric (fingerprint / face) sign-in via local_auth. -->
|
||||
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
|
||||
<application
|
||||
|
||||
Reference in New Issue
Block a user