Android SDK integration
To know about our Android SDK, check out our app on the Google play store. Its source code is also available on GitHub.
Requirements:
Android Studio 2.2+
Gradle 2.14.1.+
Android SDK 7.1.+
Android device running Android 5.0 or newer (To get fully functioning SDK)
Install the SDK using Gradle:
If you are building a new app, you can download the sample app with integrated SDK from Github: https://github.com/acquireio/acquireio-android
Installation Instructions:
Steps to initialize our sample app:-
- Add your Account ID (required)
- Open the downloaded project in Android Studio, replace Account ID in App’s MainActivity.class AcquireApp.init(MainActivity.this,[YOUR ACCOUNT ID], true)
Enable push notification (optional) :
You must have a Firebase account. Sign up to Firebase console and create your application with sample app package name and generate push notification google JSON service file and replace that in sample app under app folder.
- Go to Acquire Dashboard and update the GCM/FCM server key under Action -> Edit -> Push Notification -> Android -> FCM Server Key .
- You need to set the FCM token for the app with the following method available with our SDK AcquireApp.setFireBaseToken ([FCM Token]);
SDK Integration:
Please visit the following link for detailed instruction:
https://developer.acquire.io/v/master/android/getting-started/integration-guide
Initialize Acquire SDK:
Please visit the following link for detailed instruction:
https://developer.acquire.io/v/master/android/getting-started/start-using-acquire
Custom UI and server URL:
Please visit the following link for detailed instruction:
https://developer.acquire.io/v/master/android/custom-ui-widget
API Explore:
Please visit the following link for detailed instruction:
https://developer.acquire.io/v/master/android/acquire-apis
Permissions:
Please visit the following link for detailed instruction:
https://developer.acquire.io/v/master/android/getting-started/start-using-acquire
Cross-Platform Integrations:
Please visit the following link for detailed instruction
https://developer.acquire.io/v/master/android/cross-platform-integrations