Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nizwar authored Jun 20, 2024
1 parent 7690cdb commit d0db8c1
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Connect OpenVPN service with Flutter, Issues and PRs are very welcome!

## Android Setup
### <b>1. Permission handler</b>
#### JAVA
Add this to your onActivityResult in MainActivity.java (if you are using Java)

```java
Expand All @@ -20,6 +21,7 @@ So it look like this
}
```

#### Kotlin
Add this to your onAcivityResult in MainActivity.kt (if you are using Kotlin)

```kotlin
Expand Down Expand Up @@ -139,6 +141,39 @@ gradle.properties > android.bundle.enableUncompressedNativeLibs=false
AndroidManifest > android:extractNativeLibs="true" in application tag
```

app/build.gradle add these inside android tag
```gradle
android{
...
//from here ======
lintOptions {
disable 'InvalidPackage'
checkReleaseBuilds false
}
packagingOptions {
jniLibs {
useLegacyPackaging = true
}
}
bundle {
language {
enableSplit = false
}
density {
enableSplit = false
}
abi {
enableSplit = false
}
}
//to here
...
}
```

### 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

0 comments on commit d0db8c1

Please sign in to comment.