firebase / firebase/firebase-android-sdk

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

Open
#1,847 1 comment 0 reactions 1 assignee Assigned to @prakhar1989 View on GitHub
api: inappmessaging
Dominant language
Java
Stars
2.6k
Forks
710
Avg merge
2d 23h
Merged PRs (30d)
34

Description

### [REQUIRED] Step 2: Environment details

* Android Studio version: 3.6.3
* Firebase Component:

compileSdkVersion 28
buildToolsVersion '28.0.0'

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.