API
Variables
TalsecConfig
TalsecConfig
Specifies configuration for your app. See the table below for detailed description of the attributes.
field | type | description | sample value |
---|---|---|---|
androidConfig | AndroidConfig? | Configuration for Android apps | any AndroidConfig instance |
iosConfig | IOSConfig? | Configuration for iOS apps | any IOSConfig instance |
watcherMail | String | The value is automatically used as the target address for your security reports. Mail has a strict form | ' |
isProd | bool? | Defaults to |
|
AndroidConfig
AndroidConfig
Specifies configuration for instances of the app running on Android devices. See the table below for detailed description of the attributes.
field | type | description | sample value |
---|---|---|---|
packageName | String | Package name of the app. | ' |
signingCertHashes | List<String> | Certificate hashes of your app. |
|
supportedStores | List<String> | Package names of the alternative stores. If you publish on the Google Play Store and Huawei AppGallery, as these are already included internally. (You can assign just | [ |
IOSConfig
IOSConfig
Specifies configuration for instances of the app running on Android devices. See the table below for detailed description of the attributes.
field | type | description | sample value |
---|---|---|---|
bundleIds | List<String> | List of Bundle IDs for the app | [' |
teamId | String | Apple Team ID used in the app | 'M8AK35...' |
Methods
Future<void> start(TalsecConfig config)
Future<void> start(TalsecConfig config)
Starts freeRASP with configuration provided in config.
void attachListener(ThreatCallback callback)
void attachListener(ThreatCallback callback)
Attaches instance of ThreatCallback to freeRASP. If ThreatCallback is already attached, current one will be detached and replaced with callback. When threat is detected, respective callback of ThreatCallback is invoked.
Classes
ThreatCallback
ThreatCallback
Methods
method name | return type | Android | iOS |
---|---|---|---|
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? | ||
| VoidCallback? |
Last updated