Implement authorizationStatusChanged() for Android (aka "eventChannelAuthorizationStatus") (previously only available on iOS)
Add AuthorizationStatus NOT_DETERMINED on Android. Use this for all denied cases except where the user has checked "Don't Show Again". (This was previously an iOS-only status value)
Better deal with concurrent requestPermission prompts, for example of another flutter plugin has an active requestPermission open. (This will trigger onRequestPermissionsResult with zero-length arrays, which should emit NOT_DETERMINED again)
Also if requestAuthorization is called and permission was already granted, then emit ALLOWED, otherwise authorizationStatusChanged() might miss out on the fact that permission has been granted (possibly via a different plugin's requestPermission routine)
Showing 2 of 3 files from the diff.
Other files ignored by Codecov
|Project Totals (7 files)||97.45%|
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.