Browse Source

Merge pull request #48 from robtassl/master

fixes issue #45.
Yonah Forst 8 years ago
parent
commit
b4f5375960

+ 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, new PromiseImpl(resolve, reject));
96
+    mPermissionsModule.requestPermission(permission, resolve, reject);
97 97
   }
98 98
 
99 99