-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get MissingForegroundServiceTypeException when connecting a vpn service #107
Comments
Can you try to add this on AndroidManifest.xml <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED" android:minSdkVersion="34" /> let me know the result after |
I just tried that and the error still pops. The changes I made while using this package are:
Not sure of anything missed or put in wrong place, the app pops permissions request correctly, vpn connects just fine, but keeps poping that forground service error. |
change it in package manifest |
Problem solved |
Still same error for Android 14+ after fix PR.
Error when show notification
E/de.blinkt.openvpn.core.OpenVPNService( 9598): android.app.MissingForegroundServiceTypeException: Starting FGS without a type callerApp=ProcessRecord{45c0324 9598:com.example.flutter_application_1/u0a425} targetSDK=34
The text was updated successfully, but these errors were encountered: