-
Notifications
You must be signed in to change notification settings - Fork 671
MultiPermissionsListener not called when reguest permissions from onPermissionGranted #262
Comments
I am facing the same issue, as well |
I have noticed it is about these two libraries that I have used for mediation over iron source advertisement
it is weird but when I remove these two it started to work normally 🤔 |
It also happens when you start a second dialog very quickly (~1s) after returning to the Activity that requested the permission. I digged around a bit and found, that the previous I think, the issue would be fixed, if the lib would check, if the callback to be removed is still the callback that is expected to be there and has not been replaced. As a consequence the void onActivityDestroyed(Activity activityThatCalledOnActivityDestroyed) {
if (activity == activityThatCalledOnActivityDestroyed) {
...
}
} that would also imply the |
Thanks for the fix @binarynoise I'm releasing a new version with your fix. |
Expected behaviour
MultiPermissionsListener called when reguest permissions from onPermissionGranted
Actual behaviour
MultiPermissionsListener is NOT called when reguest permissions from onPermissionGranted
Steps to reproduce
Second callback will be never notify. This behaviour was different in 2.4.0 version. Find sample code below. READ_CALENDAR listener will not be notify.
Version of the library
6.2.0
The text was updated successfully, but these errors were encountered: