Skip to content

Commit 5494cc2

Browse files
AronAron
authored andcommitted
fix: 移除app_name字段
1 parent 8a8c559 commit 5494cc2

File tree

5 files changed

+194
-71
lines changed

5 files changed

+194
-71
lines changed

android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<activity
1414
android:name=".wxapi.WXEntryActivity"
1515
android:exported="true"
16-
android:label="@string/app_name"
1716
android:launchMode="singleTask"
1817
android:theme="@android:style/Theme.Translucent.NoTitleBar"
1918
android:taskAffinity="${applicationId}"
Lines changed: 25 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,26 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
xmlns:tools="http://schemas.android.com/tools">
3-
4-
<uses-permission android:name="android.permission.INTERNET" />
5-
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
6-
<uses-permission android:name="android.permission.RECORD_AUDIO" />
7-
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
8-
<uses-permission android:name="android.permission.VIBRATE" />
9-
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
10-
11-
<queries>
12-
<intent>
13-
<action android:name="android.intent.action.VIEW" />
14-
<category android:name="android.intent.category.BROWSABLE" />
15-
<data android:scheme="https" />
16-
</intent>
17-
</queries>
18-
<application
19-
android:name=".MainApplication"
20-
android:allowBackup="true"
21-
android:icon="@mipmap/ic_launcher"
22-
android:label="@string/app_name"
23-
android:roundIcon="@mipmap/ic_launcher_round"
24-
android:supportsRtl="true"
25-
android:theme="@style/AppTheme">
26-
<meta-data
27-
android:name="expo.modules.updates.ENABLED"
28-
android:value="false" />
29-
<meta-data
30-
android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH"
31-
android:value="ALWAYS" />
32-
<meta-data
33-
android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS"
34-
android:value="0" />
35-
36-
<activity
37-
android:name=".MainActivity"
38-
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode"
39-
android:exported="true"
40-
android:launchMode="singleTask"
41-
android:screenOrientation="portrait"
42-
android:theme="@style/Theme.App.SplashScreen"
43-
android:windowSoftInputMode="adjustResize">
44-
<intent-filter>
45-
<action android:name="android.intent.action.MAIN" />
46-
<category android:name="android.intent.category.LAUNCHER" />
47-
</intent-filter>
48-
</activity>
49-
</application>
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
2+
<uses-permission android:name="android.permission.INTERNET"/>
3+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
4+
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
5+
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
6+
<uses-permission android:name="android.permission.VIBRATE"/>
7+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
8+
<queries>
9+
<intent>
10+
<action android:name="android.intent.action.VIEW"/>
11+
<category android:name="android.intent.category.BROWSABLE"/>
12+
<data android:scheme="https"/>
13+
</intent>
14+
</queries>
15+
<application android:name=".MainApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme">
16+
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
17+
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
18+
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
19+
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" android:exported="true" android:launchMode="singleTask" android:screenOrientation="portrait" android:theme="@style/Theme.App.SplashScreen" android:windowSoftInputMode="adjustResize">
20+
<intent-filter>
21+
<action android:name="android.intent.action.MAIN"/>
22+
<category android:name="android.intent.category.LAUNCHER"/>
23+
</intent-filter>
24+
</activity>
25+
</application>
5026
</manifest>

example/package-lock.json

Lines changed: 165 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"expo": "~53.0.9",
1313
"react": "19.0.0",
1414
"react-native": "0.79.2",
15-
"expo-image-picker": "~16.1.4"
15+
"expo-image-picker": "~16.1.4",
16+
"expo-dev-client": "~5.2.4"
1617
},
1718
"devDependencies": {
1819
"@babel/core": "^7.25.2",

0 commit comments

Comments
 (0)