Closed javaddeveloper closed 2 years ago
It's working fine. please let me know more about your device.
https://play.google.com/store/apps/details?id=com.ashraf789.cakevpn
I have changed my main activity name and that problem happened and i solve it by rename MainActivity
Now i have another question
I want user could not disconnect VPN from notification when user click on disconnect on notification open main application and user disconnect VPN from MainActivity
to change MainActivity update here: https://github.com/ashraf789/Cake-VPN/blob/master/vpnLib/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java#L482
to update disconnect to your main activity: https://github.com/ashraf789/Cake-VPN/blob/master/vpnLib/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java#L445
Thank you for response How can change this line to open main app when user click on disconnect ?
Replace DisconnectVPNActivity.class with your mainactivity so when click disconnect button, app will open your mainactivity
Hello could you say which number of line is for notification update states?
in the notification show text line to update states i want that text input to change it
I can't remember. Please debug notification-related code. Thanks
Hello When i click on notification to open up main application , it doesn't work I want to open app when click on notification Could you review it