Skip to content

An open-source cross-platform alternative to AirDrop

feat: debug package for android (#1176)

Jesse2053f3544e365c7
diff --git a/app/android/app/build.gradle b/app/android/app/build.gradle
index 4a555864..d504b82f 100644
--- a/app/android/app/build.gradle
+++ b/app/android/app/build.gradle
@@ -71,6 +71,9 @@ android {
release {
signingConfig signingConfigs.release
}
+ debug {
+ applicationIdSuffix ".debug"
+ }
}
}
diff --git a/app/android/app/src/debug/AndroidManifest.xml b/app/android/app/src/debug/AndroidManifest.xml
index 81c4800e..e1933def 100644
--- a/app/android/app/src/debug/AndroidManifest.xml
+++ b/app/android/app/src/debug/AndroidManifest.xml
@@ -1,8 +1,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
package="org.localsend.localsend_app">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
- <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.INTERNET" />
+ <application
+ android:label="LocalSend Debug"
+ tools:ignore="MissingApplicationIcon"
+ tools:replace="android:label" />
</manifest>