【发布时间】:2020-04-10 23:26:36
【问题描述】:
我想使用来自 google 和 facebook 的身份验证,plugin
我想放入 Info.plist
谷歌:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>REVERSED_CLIENT_ID</string>
<key>CFBundleURLSchemes</key>
<array>
<string>com.googleusercontent.apps.1052836194035-l81fsjai1u40ocnqjcpnoebnnsltt03b</string>
</array>
</dict>
</array>
脸书:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb{your-app-id}</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>{your-app-id}</string>
<key>FacebookDisplayName</key>
<string>{your-app-name}</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fb-messenger-share-api</string>
<string>fbauth2</string>
<string>fbshareextension</string>
</array>
如何在一个 Info.plist 中同时使用两者?
当我在 facebook 中删除 CFBundleURLTypes 时,在控制台中显示错误:解析时缺少键
有什么想法吗?
【问题讨论】:
标签: ios firebase google-cloud-platform nativescript info.plist