Re: [Android] Oops...we screwed up in Cordova-Android 5.0.x

2015-12-01 Thread Carlos Santana
Please update the doc reference, and also I think doing a short Blog Post that explain the best practice on how this permission voodoo magic works and how to handle in cordova apps with the API. On Mon, Nov 30, 2015 at 6:44 PM Joe Bowser wrote: > After thinking about this very hard, I don't thin

Re: [Android] Oops...we screwed up in Cordova-Android 5.0.x

2015-11-30 Thread Joe Bowser
After thinking about this very hard, I don't think this needs to be added, because you can do this in your plugin code: cordova.getActivity().shouldShowRequestPermissionRationale(PERMISSION); And, in reality, all our method would do is turn this into this: cordova.shouldShowRequestPermissionRat

Re: [Android] Oops...we screwed up in Cordova-Android 5.0.x

2015-11-30 Thread Simon MacDonald
Hey Joe, My opinion is as long as we are not introducing a breaking change we don't need to jump to 6.0.0. If we need to add a new method then we can probably just bump it to 5.1.0. If you need an extra pair of hands to update the plugins just let me know. Simon On Nov 30, 2015 04:21, "Terence M

Re: [Android] Oops...we screwed up in Cordova-Android 5.0.x

2015-11-30 Thread Terence M. Bandoian
Do it right. Damn the fallout. -Terence On 11/27/2015 4:51 PM, Joe Bowser wrote: Hey So, I just came back from Android Dev Summit, and it turns out that we didn't figure out how to use the method shouldShowRequestPermissionRationale(). Here's the use case that we didn't figure out: If a use

[Android] Oops...we screwed up in Cordova-Android 5.0.x

2015-11-27 Thread Joe Bowser
Hey So, I just came back from Android Dev Summit, and it turns out that we didn't figure out how to use the method shouldShowRequestPermissionRationale(). Here's the use case that we didn't figure out: If a user refuses a permission twice, they have the option of not showing the permission promp