Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
scl
boilerplate
mobile-moko-boilerplate
Commits
2a56ecad
Commit
2a56ecad
authored
Jun 07, 2022
by
a6tak
Browse files
use for all domains and not for prod
parent
23e3c8fd
Pipeline
#46819
passed with stages
in 1 minute and 18 seconds
Changes
5
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
android-app/src/dev/AndroidManifest.xml
0 → 100755
View file @
2a56ecad
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
package=
"org.example.app"
>
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<application
android:name=
".MainApplication"
android:networkSecurityConfig=
"@xml/network_security_config"
android:allowBackup=
"false"
android:icon=
"@mipmap/ic_launcher"
android:label=
"@string/app_name"
android:theme=
"@style/AppTheme"
tools:targetApi=
"n"
>
<activity
android:name=
".view.SplashActivity"
android:exported=
"true"
android:theme=
"@style/AppTheme.Splash"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
</application>
</manifest>
android-app/src/
main
/res/xml/network_security_config.xml
→
android-app/src/
dev
/res/xml/network_security_config.xml
View file @
2a56ecad
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config>
<domain
includeSubdomains=
"true"
>
api.github.com
</domain>
<base-config
cleartextTrafficPermitted=
"true"
>
<trust-anchors>
<certificates
src=
"system"
/>
<certificates
src=
"user"
/>
</trust-anchors>
</
domain
-config>
</
base
-config>
</network-security-config>
\ No newline at end of file
android-app/src/main/AndroidManifest.xml
View file @
2a56ecad
...
...
@@ -7,7 +7,6 @@
<application
android:name=
".MainApplication"
android:networkSecurityConfig=
"@xml/network_security_config"
android:allowBackup=
"false"
android:icon=
"@mipmap/ic_launcher"
android:label=
"@string/app_name"
...
...
android-app/src/stage/AndroidManifest.xml
0 → 100755
View file @
2a56ecad
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
package=
"org.example.app"
>
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<application
android:name=
".MainApplication"
android:networkSecurityConfig=
"@xml/network_security_config"
android:allowBackup=
"false"
android:icon=
"@mipmap/ic_launcher"
android:label=
"@string/app_name"
android:theme=
"@style/AppTheme"
tools:targetApi=
"n"
>
<activity
android:name=
".view.SplashActivity"
android:exported=
"true"
android:theme=
"@style/AppTheme.Splash"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
</application>
</manifest>
android-app/src/stage/res/xml/network_security_config.xml
0 → 100644
View file @
2a56ecad
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config
cleartextTrafficPermitted=
"true"
>
<trust-anchors>
<certificates
src=
"system"
/>
<certificates
src=
"user"
/>
</trust-anchors>
</base-config>
</network-security-config>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment