mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 01:49:30 +08:00
android 允许 http 访问
This commit is contained in:
parent
0d8d2e31df
commit
f5e605d246
4 changed files with 12 additions and 2 deletions
|
@ -17,6 +17,7 @@
|
|||
android:label="@string/app_name"
|
||||
android:launchMode="singleTask"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<resources>
|
||||
<string name="app_name">Timepill</string>
|
||||
<string name="app_name">胶囊日记</string>
|
||||
</resources>
|
||||
|
|
4
android/app/src/main/res/xml/network_security_config.xml
Normal file
4
android/app/src/main/res/xml/network_security_config.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<network-security-config>
|
||||
<base-config cleartextTrafficPermitted="true" />
|
||||
</network-security-config>
|
|
@ -18,4 +18,9 @@
|
|||
# org.gradle.parallel=true
|
||||
|
||||
# android.useAndroidX=true
|
||||
# android.enableJetifier=true
|
||||
# android.enableJetifier=true
|
||||
|
||||
MYAPP_RELEASE_STORE_FILE=my-release-key.keystore
|
||||
MYAPP_RELEASE_KEY_ALIAS=my-key-alias
|
||||
MYAPP_RELEASE_STORE_PASSWORD=zzzzzzz
|
||||
MYAPP_RELEASE_KEY_PASSWORD=zzzzzzz
|
Loading…
Reference in a new issue