Android SDK Overview
Forter's Android SDK allows Forter to receive important behavioral and cyber events that contribute greatly to our model's accuracy and ability to identify fraud and suspicious activity throughout the customer journey and during the checkout event.
What you’ll find in the Overview section
The Overview section tells you everything you need to know about how to integrate with Forter's Android SDK and provides some insights into how things work “under the hood”. You can find information about everything from an explanation of how Forter manages to be both automated and accurate, to the technical integration steps, to reassurance about availability and security, and more. If you ever find that something is not clear, you can always visit the Help Center at any time.
Terminology
- ForterSDK - the SDK provided by Forter which enables easy event submission from your Android application to Forter's servers.
- Event - an occurrence / an interaction from the user that is considered a change in the application's current state. An event could be any interaction from the user / a change in the environment.
Performance and Testing
The Forter SDK is designed to have minimal impact on the merchant's application. All events are sent to Forter a-synchronously via a queue outside the main thread, so they do not affect customer experience.
We ensure the memory and network usage are optimized by enforcing queue size and communication policies, both of which are configurable.
To ensure stability, the Forter SDK is thoroughly tested using industry best practices for automatic testing including:
- Unit Testing
- Performance profiling (memory, cpu, battery and network)
- Stress testing
- E2E (End-to-End) tests on a wide variety of devices (using Appium, Amazon device farm, and Google Firebase)
The SDK is deployed on live applications on Google Play Store.
Integration Steps
Installation
Install the ForterSDK through Android StudioAndroid Studio and add required permissions to your Android ManifestAndroid Manifest. We also recommend adding the Install Referrer to your manifest.
Start the SDK
Initialize the ForterSDK as described in the Integration GuideIntegration Guide
Include forterMobileUIDforterMobileUID in all Forter Requests
Send the latest token generated by the Forter SDKs to your backend when an order is placed via your native mobile application. This will allow Forter to connect behavioral and cyber data collected on the mobile applications to the order data sent from your backend.
Send Location UpdatesSend Location Updates
If your app has gained the user's location permission, Forter strongly recommends that you provide us with this data on every location update.
Android WebviewAndroid Webview Integration
For apps that incorporate hybrid or mobile browsers, Forter offers a webview integration solution. Make sure to also include the Forter JavaScript for webview/browser-based components of your app.