This example Android app demonstrates how Basis Theory Elements can be integrated into your Android applications.
-
Clone this repository
-
Open the project in Android Studio
-
Install and start a virtual device in Android Studio
-
Copy the
local.properties.example
file tolocal.properties
and set the following properties:sdk.dir
: Local path to the Android SDK on your machine, e.g./Users/me/Library/Android/sdk
com.basistheory.android.example.apiUrl
:https://api.basistheory.com
com.basistheory.android.example.apiKey
: A Basis Theory API key withtoken:create
permission on the/
container
-
Build and run the
example
module on your virtual device