diff --git a/CHANGELOG.md b/CHANGELOG.md index e6eca5a..2ff2023 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index c6554a2..8ba80ef 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/android/build.gradle b/android/build.gradle index 380b6bb..e1ad848 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -46,5 +46,5 @@ android { } dependencies { - implementation 'com.github.nizwar:openvpn_library:c3e3e98' + implementation 'com.github.nizwar:openvpn_library:b3941ef040' } diff --git a/example/pubspec.lock b/example/pubspec.lock index 7ec02cb..dbff333 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -137,7 +137,7 @@ packages: path: ".." relative: true source: path - version: "1.2.2" + version: "1.3.0" path: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 656642f..7f37eb4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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: