Skip to content

Commit

Permalink
Update 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nizwar committed Jul 12, 2024
1 parent d0db8c1 commit 4bafad4
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.3.1
* Upgrade library gradles
* Update native for Permission channel name ($APPNAME VPN Background & $APPNAME VPN Stats)
* Clearify notifications on readme.md
## 1.3.0
* Adept for SDK 34
* Solving #105, #29, #99
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,18 @@ android{
}
```

#### Notifications
As the plugin shows notification for connection status and connection detail, you have to request permission by using 3rd-party packages.

Example by using [permission_handler](https://pub.dev/packages/permission_handler)
```dart
///Put it anywhere you wish like once you initialize the vpn or pre-connect the server
Permission.notification.isGranted.then((_) {
if (!_) Permission.notification.request();
});
```


### iOS
1. View [Apple Guidelines](https://developer.apple.com/app-store/review/guidelines/#vpn-apps) Relating to VPN
2. This plugin DOES use Encryption BUT, It uses Exempt Encryptions
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ android {
}

dependencies {
implementation 'com.github.nizwar:openvpn_library:c3e3e98'
implementation 'com.github.nizwar:openvpn_library:b3941ef040'
}
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.2.2"
version: "1.3.0"
path:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: openvpn_flutter
description: A plugin that allow you to connect OpenVPN service with Flutter
version: 1.3.0
version: 1.3.1
homepage: https://github.com/nizwar/openvpn_flutter

environment:
Expand Down

0 comments on commit 4bafad4

Please sign in to comment.