OkCollect Android
The OkCollect Android library enables you to launch OkHi from your app and collect accurate addresses from your users.
Getting Started
Make sure you have completed the OkHi on your android app steps
Installation
In your app module build.gradle
dependency, add the following dependency and sync gradle files
Check for the latest release on github.
Initialization
Create an instance of okCollect class to be used later in your activity.
Usage
Launch the library as follows.
Whenever a user's OkHi address is created or used an SMS is sent to them notifying them of this usage
Whereas OkCollect does provide ways to customise the look and feel of the address creation process as well as alter some of the in built functionality. Due to accessibility concerns, the product will work with select brand colours that provide enough contrast to the text being rendered.
Next steps
Checkout the API Reference for more customisation options
Check out our full OkCollect integration example
Integrate the OkCollect Webhook
Last updated