In your project, open your_app | Gradle Scripts | build.gradle
Add the Maven Central Repository to build.gradle before dependencies:
com.gooten:gooten-android-sdk:3.3.14 to your build.gradle dependencies.
fonts folder in your project’s
assets dir. Then copy fonts from this archive to
Build your project.
Here is example for launching Gooten SDK with minimal configuration.
After SDK has launches successfully (using “Quick Launch” code from above) you should see screen similar as on following screenshot:
Using defaul products settings – If you would like to use all available products and SKUs with default pricing you can configure SDK by setting following property of PIOConfig object:
Testing orders – If you would like to test placing orders without paying real money you can configure SDK by setting following property of PIOConfig object:
Passing in images – SDK allows you to set predefined list of images that will be available to the user. To do so you will need to set list of URIs of predefined images and set/add
PreselectedPhotoSource to the list of available photo sources.