firebase / firebase-android-sdk

Firebase Android SDK
https://firebase.google.com
Apache License 2.0
2.28k stars 579 forks source link

166507147: Recoverable exception while reading cache: for Card Layout in-app message #1847

Open gopalAkula opened 4 years ago

gopalAkula commented 4 years ago

[REQUIRED] Step 2: Environment details

implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:design:28.0.0'

implementation 'com.google.firebase:firebase-messaging:17.0.0' implementation 'com.google.firebase:firebase-inappmessaging-display:17.0.0'

implementation 'com.google.firebase:firebase-analytics:16.0.0'

Problem Description:

I am unable to get the card layout in-app message for any of the events. But we are able t get the other types of in-app message like model, image and banner type.

Steps to reproduce:

Crate the card layout campaign in firebase for app_foreground event and tested in the Mobile with fresh installation and put the app in background and come to foreground. But it is working for other types campaigns like model, Image and Top banner types

In logs, we have observed the exception 'Recoverable exception while reading cache' pleas check the below details log for more detail.

Log details

020-08-03 22:31:27.629 15726-15726/com.android.testinapp I/FIAM.Headless: Setting display event listener 2020-08-03 22:31:27.651 15726-15726/com.android.testinapp I/FIAM.Headless: went foreground 2020-08-03 22:31:27.659 15726-15780/com.android.testinapp I/FIAM.Headless: Forcing fetch from service rather than cache. Test Device: false | App Fresh Install: true 2020-08-03 22:31:27.675 15726-15780/com.android.testinapp W/FIAM.Headless: Recoverable exception while reading cache: /data/user/0/com.android.testinapp/files/fiam_impressions_store_file: open failed: ENOENT (No such file or directory) 2020-08-03 22:31:27.678 15726-15780/com.android.testinapp I/FIAM.Headless: FirebaseInstanceId not yet initialized, not attempting campaign fetch from service. 2020-08-03 22:31:27.683 15726-15780/com.android.testinapp I/FIAM.Headless: Successfully fetched 0 messages from backend 2020-08-03 22:31:49.406 15726-15726/com.android.testinapp I/FIAM.Headless: Removing display event listener 2020-08-03 22:31:54.366 15726-15726/com.android.testinapp I/FIAM.Headless: Setting display event listener 2020-08-03 22:31:54.367 15726-15726/com.android.testinapp I/FIAM.Headless: went foreground 2020-08-03 22:31:54.369 15726-15780/com.android.testinapp I/FIAM.Headless: Forcing fetch from service rather than cache. Test Device: false | App Fresh Install: true 2020-08-03 22:31:54.371 15726-15780/com.android.testinapp W/FIAM.Headless: Recoverable exception while reading cache: /data/user/0/com.android.testinapp/files/fiam_impressions_store_file: open failed: ENOENT (No such file or directory) 2020-08-03 22:31:54.373 15726-15780/com.android.testinapp I/FIAM.Headless: Fetching campaigns from service. 2020-08-03 22:31:56.311 15726-15780/com.android.testinapp I/FIAM.Headless: Successfully fetched 1 messages from backend 2020-08-03 22:31:56.357 15726-15780/com.android.testinapp W/FIAM.Headless: Recoverable exception while reading cache: /data/user/0/com.android.testinapp/files/fiam_impressions_store_file: open failed: ENOENT (No such file or directory) 2020-08-03 22:31:56.357 15726-15780/com.android.testinapp I/FIAM.Headless: Already impressed copy of copy of Card Campaign ? : false 2020-08-03 22:31:56.360 15726-15780/com.android.testinapp W/FIAM.Headless: Recoverable exception while reading cache: /data/user/0/com.android.testinapp/files/rate_limit_store_file: open failed: ENOENT (No such file or directory) 2020-08-03 22:31:56.361 15726-15780/com.android.testinapp I/FIAM.Headless: App foreground rate limited ? : false 2020-08-03 22:32:08.895 15726-15726/com.android.testinapp I/FIAM.Headless: Removing display event listener 2020-08-03 22:32:11.546 15726-15726/com.android.testinapp I/FIAM.Headless: Setting display event listener 2020-08-03 22:32:11.549 15726-15726/com.android.testinapp I/FIAM.Headless: went foreground 2020-08-03 22:32:11.549 15726-15780/com.android.testinapp I/FIAM.Headless: Forcing fetch from service rather than cache. Test Device: false | App Fresh Install: true 2020-08-03 22:32:11.550 15726-15780/com.android.testinapp W/FIAM.Headless: Recoverable exception while reading cache: /data/user/0/com.android.testinapp/files/fiam_impressions_store_file: open failed: ENOENT (No such file or directory) 2020-08-03 22:32:11.550 15726-15780/com.android.testinapp I/FIAM.Headless: Fetching campaigns from service. 2020-08-03 22:32:12.232 15726-15780/com.android.testinapp I/FIAM.Headless: Successfully fetched 1 messages from backend 2020-08-03 22:32:12.233 15726-15780/com.android.testinapp W/FIAM.Headless: Recoverable exception while reading cache: /data/user/0/com.android.testinapp/files/fiam_impressions_store_file: open failed: ENOENT (No such file or directory) 2020-08-03 22:32:12.233 15726-15780/com.android.testinapp I/FIAM.Headless: Already impressed copy of copy of Card Campaign ? : false 2020-08-03 22:32:12.233 15726-15780/com.android.testinapp W/FIAM.Headless: Recoverable exception while reading cache: /data/user/0/com.android.testinapp/files/rate_limit_store_file: open failed: ENOENT (No such file or directory) 2020-08-03 22:32:12.233 15726-15780/com.android.testinapp I/FIAM.Headless: App foreground rate limited ? : false

google-oss-bot commented 4 years ago

I found a few problems with this issue: