•插件初始化时会给宿主 AppDelegate 安装 APNs 注册回调桥接。
•捕获: ◦application:didRegisterForRemoteNotificationsWithDeviceToken: ◦application:didFailToRegisterForRemoteNotificationsWithError: •即使宿主没有转发 Cordova 的 CDVRemoteNotification,插件也能自己收到 APNs token。 •getFirebaseToken 等待 APNs token 时,会同时轮询 Firebase Messaging 已缓存的 APNSToken。 •返回结果增加诊断字段: ◦apnsTokenSource: plugin / firebase / none ◦cachedAPNSTokenAvailable ◦firebaseAPNSTokenAvailable
This commit is contained in:
1 parent
63703b966e
commit
8fcb440d8a
4 files changed
+221
-54
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
||||
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
id="bluememe-utils"
|
||||
version="0.1.12">
|
||||
version="0.1.13">
|
||||
<name>bluememe-utils</name>
|
||||
<description>Cordova utilities for WiFi, Firebase Cloud Messaging, and biometric unlock.</description>
|
||||
<license>MIT</license>
|
||||
|
||||
Reference in new issue
Block a user