Skip to content

vgs-samples/vgs-collect-show-android-jetpack-compose-demo

Repository files navigation

VGS Collect/Show SDK. Jetpack Compose Demo

This examples shows how easily you can integrate VGS Collect/Show SDKs with Jetpack Compose.

How to run it?

Requirements

Step 1

Go to your VGS organization and establish Inbound connection. For this demo you can import pre-built route configuration:

  • Find the configuration.yaml file inside the app repository and download it.
  • Go to the Routes section on the Dashboard page and select the Inbound tab.
  • Press Manage button at the right corner and select Import YAML file.
  • Choose configuration.yaml file that you just downloaded and tap on Save button to save the route.

Step 2

Clone demo application repository.

git clone git@github.com:vgs-samples/vgs-collect-show-android-jetpack-compose-demo.git

Step 3

Setup "<VAULT_ID>".

Find CollectAndShowActivity.kt in package and replace <VAULT_ID> with your vault id.

Step 4

Run the application.

Step 5

Submit and reveal the form then go to the Logs tab on a Dashboard find a request and secure a payload. Instruction for this step you can find here.