Assets
-> Resources
-> Appcharge
-> AppchargeConfig
directory.
If the file doesn’t exist, you can create one by right-click
-> Create
-> Appcharge
-> Configuration
-> AppchargeConfig
Note: This file must be located at Assets
-> Resources
-> Appcharge
-> AppchargeConfig
Property | Value | Description |
---|---|---|
Environment | Enum | Setup the checkout environment: Use Sandbox for tests and Production for Real money. |
Publisher Token | String | Set the publisher token. You may find it by going to the Publisher Dashboard -> Settings -> Integration. |
Checkout Public Key | String | Set the checkout public key. You may find it by going to the Publisher Dashboard -> Settings -> Integration. |
Property | Value | Description |
---|---|---|
Disable Auto Integration | Boolean | By default, the SDK will automatically apply necessary configurations during the build process. Check this option to manually set up internal configurations and dependencies. |
Property | Value | Description |
---|---|---|
Exclude Android X | Boolean | Exclude the useAndroidX property from the gradleTemplate.properties file. |
Exclude Jetifier | Boolean | Exclude the enableJetifier property from the gradelTemplate.properties file. |
gradleTemplate.properties
file will look as follows during the build process:
Property | Value | Description |
---|---|---|
Exclude Appcompat | Boolean | Exclude the AppCompat dependency from the mainTemplate.gradle file. |
Exclude Android Browser | Boolean | Exclude the AndroidbrowserHelper dependency from the mainTemplate.gradle file. |
Exclude Kotlin | Boolean | Exclude the Kotlin packages dependencies from the mainTemplate.gradle file. |
Property | Value | Description |
---|---|---|
Exclude Internet Permission | Boolean | Exclude the Internet Permission from the AndroidManifest.xml file. |
Exclude Appcharge Https Scheme | Boolean | Exclude the Appcharge’s required Https Scheme from the AndroidManifest.xml file. |
Exclude Appcharge Activity | Boolean | Exclude the Appcharge’s required Activity from the AndroidManifest.xml file. |
Enable Debug Mode | Boolean | Enable this to print a summary of the automatic integration changes after the build. |