Commit 6699d614 王帅

read me

1 个父辈 bfbfbfd9
...@@ -56,7 +56,11 @@ After building, open xcworkspace project. ...@@ -56,7 +56,11 @@ After building, open xcworkspace project.
Add the following parameters into the `info.plist`. Add the following parameters into the `info.plist`.
You can find the `info.plist` in your Xcode project. You can find the `info.plist` in your Xcode project.
`warning: You can contact PM for all of these IDs .` - `UIUserInterfaceStyle`:Because Dark mode changes the font color, the SDK has not adapted Dark mode, so it needs to be disabled
- `NSUserTrackingUsageDescription`:get hint for IDFA
- `zgameid`:You can contact PM for this
- `zchannelid`:You can contact PM for this
```xml ```xml
<key>zgameid</key> <key>zgameid</key>
...@@ -67,6 +71,9 @@ You can find the `info.plist` in your Xcode project. ...@@ -67,6 +71,9 @@ You can find the `info.plist` in your Xcode project.
<key>NSUserTrackingUsageDescription</key> <key>NSUserTrackingUsageDescription</key>
<string>get hint for IDFA</string> <string>get hint for IDFA</string>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
``` ```
### Config the Sign In with Apple ### Config the Sign In with Apple
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# 入门指南 # 入门指南
本指南适用于希望通过 Unity 接入中宣部防沉迷功能的发布商 本指南适用于希望通过 Unity 接入中宣部防沉迷功能的发布商,接入配置好SDK后,游戏开发者只需要正常进行游戏流程并进行SDK的初始化即可。
## 前提条件 ## 前提条件
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<img src='resources/add_custom_package.png'> <img src='resources/add_custom_package.png'>
确保选择所有文件,然后点击 Import。 点击 Import。
<img src='resources/import_custom_package.png'> <img src='resources/import_custom_package.png'>
...@@ -52,9 +52,10 @@ ...@@ -52,9 +52,10 @@
##### 配置iOS参数 ##### 配置iOS参数
请在info.plist中进行如下配置: 请在info.plist中进行如下配置:
- NSUserTrackingUsageDescription:是为了获取IDFA权限 - `UIUserInterfaceStyle`:由于Dark模式会改变字体颜色,SDK尚未适配Dark模式,所以需要禁用
- zgameid:请联系掌游产品获取 - `NSUserTrackingUsageDescription`:是为了获取IDFA权限
- zchannelid:请联系掌游产品获取 - `zgameid`:请联系掌游产品获取
- `zchannelid`:请联系掌游产品获取
```xml ```xml
<key>zgameid</key> <key>zgameid</key>
<string>your game id</string> <string>your game id</string>
...@@ -64,6 +65,9 @@ ...@@ -64,6 +65,9 @@
<key>NSUserTrackingUsageDescription</key> <key>NSUserTrackingUsageDescription</key>
<string>IDFA权限获取说明</string> <string>IDFA权限获取说明</string>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
``` ```
##### 配置Apple登录 ##### 配置Apple登录
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!