You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-12Lines changed: 26 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,13 @@
2
2
3
3
freeRASP for Flutter is a part of security SDK for the app shielding and security monitoring. Learn more about provided features on the [freeRASP's main repository](https://github.com/talsec/Free-RASP-Community) first. You can find freeRASP Flutter plugin on [pub.dev](https://pub.dev/packages/freerasp).
4
4
5
+
<table>
6
+
<tbody>
7
+
<td>⚠️ Attention ⚠️ Update to the latest (<strong>1.1.0</strong>) version. Previous versions contain a bug that impacts logged data.<br>
8
+
</td>
9
+
</tbody>
10
+
</table>
11
+
5
12
# Usage
6
13
We will guide you step-by-step, but you can always check the expected result This is how final implementation should look like:
7
14
@@ -11,7 +18,7 @@ We will guide you step-by-step, but you can always check the expected result Th
11
18
Add dependency to your `pubspec.yaml` file
12
19
```yaml
13
20
dependencies:
14
-
freerasp: 1.0.0
21
+
freerasp: 1.1.0
15
22
```
16
23
and then run: `pub get`
17
24
@@ -54,13 +61,13 @@ fi
54
61
55
62
### Android setup
56
63
* From root of your project, go to **android > app > build.gradle**
57
-
* In `defaultConfig` update `minSdkVersion` to at least **19** (Android 4.4) or higher
64
+
* In `defaultConfig` update `minSdkVersion` to at least **21** (Android 5.0) or higher
58
65
```gradle
59
66
android {
60
67
...
61
68
defaultConfig {
62
69
...
63
-
minSdkVersion 19
70
+
minSdkVersion 21
64
71
...
65
72
}
66
73
...
@@ -101,8 +108,8 @@ class _MyAppState extends State<MyApp> {
101
108
102
109
```
103
110
and then create a Talsec config and insert `androidConfig` and/or `IOSConfig` with highlighted identifiers: `expectedPackageName`and `expectedSigningCertificateHash` are needed for Android version.
104
-
`expectedPackageName`- package name of your app which you chose when you created it
105
-
`expectedSigningCertificateHash`- hash of the certificate of the key which was used to sign the application. **Hash which is passed here must be encoded in Base64 form.**
111
+
`expectedPackageName`- package name of your app you chose when you created it
112
+
`expectedSigningCertificateHash`- hash of the certificate of the key which was used to sign the application. **Hash which is passed here must be encoded in Base64 form**
106
113
Similarly, `appBundleId` and `appTeamId` are needed for iOS version of app. If you publish on the Google Play Store and/or Huawei AppGallery, you **don't have to assign anything** to `supportedAlternativeStores` as those are supported out of the box.
107
114
108
115
Lastly, pass a mail address to `watcherMail` to be able to get reports. Mail has a strict form `name@domain.com` which is passed as String.
0 commit comments