Skip to content

Commit 3ccdc91

Browse files
committed
fix(android): Improve the logic to add and remove existing package if user updates app.json android plugin
1 parent 64eaaa2 commit 3ccdc91

File tree

4 files changed

+38
-13671
lines changed

4 files changed

+38
-13671
lines changed

example/android/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
<category android:name="android.intent.category.BROWSABLE"/>
1111
<data android:scheme="https"/>
1212
</intent>
13-
<package android:name="com.google.android.apps.fitness"/>
1413
<package android:name="com.android.chrome"/>
1514
<package android:name="com.expo.flash.qr"/>
16-
<package android:name="com.test.this"/>
1715
</queries>
1816
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme">
1917
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>

example/app.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,7 @@
2626
[
2727
"../app.plugin.js",
2828
{
29-
"android": [
30-
"com.google.android.apps.fitness",
31-
"com.android.chrome",
32-
"com.expo.flash.qr",
33-
"com.test.this"
34-
],
29+
"android": ["com.android.chrome", "com.expo.flash.qr"],
3530
"ios": ["fb", "twitter"]
3631
}
3732
]

0 commit comments

Comments
 (0)