I use it in my Activity(That used to show a picture and delay some time to MainActivity) .But it throws error "has leaked IntentReceiver com.yanzhenjie.permission.bridge.Messenger@2d38588 that was originally registered here. Are you missing a call to unregisterReceiver()?".
My phone infomation:
Honor V20
Magic UI 3.0.0
Android 10
how do I resolve it
AndPermission.with(this) .runtime() .permission(Permission.READ_EXTERNAL_STORAGE,Permission.WRITE_EXTERNAL_STORAGE,Permission.ACCESS_BACKGROUND_LOCATION,Permission.ACCESS_COARSE_LOCATION,Permission.ACCESS_FINE_LOCATION) .onGranted(onGrantedListener) .onDenied(onDeniedListener) .rationale(rationaleListener) .start();
I use it in my Activity(That used to show a picture and delay some time to MainActivity) .But it throws error "has leaked IntentReceiver com.yanzhenjie.permission.bridge.Messenger@2d38588 that was originally registered here. Are you missing a call to unregisterReceiver()?".
My phone infomation: Honor V20 Magic UI 3.0.0 Android 10 how do I resolve it