Skip to content

Commit

Permalink
Update network security config. Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jahirfiquitiva committed Jan 17, 2022
1 parent c5bc933 commit d24be63
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 12 deletions.
13 changes: 13 additions & 0 deletions app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config>
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
<domain-config>
<domain includeSubdomains="true">github.com</domain>
<domain includeSubdomains="true">raw.github.com</domain>
<domain includeSubdomains="true">drive.google.com</domain>
</domain-config>
</network-security-config>
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/Frames.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

object Frames {
const val appId = "dev.jahir.frames.app"
const val version = 346
const val versionName = "3.4.6"
const val version = 347
const val versionName = "3.4.7"
}
10 changes: 5 additions & 5 deletions buildSrc/src/main/java/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

object Versions {
// Plugins
const val gradle = "7.0.3"
const val gradle = "7.0.4"
const val kotlin = "1.5.31"
const val sonatype = "1.1.0"

// OneSignal
const val oneSignalPlugin = "0.14.0"
const val oneSignal = "4.6.3"
const val oneSignal = "4.6.5"

// App
const val minSdk = 21
Expand All @@ -19,13 +19,13 @@ object Versions {
const val coroutines = "1.5.2"

// Android UI
const val appcompat = "1.4.0"
const val appcompat = "1.4.1"
const val cardView = "1.0.0"
const val recyclerView = "1.2.1"
const val swipeRefreshLayout = "1.1.0"
const val palette = "1.0.0"
const val preference = "1.1.1"
const val materialComponents = "1.5.0-beta01"
const val materialComponents = "1.5.0"
const val activityKtx = "1.4.0"
const val fragmentKtx = "1.4.0"

Expand All @@ -34,7 +34,7 @@ object Versions {
const val lifecycleExt = "2.2.0"

// Room Database
const val room = "2.3.0"
const val room = "2.4.1"

// Work Manager
const val work = "2.7.1"
Expand Down
17 changes: 12 additions & 5 deletions library/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:tools="http://schemas.android.com/tools">
<base-config
cleartextTrafficPermitted="true"
tools:ignore="InsecureBaseConfiguration" />
</network-security-config>
<network-security-config>
<base-config>
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
<domain-config>
<domain includeSubdomains="true">github.com</domain>
<domain includeSubdomains="true">raw.github.com</domain>
<domain includeSubdomains="true">drive.google.com</domain>
</domain-config>
</network-security-config>

0 comments on commit d24be63

Please sign in to comment.