You need to create an app in the before using Hyphen SDK. After creating an app, an app secret will be issued. The app secret is required to initialize the SDK.
Install the SDK using Gradle
We recommend Gradle to install our SDK.
Edit build.gradle of your app level module to add Hyphen SDK.
Need your Firebase project to use Hyphen SDK. After enabling Google Authenticate and Push Messaging in your Firebase project, complete the Firebase setup through the google-services.json file.
Please read the link below to set up Firebase.
Configuring the SDK
Declaring Permission
The following permissions are required to use the Hyphen SDK. Insert the code snippet below your AndroidManifest.xml.
<!-- Required for hyphen networking (communicate with hyphen api server / flow network) -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- Required for signing with device key -->
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<!-- Required for 2fa / transaction request notifications -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
Register Hyphen Activity
SDK has its own activity to handle 2FA authenticate, transaction requests. Register the activity in your AndroidManifest.xml.