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
@@ -54,6 +61,14 @@ String format reference [example.ovpn](../example/android/app/src/main/assets/Ja
54
61
55
62
The name of the OpenVPN configuration file, without extensions, using the default name `client` if not passed in
56
63
64
+
#### username
65
+
66
+
The username for auth, using the default value `''` if not passed in
67
+
68
+
#### password
69
+
70
+
The password for auth, using the default value `''` if not passed in
71
+
57
72
#### assetsPath
58
73
59
74
**Android only**,the path to the OpenVPN configuration file under `android/app/src/main/assets/`
@@ -80,6 +95,31 @@ The name of the OpenVPN configuration file, without extensions, using the defaul
80
95
81
96
**Android only**,load OpenSSL legacy provider or not, using the default value `false` if not passed in
82
97
98
+
#### useCustomConfig
99
+
100
+
**Android only**, use custom config or not, using the default value `false` if not passed in
101
+
102
+
#### customConfigOptions
103
+
104
+
**Android only**, add your own configuration string like below, using the default value `''` if not passed in
105
+
106
+
```text
107
+
http-proxy ...
108
+
http-proxy-option ...
109
+
```
110
+
111
+
#### allowedAppsVpn
112
+
113
+
**Android only**, list of application package names for VPN connection, the default value is an empty array
114
+
115
+
```js
116
+
['com.app1', 'com.app2'];
117
+
```
118
+
119
+
#### allowedAppsVpnAreDisallowed
120
+
121
+
**Android only**, the packages that we specify **allowedAppsVpn** use our VPN connection or not, and the rest is the opposite, using the default value `true` if not passed in
122
+
83
123
#### providerBundleIdentifier
84
124
85
125
**iOS only**,the bundle identifier of the Network Extension target
0 commit comments