Android SDK Version >= 16
Build Tools Version = 29.0.0 (changeable in build.gradle)
Android Studio >= 3.4.1
To start Integrating MojoAuth using Android sdk, follow below mentioned steps:
-
To download the SDK, please go to the MojoAuth github repository.
-
For Gradle based installation, add the following dependency in your app’s build.gradle:
implementation 'com.mojoauth.android:mojoauth-sdk:1.2.1'
Before using the SDK, you must initialize the SDK with the help of following code:
MojoAuthSDK.Initialize initialize = new MojoAuthSDK.Initialize();
initialize.setApiKey("<Enter_APIKEY>");
After creating a new Android project, follow the installation section of this document. Ensure the MojoAuth Android SDK is linked to your new project as a library.
Add the following permissions to the AndroidManifest.xml:
<uses-permission android:name="android.permission.INTERNET" />
We appreciate all kinds of contributions from anyone, be it finding an issue or writing a blog.
Please check the contributing guide to become a contributor.
For more information on licensing, please refer to License