-
Notifications
You must be signed in to change notification settings - Fork 6k
Conversation
Ideally something like this (which I forgot I need to put into the wiki). But I am not sure if this qualifies since this API is so new. Was this already pushed out in a roll? |
@chinmaygarde The API containing the typo has been public for eight months. Thanks for the link, I'll follow the guidance of that document. |
@mravn-google Thanks! Your input on how the mark the APIs unavailable in Java would be great. I only know of |
1f3084e
to
c88209c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
public boolean onRequestPermissionResult( | ||
int requestCode, String[] permissions, int[] grantResults) { | ||
return flutterView.getPluginRegistry().onRequestPermissionResult(requestCode, permissions, grantResults); | ||
return flutterView.getPluginRegistry().onRequestPermissionsResult(requestCode, permissions, grantResults); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call the new method instead
In breaking change flutter#4487, a typo was fixed in our Android APIs correcting RequestPermissionResult to RequestPermissionsResult (note the 's' on Permissions) for consistency with the Android SDK. Various tombstone comments were left to help guide developers in the right direction. These comments were slated for removal in March of 2018; at over a year later, we can probably safely remove them.
In breaking change #4487, a typo was fixed in our Android APIs correcting RequestPermissionResult to RequestPermissionsResult (note the 's' on Permissions) for consistency with the Android SDK. Various tombstone comments were left to help guide developers in the right direction. These comments were slated for removal in March of 2018; at over a year later, we can probably safely remove them.
In breaking change flutter#4487, a typo was fixed in our Android APIs correcting RequestPermissionResult to RequestPermissionsResult (note the 's' on Permissions) for consistency with the Android SDK. Various tombstone comments were left to help guide developers in the right direction. These comments were slated for removal in March of 2018; at over a year later, we can probably safely remove them.
Breaking change (posted here)
Plugin registry on Android by mistake renamed the Android concept RequestPermissionsResult to RequestPermissionResult which is unnecessarily confusing.
Fixes flutter/flutter#10853