Skip to content

Commit

Permalink
feat: enable legacy dex packaging and clean up AndroidManifest
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Feb 22, 2025
1 parent 9afca36 commit 902c644
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 6 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ android {
abortOnError false
}

packagingOptions {
dex {
useLegacyPackaging true
}
}

defaultConfig {
applicationId "com.gokadzev.musify"
minSdk 24
Expand Down Expand Up @@ -105,7 +111,6 @@ android {
versionNameSuffix ' DEBUG'
}
}

}

flutter {
Expand Down
5 changes: 1 addition & 4 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.gokadzev.musify">


Expand Down Expand Up @@ -33,9 +32,7 @@
android:label="Musify"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
android:enableOnBackInvokedCallback="true"
android:extractNativeLibs="true"
tools:replace="android:extractNativeLibs">
android:enableOnBackInvokedCallback="true">

<!-- AudioServiceActivity -->
<activity
Expand Down

0 comments on commit 902c644

Please sign in to comment.