Reputation: 1
I'm developing a Flutter app using the openvpn_flutter library, and I’m facing an issue when changing the minSdkVersion from 21 to 23. The app works perfectly fine with minSdkVersion 21, but when I change it to minSdkVersion 23, it fails to connect to the VPN server. The application disconnects immediately after attempting to connect, and it doesn't even load the config.
I need to increase the minSdkVersion to 23 due to Firebase updates, but I am not sure what changes I need to make to resolve this issue. I read that starting with Android 10 (API level 29), there are requirements to notify users when an app is running in the background, which might be affecting the behavior of openvpn_flutter.
Has anyone encountered a similar issue or have suggestions on how to resolve this? Any help or insights would be much appreciated!
Details:
minSdkVersion: 23 Flutter version: 3.27.1 openvpn_flutter version: 1.3.3 Android version: Testing Platform API 35 Steps taken so far:
I’ve checked the openvpn_flutter documentation but haven’t found a clear solution. I verified that Firebase is working fine, but I haven’t been able to pinpoint the issue with the VPN connection. Thanks in advance for your help!
Upvotes: 0
Views: 61