fixes issue #45.
@@ -93,7 +93,7 @@ public class ReactNativePermissionsModule extends ReactContextBaseJavaModule {
// NOOP
}
};
- mPermissionsModule.requestPermission(permission, new PromiseImpl(resolve, reject));
+ mPermissionsModule.requestPermission(permission, resolve, reject);