Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ This project complies with ~~Standard (F0), High (F1), Highest (F2)~~ security s

~~[Project specific standard](www.notion.so)~~

#### Charles Proxy

[Charles Proxy](https://www.charlesproxy.com/documentation/welcome/) is enabled for debug and enterprise builds.

### Additional Scripts

1. `clean` - remove all `build` folders
Expand Down
5 changes: 5 additions & 0 deletions app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application android:networkSecurityConfig="@xml/network_security_config" />
</manifest>
9 changes: 9 additions & 0 deletions app/src/debug/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:tools="http://schemas.android.com/tools">
<base-config>
<trust-anchors>
<certificates src="user" tools:ignore="AcceptsUserCertificates"/>
<certificates src="system"/>
</trust-anchors>
</base-config>
</network-security-config>
5 changes: 5 additions & 0 deletions app/src/enterprise/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application android:networkSecurityConfig="@xml/network_security_config" />
</manifest>
9 changes: 9 additions & 0 deletions app/src/enterprise/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:tools="http://schemas.android.com/tools">
<base-config>
<trust-anchors>
<certificates src="user" tools:ignore="AcceptsUserCertificates"/>
<certificates src="system"/>
</trust-anchors>
</base-config>
</network-security-config>
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/ProjectSettings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ object ProjectSettings {
const val applicationId = "app.futured.androidprojecttemplate"
const val compileSdkVersion = 34
const val targetSdk = 34
const val minSdk = 21
const val minSdk = 29
val versionName = System.getenv("VERSION_NAME") ?: "1.0.0"
val versionCode = System.getenv("BUILD_NUMBER")?.toInt() ?: 1

Expand Down
Loading