瀏覽代碼

Merge pull request #48 from robtassl/master

fixes issue #45.
Yonah Forst 8 年之前
父節點
當前提交
b4f5375960

+ 1
- 1
android/src/main/java/com/joshblour/reactnativepermissions/ReactNativePermissionsModule.java 查看文件

@@ -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