Firebaseについて質問があります。
In-App Messagingを利用して、告知バナーをポップアップ表示させることに成功していたのですが、
1-2週間程前から急に動かなくなってしまいました。。。
・実装時参考サイト
公式サイト
https://www.isoroot.jp/blog/1125/
実装時はご存知の通り、非常に簡単にできました。
何度見直しても正しくできているはずなのですが、
急に反応しなくなった理由が全くわかりません。。
(1-2週間の間に、firebaseに関するコードは変更していませんが、
他の箇所は変更しています。)
もし、ありがちなミスや、注意点をご存知の方がいましたら
アドバイス頂けると幸いです。
※参考に、Firebaseで「キャンペーンの作成>デバイスでテスト」を行い、
対象デバイスでビルド中の内容より関係しそうな箇所を添付します。
2019-01-21 00:25:27.842074+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessagingDisplay][I-FID100010] Got notification for kFIRAppReadyToConfigureSDKNotification. Setting display component on headless SDK. 2019-01-21 00:25:27.842719+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM290001] Setting a non-nil message display component 2019-01-21 00:25:27.843013+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InstanceID][I-IID013010] InstanceID library version 3.3.0 2019-01-21 00:25:27.843176+0900 FANCAS[366:31971] 5.15.0 - [Firebase/Messaging][I-FCM002000] FIRMessaging library version 3.2.2 2019-01-21 00:25:27.843349+0900 FANCAS[366:31971] 5.15.0 - [GULReachability][I-REA902003] Monitoring the network status 2019-01-21 00:25:27.843569+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM170001] Got notification for kFIRAppReadyToConfigureSDKNotification 2019-01-21 00:25:27.843619+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM170002] Auto bootstrap Firebase in-app messaging SDK 2019-01-21 00:25:27.843662+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM170005] Not running in simulator. Use regular clearcut uploading strategy. 2019-01-21 00:25:27.843794+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM310001] Persistent file path for activity log data is /var/mobile/Containers/Data/Application/4E98B33B-EB0D-43B1-AAB1-9D9A62593BBA/Library/Caches/firebase-iam-activity-log-cache 2019-01-21 00:25:27.843897+0900 FANCAS[366:31971] 5.15.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: https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging to ensure proper integration. 2019-01-21 00:25:27.843941+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM230001] Persistent file path for clearcut log records is /var/mobile/Containers/Data/Application/4E98B33B-EB0D-43B1-AAB1-9D9A62593BBA/Library/Caches/firebase-iam-clearcut-retry-records 2019-01-21 00:25:27.843980+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM230002] Loaded 0 clearcut log records from file in 0.000722 seconds 2019-01-21 00:25:27.844018+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM260006] Next upload attempt scheduled in 0 seconds 2019-01-21 00:25:27.844055+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM260001] FIRIAMClearcutUploader created with strategy as min wait time in seconds:300;max wait time in seconds:43200;failure backoff time in seconds:3600;batch send size:50 2019-01-21 00:25:27.844117+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM280003] Conversion tracking from a click expires in 604800 seconds 2019-01-21 00:25:27.844154+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM230005] Returning 0 clearcut retry records from popStillValidRecords 2019-01-21 00:25:27.844191+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM260007] No clearcut records to be uploaded 2019-01-21 00:25:27.844276+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM290001] SDK is in mode of Regular and has seen 4 fetches. 2019-01-21 00:25:27.844723+0900 FANCAS[366:31971] 5.15.0 - [Firebase/InAppMessaging][I-IAM300010] Detected 3 custom url schems from environment 2019-01-21 00:25:28.103519+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM180002] Firebase In-App Messaging SDK version 0.12.1 finished startup in 0.309614 seconds with these settings: APIServer:firebaseinappmessaging.googleapis.com;ProjectNumber:196435181229; API_Key:AIzaSyAOwieQLJUa-lXbXQ6ASx04FPTMpvvgWyE;Clearcut Server:play.googleapis.com; Fetch Minimal Internval:86400 seconds; Activity Logger Max:100; Foreground Display Trigger Minimal Interval:86400 seconds; Stop conversion tracking in 604800 seconds; Clearcut strategy:min wait time in seconds:300;max wait time in seconds:43200;failure backoff time in seconds:3600;batch send size:50;Global Firebase auto data collection enabled 2019-01-21 00:25:28.105921+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM150004] Persistent file path for fetch response data is /var/mobile/Containers/Data/Application/4E98B33B-EB0D-43B1-AAB1-9D9A62593BBA/Library/Caches/firebase-iam-messages-cache 2019-01-21 00:25:28.107414+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM150004] Persistent file path for fetch response data is /var/mobile/Containers/Data/Application/4E98B33B-EB0D-43B1-AAB1-9D9A62593BBA/Library/Caches/firebase-iam-messages-cache 2019-01-21 00:25:28.108201+0900 FANCAS[366:31972] 5.15.0 - [GoogleUtilities/AppDelegateSwizzler][I-SWZ001008] Successfully created App Delegate Proxy automatically. To disable the proxy, set the flag GoogleUtilitiesAppDelegateProxyEnabled to NO (Boolean) in the Info.plist 2019-01-21 00:25:28.113608+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM150001] Loaded response from fetch storage successfully. 2019-01-21 00:25:28.113950+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM900014] No fetch epoch time detected in API response. 2019-01-21 00:25:28.114143+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM900002] 0 message definitions were parsed out successfully and 0 messages are discarded 2019-01-21 00:25:28.114301+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM160011] No analytics event trigger based messages, disable listening 2019-01-21 00:25:28.114527+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM140003] Stop observing Firebase analytics events for display check. 2019-01-21 00:25:28.114735+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM160001] There are 0 test messages and 0 regular messages and 0 Firebase analytics events to watch after resetting the message cache 2019-01-21 00:25:28.115218+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM180001] Message loading from fetch storage was done. 2019-01-21 00:25:28.115537+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM180014] No auto data collection enable setting entry detected.So no FIAM programmatic setting from the app. 2019-01-21 00:25:28.116073+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM180018] No programmatic or plist setting at FIAM level. Fallback to global Firebase level setting. 2019-01-21 00:25:28.116250+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM180008] Start SDK runtime components. 2019-01-21 00:25:28.116412+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM600002] Start observing app foreground notifications for message fetching. 2019-01-21 00:25:28.116557+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM140002] Start observing Firebase analytics events for rendering messages. 2019-01-21 00:25:28.116717+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM180020] Start regular display flow for non-testing instance mode 2019-01-21 00:25:28.116975+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM500002] Start observing app foreground notifications for rendering messages. 2019-01-21 00:25:28.117129+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM400005] Interval time from last display is 1547997928.106633 seconds 2019-01-21 00:25:28.117364+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM400001] No appropriate in-app message detected for display. 2019-01-21 00:25:28.117559+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM700005] Interval from last time fetch is 11149.201944 seconds 2019-01-21 00:25:28.117710+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM700008] Interval from last time fetch is 11149.201944 seconds, smaller than fetch wait time 86400.000000 2019-01-21 00:25:28.118136+0900 FANCAS[366:31972] 5.15.0 - [Firebase/InAppMessaging][I-IAM700003] Only 11149.201944 seconds from last fetch time. No action.
回答1件
あなたの回答
tips
プレビュー