Search Knowledge Base by Keyword

  1. Make sure all steps from Mobile SDK step-by-step integration manual are completed.
  2. Download Winkk SDK library AAR-archive and copy it into libs/ folder of your project’s target module.
  3. Declare the downloaded library and its dependencies in dependencies section in build.gradle file of the project’s target module:
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
implementation ''
implementation ''
implementation 'android.arch.lifecycle:extensions:1.1.1'
  1. Declare all required library’s permissions in AndroidManifest.xml file:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  1. Initialize the SDK with application ID obtained through the Mobile SDK step-by-step integration manual. The best place for this initialization is in Application‘s onCreate method.
Winkk.SDK.initialize(getApplicationContext(), "YOUR_APPLICATION_ID");
  1. Start the authorization session with Winkk.SDK.start(context, callback); call.
  2. If you want to use an obfuscation, make sure to prevent Winkk SDK from it (it is already obfuscated) by adding the following lines to your
-keep class com.winkk.sdk.** { public protected private *; }
  1. Refer this demonstration project for more details.
Was this article helpful?
How can we improve this article?

Leave a Reply

Your email address will not be published. Required fields are marked *