質問編集履歴
6
エラーレスポンスコード一覧へのリンクを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -86,10 +86,16 @@
|
|
86
86
|
|
87
87
|
|
88
88
|
|
89
|
+
デバイストークンが誤っている、登録されていない場合はエラーレスポンスコードが返ってきます。
|
90
|
+
|
89
91
|
デバイストークンが登録されていない、サーバーキーが誤っている等の理由ではなさそうです。
|
90
92
|
|
91
93
|
|
92
94
|
|
95
|
+
[公式リファレンス](https://firebase.google.com/docs/cloud-messaging/http-server-ref?hl=ja#error-codes)
|
96
|
+
|
97
|
+
|
98
|
+
|
93
99
|
# AppDelegate
|
94
100
|
|
95
101
|
|
5
ログを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -364,10 +364,6 @@
|
|
364
364
|
|
365
365
|
|
366
366
|
|
367
|
-
エラーがたくさん出ていたので追記します。
|
368
|
-
|
369
|
-
|
370
|
-
|
371
367
|
```xcode
|
372
368
|
|
373
369
|
StudyLevel_(12483,0x103e4b8c0) malloc: recording malloc and VM allocation stacks using lite mode
|
4
ログを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -360,6 +360,70 @@
|
|
360
360
|
|
361
361
|
|
362
362
|
|
363
|
+
#### xcodeのログ
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
エラーがたくさん出ていたので追記します。
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
```xcode
|
372
|
+
|
373
|
+
StudyLevel_(12483,0x103e4b8c0) malloc: recording malloc and VM allocation stacks using lite mode
|
374
|
+
|
375
|
+
2021-01-04 20:46:46.322285+0900 StudyLevel_[12483:7352109] 7.3.0 - [Firebase/Analytics][I-ACS023007] Analytics v.7.3.0 started
|
376
|
+
|
377
|
+
2021-01-04 20:46:46.322600+0900 StudyLevel_[12483:7352109] 7.3.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
|
378
|
+
|
379
|
+
2021-01-04 20:46:46.330274+0900 StudyLevel_[12483:7352113] 7.3.0 - [Firebase/Messaging][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:
|
380
|
+
|
381
|
+
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
|
382
|
+
|
383
|
+
to ensure proper integration.
|
384
|
+
|
385
|
+
2021-01-04 20:46:46.654976+0900 StudyLevel_[12483:7352102] 7.3.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
|
386
|
+
|
387
|
+
2021-01-04 20:46:46.667848+0900 StudyLevel_[12483:7352109] 7.3.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
|
388
|
+
|
389
|
+
2021-01-04 20:46:46.668168+0900 StudyLevel_[12483:7352109] 7.3.0 - [Firebase/Analytics][I-ACS023220] Analytics screen reporting is enabled. Call +[FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
|
390
|
+
|
391
|
+
2021-01-04 20:46:48.385282+0900 StudyLevel_[12483:7351951] <Google> To get test ads on this device, set: GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers = @[ @"bae7a10619e47a268758cd60b2f2643e" ];
|
392
|
+
|
393
|
+
2021-01-04 20:46:48.387143+0900 StudyLevel_[12483:7352102] 7.3.0 - [Firebase/Analytics][I-ACS025026] Deferring to Firebase for event data collection
|
394
|
+
|
395
|
+
2021-01-04 20:46:49.797186+0900 StudyLevel_[12483:7351951] WF: === Starting WebFilter logging for process StudyLevel_
|
396
|
+
|
397
|
+
2021-01-04 20:46:49.797361+0900 StudyLevel_[12483:7351951] WF: _userSettingsForUser mobile: {
|
398
|
+
|
399
|
+
filterBlacklist = (
|
400
|
+
|
401
|
+
);
|
402
|
+
|
403
|
+
filterWhitelist = (
|
404
|
+
|
405
|
+
);
|
406
|
+
|
407
|
+
restrictWeb = 1;
|
408
|
+
|
409
|
+
useContentFilter = 0;
|
410
|
+
|
411
|
+
useContentFilterOverrides = 0;
|
412
|
+
|
413
|
+
whitelistEnabled = 0;
|
414
|
+
|
415
|
+
}
|
416
|
+
|
417
|
+
2021-01-04 20:46:49.797637+0900 StudyLevel_[12483:7351951] WF: _WebFilterIsActive returning: NO
|
418
|
+
|
419
|
+
2021-01-04 20:46:52.192272+0900 StudyLevel_[12483:7351951] [TraitCollection] Class CKBrowserSwitcherViewController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.
|
420
|
+
|
421
|
+
```
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
363
427
|
# バージョン
|
364
428
|
|
365
429
|
- swift 5.3.1
|
3
前提の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,10 +26,6 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
最後にプッシュ通知が届くことを確認した後に、Admobに関するコードを書いたので、それが原因かもしれませんが、関連性はよくわかりません。
|
30
|
-
|
31
|
-
|
32
|
-
|
33
29
|
調べていたところ下のような質問を発見しました。
|
34
30
|
|
35
31
|
[FCMでiOSアプリにPush通知が来ない](https://teratail.com/questions/168156)
|
2
リンクがうまく貼れていなかったので修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,9 +32,7 @@
|
|
32
32
|
|
33
33
|
調べていたところ下のような質問を発見しました。
|
34
34
|
|
35
|
-
[FCMでiOSアプリにPush通知が来ない
|
36
|
-
|
37
|
-
](https://teratail.com/questions/168156)
|
35
|
+
[FCMでiOSアプリにPush通知が来ない](https://teratail.com/questions/168156)
|
38
36
|
|
39
37
|
|
40
38
|
|
1
リンクがうまく貼れていなかったので修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,6 +36,8 @@
|
|
36
36
|
|
37
37
|
](https://teratail.com/questions/168156)
|
38
38
|
|
39
|
+
|
40
|
+
|
39
41
|
> 調べているうちに、「FireBaseの対応が追い付かず、リリース直後はCloudMessagingが動作しない事がある」との記述を見つけ、しばらく放置しました。先日、FireBaseから試験通知を行ったところ、無事アプリで受け取ることができました
|
40
42
|
|
41
43
|
|