テスト中
テスト中
このトークの説明
テスト中
sannka
おいおい
11
111
11
111
1111
222
111
111
1234
ttt
1234
222
1123
222
1222
test
ttt
rrr
ddd
ddddd
1231646
15米
嘿嘿
15米
2
333
有未读消息时,图标上的数字变为1,后续有新消息数字未变化,另外消息全部读取后,图标上的消息也仍然有数字1的消息提示图标。
1
2
3
目前的现象为,安装app后发送消息时,统计气泡会变为1,连续发送3条信息也一直是1.当打开app再切换回桌面,会变成3.
并且我希望删除app时一并清除登录状态
d
1
2
我希望不仅在重新启动 App 时能清除未读消息,当 App 从后台回到前台时也能自动清除未读消息。
111
111
222
11
111
っっt
删除app后,再重新安装 仍旧为已登录状态
test
另外对于未读消息,现在只有后台关闭app再打开时才能清除app的角标状态
请确保以下 API 正常工作: DELETE /api/device-token?device_id={id} - 删除设备 token /userLogin/mobileLogout?device_id={id} - 清除登录状态
1
2
えええ
fっg
111
222
123
1234
test
1234
11
11
test
kkk
1234
1111
111
123
333
111
23451
1234
test1
test1
11
222
1234
1234
2234
11111
2222
111
11111
111
222
12345
23345
1234
1
2
1
2
11
11
10
1
2
1
2
3
4
5
1
2
3
5
1
2
1
2
1234
<preference name="deployment-target" value="12.0" />hh
Framework 'Pods________' not found Linker command failed with exit code 1 (use -v to see invocation)
test
test2
test3
test4
test6
test
test2
test23
trs
333
2333
111
23
test
ttt
ttt
1234
1234
tttt
123
1234
111
123
1234
1234
123
111
1234
12346
2222
1
2
1
2
44
1
2
3
4
1234
2222
12345
122
1
1
2
3
1234
5678
12345
67890
12
34
56
78
555
CDVWKWebViewEngine shouldReloadWebView:: CDVWKWebViewEngine shouldReloadWebView title: Ionic App CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost/home CDVWKWebViewEngine shouldReloadWebView reload: 0 [App] App resumed from background [App] App resumed from background No didStartProvisionalNavigation [Badge] Message detail page loaded (not from notification click), badge will not be cleared Snapshotting a view (0x14b2f8800, UIKeyboardImpl) that has not been rendered at least once requires afterScreenUpdates:YES. CDVWKWebViewEngine shouldReloadWebView:: CDVWKWebViewEngine shouldReloadWebView title: Ionic App CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost/home CDVWKWebViewEngine shouldReloadWebView reload: 0 [FCM] Background message received: { "body": "22", "google.c.a.e": "1", "google.c.fid": "fziMH6-Ng0RgsO_mwXKFsk", "gcm.message_id": "1765428523164682", "url": "https://talktest.machida-kaigo.org/talk/comment?id=137", "google.c.sender.id": "252281362325", "type": "new_comment", "tag": "talk_137", "title": "【firebase】に新着コメント", "notification_count": "2", "aps": { "category": "NEW_COMMENT", "alert": { "title": "【firebase】に新着コメント", "body": "22" }, "badge": 2, "sound": "default" }, "talk_id": "137", "group_key": "talk_137" } [FCM] iOS badge found: 2 [FCM] Setting badge count to 2 (background) [Badge] Updating badge count to: 2 (Platform: iphone, ios, cordova, mobile, hybrid) [App] App resumed from background [App] App resumed from background [Badge] setBadge called, verifying... [Badge] Verified badge count after setting: 2 (expected: 2) [Badge] Successfully updated badge count to: 2 (using Firebase Messaging API) Tried to show IAB while already shown No didStartProvisionalNavigation [Badge] Message detail page loaded from notification click, will clear badge after delay (current count: 2) [Badge] User viewed message, clearing
[Badge] User viewed message, clearing badge... (current count: 2) [Badge] Clearing badge for iOS... [Badge] Attempting to clear server-side badge, URL: https://talktest.machida-kaigo.org/api/clear-badge?device_id=F37E96F0-336A-48FD-A694-7A3E62E519BB [Badge] Badge cleared using Badge plugin for iOS [Badge] Server-side badge count cleared successfully: [object Object] No didStartProvisionalNavigation [Badge] Badge successfully cleared and verified (Badge plugin for iOS) Snapshotting a view (0x14b2f8000, UIKeyboardImpl) that has not been rendered at least once requires afterScreenUpdates:YES.
1234
1234
111
yagura-f@makkunoMac-mini kjkc-talk-mobile4 % cordova plugin update firebase cordova-plugin-advanced-http 3.3.1 "Advanced HTTP plugin" cordova-plugin-android-permissions 1.1.5 "Permissions" cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter" cordova-plugin-badge 0.8.9 "Badge" cordova-plugin-camera 8.0.0 "Camera" cordova-plugin-device 2.0.3 "Device" cordova-plugin-file 6.0.2 "File" cordova-plugin-firebase-messaging 8.0.1 "FirebaseMessagingPlugin" cordova-plugin-inappbrowser 4.0.0 "InAppBrowser" cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview" cordova-plugin-splashscreen 5.0.4 "Splashscreen" cordova-plugin-statusbar 2.4.3 "StatusBar" cordova-plugin-uniquedeviceid 1.3.2 "UniqueDeviceID" cordova-plugin-wkwebview-engine 1.2.2 "Cordova WKWebView Engine" cordova-support-android-plugin 2.0.4 "cordova-support-android-plugin" yagura-f@makkunoMac-mini kjkc-talk-mobile4 % cordova plugin update cordova-plugin-firebase-messaging cordova-plugin-advanced-http 3.3.1 "Advanced HTTP plugin" cordova-plugin-android-permissions 1.1.5 "Permissions" cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter" cordova-plugin-badge 0.8.9 "Badge" cordova-plugin-camera 8.0.0 "Camera" cordova-plugin-device 2.0.3 "Device" cordova-plugin-file 6.0.2 "File" cordova-plugin-firebase-messaging 8.0.1 "FirebaseMessagingPlugin" cordova-plugin-inappbrowser 4.0.0 "InAppBrowser" cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview" cordova-plugin-splashscreen 5.0.4 "Splashscreen" cordova-plugin-statusbar 2.4.3 "StatusBar" cordova-plugin-uniquedeviceid 1.3.2 "UniqueDeviceID" cordova-plugin-wkwebview-engine 1.2.2 "Cordova WKWebView Engine" cordova-support-android-plugin 2.0.4 "cordova-support-android-plugin"
11
234
1234
Snapshotting a view (0x123670400, UIKeyboardImpl) that has not been rendered at least once requires afterScreenUpdates:YES. CDVWKWebViewEngine shouldReloadWebView:: CDVWKWebViewEngine shouldReloadWebView title: Ionic App CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost/home CDVWKWebViewEngine shouldReloadWebView reload: 0 [App] App resumed from background [App] App resumed from background Setting the WebView's frame to {{0, 0}, {390, 800}} THREAD WARNING: ['InAppBrowser'] took '12.480999' ms. Plugin should use a background thread. Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "<NSAutoresizingMaskLayoutConstraint:0x1237a67b0 h=-&- v=-&- _TtC5UIKitP33_DDE14AA6B49FCAFC5A54255A118E1D8713ButtonWrapper:0x123564a00.minX == 0 (active, names: '|':_TtGC5UIKit22UICorePlatformViewHostGVS_32PlatformViewRepresentableAdaptorVS_P10$19549020020ButtonRepresentation__:0x1236d7200 )>", "<NSAutoresizingMaskLayoutConstraint:0x1237a7b60 h=-&- v=-&- H:[_TtC5UIKitP33_DDE14AA6B49FCAFC5A54255A118E1D8713ButtonWrapper:0x123564a00]-(0)-| (active, names: '|':_TtGC5UIKit22UICorePlatformViewHostGVS_32PlatformViewRepresentableAdaptorVS_P10$19549020020ButtonRepresentation__:0x1236d7200 )>", "<NSLayoutConstraint:0x1237a5720 _TtC5UIKitP33_DDE14AA6B49FCAFC5A54255A118E1D8713ButtonWrapper:0x123564a00.width == _UIButtonBarButton:0x1236d5180.width (active)>", "<NSLayoutConstraint:0x1237a7f70 '_UITemporaryLayoutWidth' _TtGC5UIKit22UICorePlatformViewHostGVS_32PlatformViewRepresentableAdaptorVS_P10$19549020020Button
1
2
1
2
1234