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
VPN server address, the format is `<ip> <port>`, use the address in the configuration file of `xxx.ovpn` when it is not passed in
231
-
232
-
#### ovpnString
233
-
234
-
The string format of the content of the OpenVPN configuration file. When it is not passed in or an empty string `''` is passed, the module will look for the `xxx.ovpn` configuration file string format
235
-
236
-
String format reference [example.ovpn](example/android/app/src/main/assets/Japan.ovpn)
237
-
238
-
#### ovpnFileName
239
-
240
-
The name of the OpenVPN configuration file, without extensions, using the default name `client` if not passed in
241
-
242
-
#### assetsPath
243
-
244
-
**Android only**,the path to the OpenVPN configuration file under `android/app/src/main/assets/`
245
-
246
-
-`assetsPath` is `''` when not passed in, the file path is `assets/xxx.ovpn`
247
-
- When passing in a path, such as `'ovpn/'`, the file path is `assets/ovpn/xxx.ovpn`
248
-
249
-
#### notificationTitle
250
-
251
-
**Android only**,the title of the notification, using the default value `OpenVPN` if not passed in
252
-
253
-
#### compatMode
254
-
255
-
**Android only**,[OpenVPN compatibility mode](#properties), using the default value `MODERN_DEFAULTS` if not passed in
The format of the line where `remote` is located in the file must be of the following form
298
-
299
-
```text
300
-
...
301
-
remote <IP address> <port>
302
-
...
303
-
```
304
-
305
-
If you don't need to dynamically modify the `remote` address in the configuration file, the same configuration file is used for Android and iOS, and the `remoteAddress` of `options` can be left out
306
-
307
-
However, if you need to dynamically change the `remote` address in the configuration file, the iOS configuration file needs to comment out the line where `remote` is located (below) and always pass `remoteAddress` for `options`
308
-
309
-
```text
310
-
...
311
-
;remote <IP address> <port>>
312
-
...
313
-
```
192
+
For more, read the [API Reference](docs/Reference.md)
VPN server address, the format is `<ip> <port>`, use the address in the configuration file of `xxx.ovpn` when it is not passed in
46
+
47
+
#### ovpnString
48
+
49
+
The string format of the content of the OpenVPN configuration file. When it is not passed in or an empty string `''` is passed, the module will look for the `xxx.ovpn` configuration file string format
50
+
51
+
String format reference [example.ovpn](../example/android/app/src/main/assets/Japan.ovpn)
52
+
53
+
#### ovpnFileName
54
+
55
+
The name of the OpenVPN configuration file, without extensions, using the default name `client` if not passed in
56
+
57
+
#### assetsPath
58
+
59
+
**Android only**,the path to the OpenVPN configuration file under `android/app/src/main/assets/`
60
+
61
+
-`assetsPath` is `''` when not passed in, the file path is `assets/xxx.ovpn`
62
+
- When passing in a path, such as `'ovpn/'`, the file path is `assets/ovpn/xxx.ovpn`
63
+
64
+
#### notificationTitle
65
+
66
+
**Android only**,the title of the notification, using the default value `OpenVPN` if not passed in
67
+
68
+
#### compatMode
69
+
70
+
**Android only**,[OpenVPN compatibility mode](#properties), using the default value `MODERN_DEFAULTS` if not passed in
The format of the line where `remote` is located in the file must be of the following form
113
+
114
+
```text
115
+
...
116
+
remote <IP address> <port>
117
+
...
118
+
```
119
+
120
+
If you don't need to dynamically modify the `remote` address in the configuration file, the same configuration file is used for Android and iOS, and the `remoteAddress` of `options` can be left out
121
+
122
+
However, if you need to dynamically change the `remote` address in the configuration file, the iOS configuration file needs to comment out the line where `remote` is located (below) and always pass `remoteAddress` for `options`
0 commit comments