浏览代码

Update README.md

Mathieu Acthernoene 5 年前
父节点
当前提交
9908ebfcde
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      README.md

+ 2
- 2
README.md 查看文件

@@ -54,7 +54,7 @@ target 'YourAwesomeProject' do
54 54
 end
55 55
 ```
56 56
 
57
-_⚠️  If you encounter the error `Invalid RNPermission X. Should be one of: ()`, try to cleanup Xcode junk data with `npx react-native-clean-project --remove-iOS-build --remove-iOS-pods`_
57
+_⚠️  If you encounter the error `Invalid RNPermission X. Should be one of: ()`, first check that you link at least one permission handler. If you did, try to cleanup Xcode junk data with `npx react-native-clean-project --remove-iOS-build --remove-iOS-pods`_
58 58
 
59 59
 Then update your `Info.plist` with wanted permissions usage descriptions:
60 60
 
@@ -578,5 +578,5 @@ async function requestAll() {
578 578
   return {cameraStatus, contactsStatus};
579 579
 }
580 580
 
581
-console.log(requestAll());
581
+requestAll().then(statuses => console.log(statuses));
582 582
 ```