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
feat: upgrade example app to expo 54 + minor fixes (#27)
This PR :
- upgrades expo in the example app from v51 to v54
- changes yarn version from 1.22 to 4.10.2
- fixes the SSL pinning of google.com in the example app
- migrates links in the readme to apps.theodo.com
Tested on iOS and Android:
- SSL pinning (except webview which is not implemented)
- hide app on background
- safe keyboard detector
Copy file name to clipboardExpand all lines: README.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
> **⚠️ Disclaimer**<br/>
22
22
> This package is intended to help implement a few basic security features but does not in itself guarantee that an app is secure.<br/>
23
23
> Refer to [OWASP's resources](https://mas.owasp.org) for more information on mobile app security.<br/>
24
-
> You can also [contact us](https://www.bam.tech/en/contact) if you need help with securing your app.
24
+
> You can also [contact us](https://apps.theodo.com/en/contact) if you need help with securing your app.
25
25
26
26
# Installation and setup
27
27
@@ -184,12 +184,14 @@ SafeKeyboardDetector.showInputMethodPicker(); // can only be called on Android
184
184
```
185
185
186
186
## [EXPERIMENTAL - iOS only] Disable Default Caching in `Cache.db`
187
-
> ⚠️ **DISCLAIMER:** This experimental feature may impact app behavior. Use it at your own risk. Disabling caching can cause unexpected issues.
188
-
>
189
-
> **Possible side effects:**
190
-
> - Slower performance due to lack of cached responses
191
-
> - Higher network usage from repeated requests
192
-
> - Crashes in components expecting cached data
187
+
188
+
> ⚠️ **DISCLAIMER:** This experimental feature may impact app behavior. Use it at your own risk. Disabling caching can cause unexpected issues.
189
+
>
190
+
> **Possible side effects:**
191
+
>
192
+
> - Slower performance due to lack of cached responses
193
+
> - Higher network usage from repeated requests
194
+
> - Crashes in components expecting cached data
193
195
> - Features failing in offline mode
194
196
195
197
> **🥷 Threat:** On iOS, every `NSURL` request may be cached by default in `Cache.db`, potentially storing sensitive data unless explicitly disabled. This can lead to unintentional data leaks.
@@ -202,15 +204,17 @@ Mitigating this threat is achieved by:
If you want to enable this functionality, it need to be enabled in the app configuration file (by default it's disabled)
207
211
208
212
```jsonc
209
213
[
210
214
"@bam.tech/react-native-app-security",
211
215
{
212
216
"disableCache": {
213
-
"ios": { "enabled":true },
217
+
"ios": { "enabled":true }
214
218
}
215
219
}
216
220
]
@@ -224,6 +228,6 @@ When making a change to the `plugin` folder, you'll need to run `yarn prepare` b
224
228
225
229
# 👉 About BAM
226
230
227
-
We are a 100 people company developing and designing multi-platform applications with [React Native](https://www.bam.tech/expertise/react-native) using the Lean & Agile methodology. To get more information on the solutions that would suit your needs, feel free to get in touch by [email](mailto:contact@bam.tech) or through our [contact form](https://www.bam.tech/en/contact)!
231
+
We are a 100 people company developing and designing multi-platform applications with [React Native](https://apps.theodo.com/expertise/react-native) using the Lean & Agile methodology. To get more information on the solutions that would suit your needs, feel free to get in touch by [email](mailto:contact-apps@theodo.com) or through our [contact form](https://apps.theodo.com/en/contact)!
0 commit comments