Skip to content

Commit

Permalink
update domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Varnius committed Dec 16, 2021
1 parent 5b7d2da commit 0f42d5e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Argyle Android SDK example project

Documentation can be found [here](https://argyle.io/docs/argyle-link/android-sdk-integration)
Documentation can be found [here](https://argyle.com/docs/argyle-link/android-sdk-integration)
2 changes: 1 addition & 1 deletion app/src/main/java/com/argyleexample/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import com.argyle.ArgyleErrorType
private const val TAG = "MainActivity"

private const val PLUGIN_KEY = "YOUR_PLUGIN_KEY"
private const val API_HOST = "https://api-sandbox.argyle.io/v1"
private const val API_HOST = "https://api-sandbox.argyle.com/v1"

// https://argyle.com/docs/pay-distributions-guide/link-integration
private const val YOUR_PD_CONFIG = "YOUR_PD_CONFIG"
Expand Down
24 changes: 24 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,24 @@
<network-security-config>
<debug-overrides>
<trust-anchors>
<!-- Trust user added CAs while debuggable only -->
<certificates src="user" />
<certificates src="system" />
</trust-anchors>
</debug-overrides>

<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>

<domain-config>
<!-- Make sure your URL Server here -->
<domain includeSubdomains="true">com.argyleexample</domain>
<trust-anchors>
<certificates src="user"/>
<certificates src="system"/>
</trust-anchors>
</domain-config>
</network-security-config>

0 comments on commit 0f42d5e

Please sign in to comment.