Skip to content

Commit 1a1bab3

Browse files
authored
Update README.md
1 parent c6b3472 commit 1a1bab3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,24 @@ If you encounter any other issues, you can see the list of solved
331331
issues [here](https://github.com/talsec/Free-RASP-Flutter/issues?q=is%3Aissue+is%3Aclosed), or open
332332
up a [new one](https://github.com/talsec/Free-RASP-Flutter/issues?q=is%3Aopen+is%3Aissue).
333333

334+
### \[Android] APK size increased a lot after implementation of freeRASP
335+
336+
**Solution:** In **android/app/src/AndroidManifest.xml** add attribute into application tag:
337+
338+
```xml
339+
android:extractNativeLibs="true"
340+
```
341+
342+
Updated tag might look like this:
343+
344+
```xml
345+
<application
346+
android:label="freerasp_example"
347+
android:icon="@mipmap/ic_launcher"
348+
android:extractNativeLibs="true">
349+
```
350+
[As pointed out in this issue comment](https://github.com/talsec/Free-RASP-Flutter/issues/100#issuecomment-1904193110), setting `extractNativeLibs` to `true` removes native libraries from the final APK, resulting in a smaller size. Conversely, setting it to `false` keeps the libraries uncompressed and stored within the APK, which increases the APK size but might allow the application to load faster because the libraries are loaded directly at runtime.
351+
334352
# Security Report
335353

336354
The Security Report is a weekly summary describing the application's security state and characteristics of the devices it runs on in a practical and easy-to-understand way.

0 commit comments

Comments
 (0)