Skip to content

Commit

Permalink
swap extractNativeLibs for useLegacyPackaging
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed May 30, 2023
1 parent 99e763f commit 8ae18f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ android {
multiDexEnabled true
versionCode getVersionCode()
versionName getVersionName()
useLegacyPackaging true
missingDimensionStrategy 'react-native-camera', 'general'
manifestPlaceholders = [commitHash: getCommitHash()]
/* this needs to be empty if we want APKs split by ABIs */
Expand Down
5 changes: 1 addition & 4 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@
android:theme="@style/Theme.AppSplash"
android:name=".MainApplication"
android:largeHeap="true"
android:usesCleartextTraffic="true"
android:extractNativeLibs="true">
<!-- After upgrading Android Gradle Plugin to 4.2.0 and above we must get rid of `extractNativeLibs="true"`
and use`useLegacyPackaging` flag in our app's `build.gradle`-->
android:usesCleartextTraffic="true">
<meta-data android:name="commitHash" android:value="${commitHash}"/>
<activity
android:name=".MainActivity"
Expand Down

0 comments on commit 8ae18f8

Please sign in to comment.