Skip to content

Commit c50792d

Browse files
chore(update-plugins): Tue Jul 1 08:06:00 UTC 2025
1 parent fb9c1a4 commit c50792d

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

content/plugins/biometrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ editUrl: https://github.com/NativeScript/plugins/tree/main/packages/biometrics/R
3434
A plugin that allows you to authenticate users with biometrics, such as fingerprints, facial recognition, etc.
3535

3636
> **Note**
37-
> This plugin replaces [@nativescript/fingerprint-auth](../fingerprint-auth).
37+
> This plugin replaces [@nativescript/fingerprint-auth](../plugins/fingerprint-auth).
3838
3939
### Prerequisites:
4040

content/plugins/detox.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,36 @@ A default NativeScript Android project uses 17 as the minimum SDK, but Detox req
197197

198198
:::
199199

200-
### Allow Local Networking (**iOS Only**)
200+
### Allow Local Networking
201+
202+
#### Android (Compulsory)
203+
204+
We have added a network security config file at `./res/xml/network_security_config.xml`, add it to the applications `AndroidManifest.xml` as below
205+
206+
```xml
207+
<!-- ./res/xml/network_security_config.xml -->
208+
<?xml version="1.0" encoding="utf-8"?>
209+
<network-security-config>
210+
<domain-config cleartextTrafficPermitted="true">
211+
<domain includeSubdomains="true">10.0.2.2</domain>
212+
<domain includeSubdomains="true">localhost</domain>
213+
</domain-config>
214+
</network-security-config>
215+
```
216+
217+
```xml
218+
<!-- ./res/xml/network_security_config.xml -->
219+
...existing code...
220+
221+
<application
222+
...existing attributes...
223+
android:networkSecurityConfig="@xml/network_security_config">
224+
...existing code...
225+
```
226+
227+
If you have an existing network security config, incorporate the configuration specified above into it.
228+
229+
#### iOS (Optional)
201230

202231
Dependending on your setup iOS may not be able to communicate with Detox off the bat. In that case, you need to add the following to your `Info.plist` file to allow for local networking requests.
203232

0 commit comments

Comments
 (0)