Configuration
Android permissions configuration
The Yoco SDK requires the following permissions to be declared in your
AndroidManifest.xml
file to function correctly.
Runtime permission requests must be handled for BLUETOOTH_CONNECT
,
BLUETOOTH_SCAN
, and ACCESS_FINE_LOCATION
on Android 12 (API 31) and higher.
Initialising the YocoSDK
Initialise the YocoSDK in your Application
subclass to allow the SDK to set up
everything it needs to run properly.
The YocoSDK should only be initialised ONCE per application lifecycle.
Configuring the YocoSDK
After the YocoSDK is initialised, its dynamic parameters can be configured. This method can be called multiple times and from any location within your application.
To configure the YocoSDK, you will need to use the SDK integration secret.
Optionally, integrators have the choice to implement a seamless login experience by passing both the business API token and the SDK integration secret.