Useful links

Link to the eyezon SDK test app project:

Bitbucket

1. SDK connection

To connect to the SDK:

1.1. Get the SDK archive by clicking the link: https://storage.googleapis.com/contentforweb/Android SDK/eyezonRepository:$sdkVersionName.zip

1.2. Insert the current version of the SDK instead of a $sdkVersionName appendix (contact eyezon support or your manager in eyezon for the current version).

1.3. Extract the contents of the archive to the project folder.

1.4. Project-level gradle file. Add Maven URL:

allprojects {
    repositories {
         … Other repositories
				 maven { url "../eyezonRepository" }
    }
}

1.5. ****Integration of dependency

Module-level gradle file. Add dependency:

implementation ‘witheyezon:androidSdk:$sdkVersionName’

The$sdkVersionName appendix should be replaced with the current version of the SDK as in paragraph 1.2 (to do this, contact eyezon support or your manager in eyezon for the latest version).

2. Interaction between SDK and your mobile app

You must create an SDK event listener by implementing an interface ISDKListener

There are 2 types of events that the SDK returns:

  1. Various events in the WebView about pressing the button, start of the dialog, etc. onConsoleEvent(eventName: String, event: String) where

A full list of returned events is available in System of events