Skip to content

Commit 83b0d0a

Browse files
committed
docs: update readme
1 parent 2056c04 commit 83b0d0a

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ freeRASP for React Native is a mobile in-app protection and security monitoring
2222
- [Alternative: Initialize freeRASP in a Class component](#alternative-initialize-freerasp-in-a-class-component)
2323
- [Step 5: Additional note about obfuscation](#step-5-additional-note-about-obfuscation)
2424
- [Step 6: User Data Policies](#step-6-user-data-policies)
25+
- [Using Expo SDK](#using-expo-sdk)
2526
- [Troubleshooting](#troubleshooting)
2627
- [Security Report](#security-report)
2728
- [Talsec Commercial Subscriptions](#money_with_wings-talsec-commercial-subscriptions)
@@ -317,6 +318,22 @@ And you're done 🎉!
317318

318319
If you encounter any other issues, you can see the list of solved issues [here](https://github.com/talsec/Free-RASP-ReactNative/issues?q=is%3Aissue+is%3Aclosed), or open up a [new one](https://github.com/talsec/Free-RASP-ReactNative/issues?q=is%3Aissue+is%3Aopen).
319320

321+
# Using Expo SDK
322+
freeRASP for React Native is bare React Native plugin. When installing freeRASP into a project that uses Expo SDK, there may be extra configuration needed:
323+
324+
### 1. Increase minSdkVersion
325+
326+
This can be done in two ways:
327+
- update the `minSdkVersion` property directly in __android/build.gradle__, or
328+
- use `expo-build-properties` plugin, which updates the property in the prebuild phase. [Read more in the Expo docs](https://docs.expo.dev/versions/latest/sdk/build-properties/).
329+
330+
### 2. Add maven dependency
331+
- open __android/build.gradle__ _(if you don't see the android folder, run `npx expo prebuild -p android` in terminal to create it)_
332+
- add following dependency under __allprojects > repositories__:
333+
`maven { url "https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp" }`
334+
- if not already configured, add also
335+
`maven { url 'https://www.jitpack.io' }`
336+
320337
# Troubleshooting
321338

322339
### Could not determine the dependencies of task `':freerasp-react-native:compileDebugAidl'`
@@ -369,11 +386,6 @@ Go to `<your_project>/node_modules/freerasp-react-native/ios/TalsecRuntime.xcfra
369386
#define TALSECRUNTIME_SWIFT_H
370387
```
371388

372-
### Increase minSdkVersion when using Expo
373-
374-
**Solution:**
375-
This can be done with `expo-build-properties` plugin, which updates the property in the prebuild phase. [Read more in the Expo docs](https://docs.expo.dev/versions/latest/sdk/build-properties/).
376-
377389
# Security Report
378390

379391
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)