Browse Source

Revert "fixes issue #45." (The original change "undid" the RN 0.33 fix returning it to pre-0.33 compatibility, which is undesirable.)

This reverts commit cfd940d2e3.
Mike Lambert 7 years ago
parent
commit
26458e9fb0

+ 1
- 1
android/src/main/java/com/joshblour/reactnativepermissions/ReactNativePermissionsModule.java View File

93
         // NOOP
93
         // NOOP
94
       }
94
       }
95
     };
95
     };
96
-    mPermissionsModule.requestPermission(permission, resolve, reject);
96
+    mPermissionsModule.requestPermission(permission, new PromiseImpl(resolve, reject));
97
   }
97
   }
98
 
98
 
99
 
99