-
Notifications
You must be signed in to change notification settings - Fork 43
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
When click on notification app doesn't start #4
Comments
Actually that notification is just for showing vpn connection details. If you want to handle click on it then you need to modify notification codes in java (vpn library created by Nizwar and we imported). File that contains notification codes: https://github.com/HarshAndroid/FreeVPN-App-Flutter/blob/master/android/vpnLib/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java |
I tried to call mainactivity intent but it's not working even though I checked the flags as well. |
Actually I don't know much of Java but there is something call PendingIntent in Java. You need to create it & then pass as argument in notification while creating it. Example Codes: //for adding to notification before build |
that's what i actually did but MainActivity is not present in the lib and need to pass it as a module. thanks for you help |
No description provided.
The text was updated successfully, but these errors were encountered: