Commit 800d6117 by Administrator

苹果离线推送的集成通过

1 parent fc0999ba
...@@ -97,10 +97,10 @@ ...@@ -97,10 +97,10 @@
<string>_dartvm._tcp</string> <string>_dartvm._tcp</string>
<string>_dartobservatory._tcp</string> <string>_dartobservatory._tcp</string>
</array> </array>
<!-- <key>UIBackgroundModes</key> <key>UIBackgroundModes</key>
<array> <array>
<string>audio</string> <string>remote-notification</string>
</array> --> </array>
<key>UIViewControllerBasedStatusBarAppearance</key> <key>UIViewControllerBasedStatusBarAppearance</key>
<true/> <true/>
</dict> </dict>
......
...@@ -97,10 +97,10 @@ ...@@ -97,10 +97,10 @@
<string>_dartvm._tcp</string> <string>_dartvm._tcp</string>
<string>_dartobservatory._tcp</string> <string>_dartobservatory._tcp</string>
</array> </array>
<!-- <key>UIBackgroundModes</key> <key>UIBackgroundModes</key>
<array> <array>
<string>audio</string> <string>remote-notification</string>
</array> --> </array>
<key>UIViewControllerBasedStatusBarAppearance</key> <key>UIViewControllerBasedStatusBarAppearance</key>
<true/> <true/>
......
...@@ -98,10 +98,10 @@ ...@@ -98,10 +98,10 @@
<!-- 对于更新的Flutter版本,有时还需要添加以下行 --> <!-- 对于更新的Flutter版本,有时还需要添加以下行 -->
<string>_dartobservatory._tcp</string> <string>_dartobservatory._tcp</string>
</array> </array>
<!-- <key>UIBackgroundModes</key> <key>UIBackgroundModes</key>
<array> <array>
<string>audio</string> <string>remote-notification</string>
</array> --> </array>
<key>UIViewControllerBasedStatusBarAppearance</key> <key>UIViewControllerBasedStatusBarAppearance</key>
<true/> <true/>
</dict> </dict>
......
...@@ -98,10 +98,10 @@ ...@@ -98,10 +98,10 @@
<!-- 对于更新的Flutter版本,有时还需要添加以下行 --> <!-- 对于更新的Flutter版本,有时还需要添加以下行 -->
<string>_dartobservatory._tcp</string> <string>_dartobservatory._tcp</string>
</array> </array>
<!-- <key>UIBackgroundModes</key> <key>UIBackgroundModes</key>
<array> <array>
<string>audio</string> <string>remote-notification</string>
</array> --> </array>
<key>UIViewControllerBasedStatusBarAppearance</key> <key>UIViewControllerBasedStatusBarAppearance</key>
<true/> <true/>
</dict> </dict>
......
...@@ -374,7 +374,7 @@ class ImService { ...@@ -374,7 +374,7 @@ class ImService {
onNotificationClicked: _onNotificationClicked, onNotificationClicked: _onNotificationClicked,
sdkAppId: Constant.imSdkAppId, sdkAppId: Constant.imSdkAppId,
appKey: Constant.imClientSecure, appKey: Constant.imClientSecure,
apnsCertificateID: 47799, apnsCertificateID: 47801,
); );
if (res.code == 0) { if (res.code == 0) {
debugPrint('注册推送成功--------'); debugPrint('注册推送成功--------');
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!