瀏覽代碼

Merge remote-tracking branch 'mikelambert/master'

Daniel Kim 8 年之前
父節點
當前提交
53cc34c38b

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