Browse Source

Merge remote-tracking branch 'mikelambert/master'

Daniel Kim 8 years ago
parent
commit
53cc34c38b

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

@@ -93,7 +93,7 @@ public class ReactNativePermissionsModule extends ReactContextBaseJavaModule {
93 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