Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.44 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.44 KB

MojoAuth

Android SDK

Prerequisites

Android SDK Version >= 16

Build Tools Version = 29.0.0 (changeable in build.gradle)

Android Studio >= 3.4.1

Integrate MojoAuth

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'

Initialize SDK

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>");

Manifest Settings

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" />

How to contribute

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.

License

For more information on licensing, please refer to License