Open mwaked opened 3 years ago
Hello, I am trying to request permission and listen to complete() or error(e: VpnException) but callbacks don't work when granted or denied VpnPermissions.
if(VpnPermissions.granted()){ Log.d(TAG, "VpnPermissions.granted() == true") }else { Log.d(TAG, "VpnPermissions.request...") VpnPermissions.request(object : CompletableCallback { override fun complete() { Log.d(TAG, "complete()") } override fun error(e: VpnException) { Log.d(TAG, "Error: $e") } }) }
Hello, I am trying to request permission and listen to complete() or error(e: VpnException) but callbacks don't work when granted or denied VpnPermissions.