1
firebase
このトークの説明
1
22
test
1234
222
222
推特
tt
1223444
22222
1
2
11
22
111
222
333
11
22
33
111
222
11
22
33
111
test
1234
ttt
11
1111
1111
test
111
11
111
eee
ggg
dddd
222
ddd
ddd
ddd
111
111
test
111
111
2222
yagura-f@makkunoMac-mini kjkc-talk-mobile4 % cordova platform add ios (node:8501) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) (node:8501) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'find' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'head' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency (node:8501) Warning: Accessing non-existent property
test
111
Build input file cannot be found: '/Volumes/Media/GoogleService-Info.plist'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
#if DEBUG [self findMisnamedGoogleServiceInfoPlist]; #endif // DEBUG [NSException raise:kFirebaseCoreErrorDomain format:@"`FirebaseApp.configure()` could not find " @"a valid GoogleService-Info.plist in your project. Please download one " @"from %@.", kPlistURL];
ddd
1234
1
2
3
1
2
3
ios桌面图标仍然存在,消息统计气泡一直显示为1的问题,打开app后也未消除。
111
查找我的代码中关于web 消息读取的部分代码
只保留ios和安卓的处理,不再使用web相关的部分。
dd
1111
222
444
1111
2222
111
222
qqq
222
qqqq
2222
通知を複数送信した場合、未読数が加算さない
11
11
我需要关闭app再打开才能消除未读角标,アプリを前台に戻した瞬間、未読数(badge)が 0 にリセットされない
っっq
111
222
111
111
666
Badge: 0 No didStartProvisionalNavigation CDVWKWebViewEngine shouldReloadWebView:: CDVWKWebViewEngine shouldReloadWebView title: Ionic App CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost/home CDVWKWebViewEngine shouldReloadWebView reload: 0 App resumed from background Clearing badge on app resume App resumed from background Clearing badge on app resume Badge cleared on resume Badge cleared on resume No didStartProvisionalNavigation No didStartProvisionalNavigation No didStartProvisionalNavigation No didStartProvisionalNavigation No didStartProvisionalNavigation
111
11
11
11
1234
ojiSearchOperations -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = <null selector>, customInfoType = UIEmojiSearchOperations ERROR: DeviceTokenService.saveToken error: TypeError: Load failed ERROR: デバイストークン登録に失敗しました: TypeError: Load failed ERROR: Exception in saveDeviceInfoAfterLogin: TypeError: Load failed No didStartProvisionalNavigation -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = <null selector>, customInfoType = UIEmojiSearchOperations -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = <null selector>, customInfoType = UIEmojiSearchOperations -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = dismissAutoFillPanel, customInfoType = UIUserInteractionRemoteInputOperations -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = dismissAutoFillPanel, customInfoType = UIUserInteractionRemoteInputOperations Snapshotting a view (0x132e1f400, UIKeyboardImpl) that is not in a visible window requires afterScreenUpdates:YES. CDVWKWebViewEngine shouldReloadWebView:: CDVWKWebViewEngine shouldReloadWebView title: Ionic App CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost/home CDVWKWebViewEngine shouldReloadWebView reload: 0 App resumed from background Clearing badge on app resume App resumed from background Clearing badge on app resume Badge cleared on resume Badge cleared on resume Snapshotting a view (0x1332f4800, UIKeyboardImpl) that h
1
2
3
4
5
Apache Cordova native platform version 6.2.0 is starting. Multi-tasking -> Device: YES, App: YES CDVWKWebViewEngine: trying to inject XHR polyfill The preference key "KeyboardResize" is not defined and will default to "TRUE" The preference key "AutoInjectCordova" is not defined and will default to "FALSE" The preference key "AudioCanMix" is not defined and will default to "FALSE" The preference key "WKSuspendInBackground" is not defined and will default to "TRUE" The preference key "MediaPlaybackAllowsAirPlay" is not defined and will default to "TRUE" The preference key "KeyboardAppearanceDark" is not defined and will default to "FALSE" The preference key "AllowLinkPreview" is not defined and will default to "FALSE" The preference key "AllowBackForwardNavigationGestures" is not defined and will default to "FALSE" CDVWKWebViewEngine will reload WKWebView if required on resume Using Ionic WKWebView [CDVTimer][console] 0.028968ms [CDVTimer][handleopenurl] 0.022054ms [CDVTimer][intentandnavigationfilter] 1.187921ms [CDVTimer][gesturehandler] 0.030994ms [CDVTimer][file] 1.593947ms Starting Firebase Messaging plugin 10.17.0 - [FirebaseCore][I-COR000003] The default Firebase app has not yet been configured. Add `FirebaseApp.configure()` to your application initialization. This can be done in in the App Delegate's application(_:didFinishLaunchingWithOptions:)` (or the `@main` struct's initializer in SwiftUI). Read more: https://goo.gl/ctyzm8. 10.17.0 - [FirebaseMessaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at: https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging to ensure proper integration. [CDVTimer][firebasemessaging] 22.111058ms [CDVTimer][inappbrowser] 0.069022ms The
Badge: 0 No didStartProvisionalNavigation CDVWKWebViewEngine shouldReloadWebView:: CDVWKWebViewEngine shouldReloadWebView title: Ionic App CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost/home CDVWKWebViewEngine shouldReloadWebView reload: 0 Background message received: [object Object] Extracted notification data: [object Object] Valid notification data found, scheduling handler... App resumed from background Clearing badge on app resume App resumed from background Clearing badge on app resume Badge cleared on resume Badge cleared on resume Executing notification click handler NOW Notification clicked: [object Object] Navigating to: https://talktest.machida-kaigo.org/talk/comment?id=137 Tried to show IAB while already shown No didStartProvisionalNavigation Badge: 0 No didStartProvisionalNavigation
1
2
3
4
clearBadgeOnResume retry 1: UUID=F37E96F0-336A-48FD-A694-7A3E62E519BB, loginId=null UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Using device_id for clear-badge: F37E96F0-336A-48FD-A694-7A3E62E519BB Calling clear-badge API: https://talktest.machida-kaigo.org//api/clear-badge Payload: [object Object] ERROR: Exception clearing server badge count: TypeError: Load failed ERROR: Exception clearing server badge count: TypeError: Load failed CDVWKWebViewEngine shouldReloadWebView:: CDVWKWebViewEngine shouldReloadWebView title: Ionic App CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost/home CDVWKWebViewEngine shouldReloadWebView reload: 0 App resumed from background Clearing badge on app resume clearBadgeOnResume - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: App resumed from background Clearing badge on app resume clearBadgeOnResume - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Badge cleared on resume Badge cleared on resume clearBadgeOnResume retry 1: UUID=F37E96F0-336A-48FD-A694-7A3E62E519BB, loginId=null UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Using device_id for clear-badge: F37E96F0-336A-48FD-A694-7A3E62E519BB Calling clear-badge API: https://talktest.machida-kaigo.org//api/clear-badge Payload: [object Object] clearBadgeOnResume retry 1: UUID=F37E96F0-336A-48FD-A694-7A3E62E519BB, loginId=null UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Using device_id for clear-badge: F37E96F0-336A-48FD-A694-7A3E62E519BB Calling clear-badge API: https://talktest.machida-kaigo.org//api/clear-badge Payload: [object Object] ERROR: Exception clearing server badge count: TypeError: Load failed ERROR: Exception clearing server badge count: TypeError: Lo
11
z22
222
1
UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Using device_id for clear-badge: F37E96F0-336A-48FD-A694-7A3E62E519BB Calling clear-badge API: https://talktest.machida-kaigo.org//api/clear-badge Payload: [object Object] clearBadgeOnResume retry 1: UUID=F37E96F0-336A-48FD-A694-7A3E62E519BB, loginId=3 UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: 3 Using login_id for clear-badge: 3 Calling clear-badge API: https://talktest.machida-kaigo.org//api/clear-badge Payload: [object Object] No didStartProvisionalNavigation ERROR: Exception clearing server badge count: TypeError: Load failed ERROR: Exception clearing server badge count: TypeError: Load failed
111
11
UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Using device_id for clear-badge: F37E96F0-336A-48FD-A694-7A3E62E519BB Calling clear-badge API - webBaseUrl: https://talktest.machida-kaigo.org/ baseUrl: https://talktest.machida-kaigo.org final URL: https://talktest.machida-kaigo.org/api/clear-badge Payload: {"device_id":"F37E96F0-336A-48FD-A694-7A3E62E519BB"} clearBadgeOnResume retry 1: UUID=F37E96F0-336A-48FD-A694-7A3E62E519BB, loginId=null UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Using device_id for clear-badge: F37E96F0-336A-48FD-A694-7A3E62E519BB Calling clear-badge API - webBaseUrl: https://talktest.machida-kaigo.org/ baseUrl: https://talktest.machida-kaigo.org final URL: https://talktest.machida-kaigo.org/api/clear-badge Payload: {"device_id":"F37E96F0-336A-48FD-A694-7A3E62E519BB"} ERROR: Fetch error: TypeError: Load failed ERROR: Exception clearing server badge count: TypeError: Load failed ERROR: Fetch error: TypeError: Load failed ERROR: Exception clearing server badge count: TypeError: Load failed
CDVWKWebViewEngine shouldReloadWebView:: CDVWKWebViewEngine shouldReloadWebView title: Ionic App CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost/home CDVWKWebViewEngine shouldReloadWebView reload: 0 App resumed from background Clearing badge on app resume clearBadgeOnResume - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Saved notification count: 0 for key: fcm_total_notification_count App resumed from background Clearing badge on app resume clearBadgeOnResume - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: 10 Saved notification count: 0 for key: fcm_total_notification_count_10 Badge cleared on resume Badge cleared on resume clearBadgeOnResume retry 1: UUID=F37E96F0-336A-48FD-A694-7A3E62E519BB, loginId=null UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Using device_id for clear-badge: F37E96F0-336A-48FD-A694-7A3E62E519BB Calling clear-badge API - webBaseUrl: https://talktest.machida-kaigo.org/ baseUrl: https://talktest.machida-kaigo.org final URL: https://talktest.machida-kaigo.org/api/clear-badge Payload: {"device_id":"F37E96F0-336A-48FD-A694-7A3E62E519BB"} clearBadgeOnResume retry 1: UUID=F37E96F0-336A-48FD-A694-7A3E62E519BB, loginId=10 UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: 10 Using login_id for clear-badge: 10 Calling clear-badge API - webBaseUrl: https://talktest.machida-kaigo.org/ baseUrl: https://talktest.machida-kaigo.org final URL: https://talktest.machida-kaigo.org/api/clear-badge Payload: {"login_id":10} ERROR: Fetch error: TypeError: Load failed ERROR: Exception clearing server badge count: TypeError: Load failed ERROR: Fetch error: TypeError: Load failed ERROR: Exception clearing server badge count: TypeError: Load failed
https://talktest.machida-kaigo.org/api/clear-badge
ww
ee
1
1234
56
CDVWKWebViewEngine shouldReloadWebView:: CDVWKWebViewEngine shouldReloadWebView title: Ionic App CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost/home CDVWKWebViewEngine shouldReloadWebView reload: 0 App resumed from background Clearing badge on app resume clearBadgeOnResume - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Saved notification count: 0 for key: fcm_total_notification_count App resumed from background Clearing badge on app resume clearBadgeOnResume - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: 10 Saved notification count: 0 for key: fcm_total_notification_count_10 Badge cleared on resume Badge cleared on resume clearBadgeOnResume retry 1: UUID=F37E96F0-336A-48FD-A694-7A3E62E519BB, loginId=null UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Using device_id for clear-badge: F37E96F0-336A-48FD-A694-7A3E62E519BB Calling clear-badge API - webBaseUrl: https://talktest.machida-kaigo.org/ baseUrl: https://talktest.machida-kaigo.org final URL: https://talktest.machida-kaigo.org/api/clear-badge Payload: {"device_id":"F37E96F0-336A-48FD-A694-7A3E62E519BB"} clearBadgeOnResume retry 1: UUID=F37E96F0-336A-48FD-A694-7A3E62E519BB, loginId=10 UUID or loginId found, calling clearServerBadgeCount clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: 10 Using login_id for clear-badge: 10 Calling clear-badge API - webBaseUrl: https://talktest.machida-kaigo.org/ baseUrl: https://talktest.machida-kaigo.org final URL: https://talktest.machida-kaigo.org/api/clear-badge Payload: {"login_id":10} ERROR: Fetch error: TypeError: Load failed ERROR: Exception clearing server badge count: TypeError: Load failed ERROR: Fetch error: TypeError: Load failed ERROR: Exception clearing server badge count: TypeError: Load failed
11
22
Badge updated: 0 No didStartProvisionalNavigation handleNotificationClick: Calling clearServerBadgeCount after delay clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Using device_id for clear-badge: F37E96F0-336A-48FD-A694-7A3E62E519BB Calling clear-badge API - webBaseUrl: https://talktest.machida-kaigo.org/ baseUrl: https://talktest.machida-kaigo.org final URL: https://talktest.machida-kaigo.org/api/clear-badge Payload: {"device_id":"F37E96F0-336A-48FD-A694-7A3E62E519BB"} ERROR: XHR error: 0 ERROR: XHR error: Error: HTTP 0: ERROR: XHR network error XHR failed, trying fetch as fallback... ERROR: Fetch also failed: TypeError: Load failed ERROR: Exception clearing server badge count: Error: HTTP 0: ERROR: Fetch also failed: TypeError: Load failed Message detail page loaded: https://talktest.machida-kaigo.org/talk/comment?id=137&device_id=F37E96F0-336A-48FD-A694-7A3E62E519BB&fcm_token=fThsejTmgk9zhKT6TMzXQS%3AAPA91bEkUTyM1c9ginSV8o3aHDk1rnBTjzvGUpESF66TOO6L6SGee110Lz5DIRgcrBlEs9Da684kohZghkUMEEQyo0-0t4_Ho3HGdWn1MyEG7w91yqsrwNM No didStartProvisionalNavigation Clearing badge after page load - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: clearServerBadgeCount called - UUID: F37E96F0-336A-48FD-A694-7A3E62E519BB loginId: Using device_id for clear-badge: F37E96F0-336A-48FD-A694-7A3E62E519BB Calling clear-badge API - webBaseUrl: https://talktest.machida-kaigo.org/ baseUrl: https://talktest.machida-kaigo.org final URL: https://talktest.machida-kaigo.org/api/clear-badge Payload: {"device_id":"F37E96F0-336A-48FD-A694-7A3E62E519BB"} ERROR: XHR error: 0 ERROR: XHR error: Error: HTTP 0: ERROR: XHR network error XHR failed, trying fetch as fallback... ERROR: Fetch also failed: TypeError: Load failed ERROR: Exception clearing server badge count: Error: HTTP 0: ERROR: Fetch also failed: TypeError: Load failed
1
2
3
4
1
2
1
2
3
4
1
1
test
test2
test
test
わわわ
test
2