fix: changed the method called due to depreciation

This commit is contained in:
André Felipe Destro 2022-03-11 17:58:33 +00:00
parent 6d3ce211dd
commit 531e36c7ca

View File

@ -219,7 +219,7 @@ public class CordovaInterfaceImpl implements CordovaInterface {
int[] grantResults) throws JSONException {
Pair<CordovaPlugin, Integer> callback = permissionResultCallbacks.getAndRemoveCallback(requestCode);
if(callback != null) {
callback.first.onRequestPermissionResult(callback.second, permissions, grantResults);
callback.first.onRequestPermissionsResult(callback.second, permissions, grantResults);
}
}