Skip to main content

silent_android 0.0.2 copy "silent_android: ^0.0.2" to clipboard
silent_android: ^0.0.2 copied to clipboard

unlistedoutdated

Silent SDK is a technical solution for collecting some end user and mobile device data in the host application with minimal influence on the user experience.

silent_android #

Silent SDK is a technical solution for collecting some end user and mobile device data in the host application with minimal influence on the user experience

Installation #

dependencies:
  silent_android: ^0.0.2

Setup #

Initialize the SilentSdk with your credentials provided by mintech

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await SilentAndroid.instance.initialize(
      packageName: 'package-name',
      appId: 'credentials',
      appSecret: 'credentials');

  runApp(const MyApp());
} 

Note: Mintech will provide credentials (app_id and app_secret) based on your package name in Google Play.

  • Android

Changes the version of kotlin in build.gradle

buildscript {
    ext.kotlin_version = '1.8.20'
   ...
}

and in app/build.gradle

android {
    compileSdkVersion 33
    

    defaultConfig {  
        ...
        minSdkVersion 24
        targetSdkVersion 33 
        ...
    }

}

add dependency

dependencies {
    ...
    implementation 'com.android.support:multidex:2.0.1'
}

Requesting permission #

Some properties require apps to explicitly request for user permission at runtime in order to be collected. SilentSDK offers three methods to request permission:

await SilentAndroid.instance.requestLocation()
await SilentAndroid.instance.requestTelephony()

Capture data #

This method will collect data and upload into Mintech Servers in AWS South America.

await SilentAndroid.instance.capture(uid: 'UID', loadId: 'LOAN_ID');
  • UID: Unique identifier of the client logged into the app. Through this field it is possible to relate to which customer the captured data belongs. This identifier is provided by Mintech client.

  • LOAN_ID: Unique identifier of the operation performed by the client. For example, credit card application code, loan application code, or others. This identifier is provided by Mintech client.

Note: As the data capture trigger occurs at app login, usually Mintech receives only the UID value in both fields.

0
likes
0
points
21
downloads

Publisher

verified publisheredvaldomartins.dev

Weekly Downloads

Silent SDK is a technical solution for collecting some end user and mobile device data in the host application with minimal influence on the user experience.

Repository

License

unknown (license)

Dependencies

flutter, plugin_platform_interface, silent_platform_interface

More

Packages that depend on silent_android

Packages that implement silent_android