Managing Application
You can create an app_id and secret_key, which are required for integration with your mobile apps.
In most cases, only one app key is required for your app, but if you offer more than one app, you can create and manage different app keys for each app.
The app_id and secret_key are used by SORI API server to authenticate the SDK. These are passwords, so keep them safe. If you suspect that your app key has been compromised, you can revoke and re-create it in SORI console.
Create App ID & Secret Key
To create a App Key, click the + at the bottom right of the page.
Please enter a name to identify each App Key and click Create. Now you should be able to see the created App ID and Secret Key in the list.
If you run multiple apps, you can create different App Keys in the same way.
Download an example project
Once an App Key exists, you can download a ready-to-compile example project for your platform instead of wiring up credentials by hand.
Click ⁝ to the right of the App Key's creation date and choose
The Download example scaffold dialog offers three platforms:
| Platform | Example project |
|---|---|
| Android | SORI Example Android Kotlin |
| iOS | SORI Example iOS Swift |
| Flutter | SORI Example Flutter |
Select a platform, and SORI Console builds a ZIP archive from the matching public example repository with this application's app_id and secret_key already filled in, so no manual credential editing is needed.
TIP
Generating the archive takes a moment. Keep the dialog open until the browser download starts.
Every archive contains a SORI_CREDENTIALS_NOTICE.md file that names the credential-bearing file and the run command for that platform.
Running the downloaded project
Unzip the archive, then start the project from its root directory.
Android — credentials are written to local.properties as SORI_APP_ID and SORI_SECRET_KEY, which the Gradle build exposes to the app.
./gradlew installDebugiOS — credentials are set in SORIExample/ContentView.swift. Open the project in Xcode and run it on a device.
open SORIExample.xcodeprojFlutter — credentials are written to sori_credentials.json and supplied at build time, so the run command must include that file.
flutter pub get
flutter run --dart-define-from-file=sori_credentials.jsonWARNING
The downloaded project contains this application's secret_key. Do not commit it to any repository and do not share the archive as-is. If the secret key leaks, delete the App Key and create a new one.
For the full integration details, see the Android, iOS, and Flutter guides.
Delete App ID & Secret Key
If the APP ID and SECRET KEY are compromised, you can revoke the app.
WARNING
Please note that this app cannot be recovered after deletion, and the SDKs that use it will no longer work.
You can delete the APP Key by clicking ⁝ to the right of the APP Key's creation date.
