[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIAM: Fix FirebaseInAppMessagingDisplayErrorListener not being called #5719

Merged
merged 7 commits into from
Feb 21, 2024

Conversation

jadenlin-g
Copy link
Contributor
@jadenlin-g jadenlin-g commented Feb 16, 2024

Changed GlideErrorListener to a normal class and pass a new instance of the listener into each load image request instead of being injected as a defaultRequestListener.

Refactored InAppMessage and FirebaseInAppMessagingDisplayCallbacks assignment code for clarity.

Internal tracking: b/321732964

Issue: #5644

Copy link
Contributor
github-actions bot commented Feb 16, 2024

📝 PRs merging into main branch

Our main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released.

Copy link
Contributor
github-actions bot commented Feb 16, 2024

Unit Test Results

  64 files   -    186    64 suites   - 186   1m 59s ⏱️ - 2m 51s
319 tests  - 1 325  318 ✔️  - 1 308  1 💤  - 17  0 ±0 
642 runs   - 2 696  640 ✔️  - 2 662  2 💤  - 34  0 ±0 

Results for commit 9d54fca. ± Comparison against base commit 833a1cc.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor
google-oss-bot commented Feb 16, 2024

Coverage Report 1

Affected Products

  • firebase-inappmessaging-display

    Overall coverage changed from 41.69% (833a1cc) to 41.98% (9385b50) by +0.28%.

    FilenameBase (833a1cc)Merge (9385b50)Diff
    DaggerAppComponent.java91.11%93.02%+1.91%
    FiamImageLoader.java77.94%78.57%+0.63%
    FirebaseInAppMessagingDisplay.java88.41%88.89%+0.48%
    GlideErrorListener.java8.33%33.33%+25.00%

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/c7rpYh2Am8.html

@jadenlin-g jadenlin-g changed the title Fix FIAM FirebaseInAppMessagingDisplayErrorListener not being called FIAM: Fix FirebaseInAppMessagingDisplayErrorListener not being called Feb 16, 2024
@google-oss-bot
Copy link
Contributor
google-oss-bot commented Feb 16, 2024

Size Report 1

Affected Products

  • firebase-inappmessaging-display

    TypeBase (833a1cc)Merge (9385b50)Diff
    aar185 kB184 kB-1.36 kB (-0.7%)
    apk (aggressive)2.57 MB2.57 MB+1.06 kB (+0.0%)
    apk (release)14.1 MB14.1 MB-904 B (-0.0%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/kIQSXKPF0Y.html

@google-oss-bot
Copy link
Contributor
google-oss-bot commented Feb 16, 2024

Startup Time Report 1

Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS.

Notes

Startup Times

  • fire-fiam

    DeviceStatisticsDistributions
    oriole-32
    Percentile833a1cc9385b50DiffSignificant (?)
    p105.63 ±3 ms5.78 ±2 ms+149 μs (+2.6%)NO
    p256.02 ±3 ms6.13 ±2 ms+109 μs (+1.8%)NO
    p506.69 ±3 ms6.83 ±3 ms+146 μs (+2.2%)NO
    p757.58 ±3 ms7.79 ±3 ms+214 μs (+2.8%)NO
    p908.61 ±3 ms9.22 ±3 ms+615 μs (+7.1%)NO

    20 test runs in comparison
    CommitTest Runs
    833a1cc
    • 2024-02-20_15:05:08.253567_chOl
    • 2024-02-20_15:05:08.253599_hEij
    • 2024-02-20_15:05:08.253611_ijEd
    • 2024-02-20_15:05:08.253620_ryqZ
    • 2024-02-20_15:05:08.253627_dWqY
    • 2024-02-20_15:05:08.253634_uqGi
    • 2024-02-20_15:05:08.253641_ifnk
    • 2024-02-20_15:05:08.253648_OFKh
    • 2024-02-20_15:05:08.253655_TvBt
    • 2024-02-20_15:05:08.253662_tiiM
    9385b50
    • 2024-02-20_18:07:38.866121_OyxD
    • 2024-02-20_18:07:38.866152_aAkD
    • 2024-02-20_18:07:38.866161_Wiao
    • 2024-02-20_18:07:38.866171_OzQQ
    • 2024-02-20_18:07:38.866180_wOAV
    • 2024-02-20_18:07:38.866188_FGYS
    • 2024-02-20_18:07:38.866196_dSEz
    • 2024-02-20_18:07:38.866202_abEv
    • 2024-02-20_18:07:38.866209_Cdka
    • 2024-02-20_18:07:38.866216_pIlC
    redfin-30
    Percentile833a1cc9385b50DiffSignificant (?)
    p1014.3 ±6 ms10.9 ±5 ms-3.39 ms (-23.7%)NO
    p2515.5 ±6 ms11.8 ±6 ms-3.70 ms (-23.8%)NO
    p5017.7 ±6 ms13.3 ±6 ms-4.38 ms (-24.8%)NO
    p7520.8 ±7 ms15.7 ±7 ms-5.03 ms (-24.2%)NO
    p9024.5 ±7 ms18.8 ±8 ms-5.64 ms (-23.0%)NO

    20 test runs in comparison
    CommitTest Runs
    833a1cc
    • 2024-02-20_15:05:08.253567_chOl
    • 2024-02-20_15:05:08.253599_hEij
    • 2024-02-20_15:05:08.253611_ijEd
    • 2024-02-20_15:05:08.253620_ryqZ
    • 2024-02-20_15:05:08.253627_dWqY
    • 2024-02-20_15:05:08.253634_uqGi
    • 2024-02-20_15:05:08.253641_ifnk
    • 2024-02-20_15:05:08.253648_OFKh
    • 2024-02-20_15:05:08.253655_TvBt
    • 2024-02-20_15:05:08.253662_tiiM
    9385b50
    • 2024-02-20_18:07:38.866121_OyxD
    • 2024-02-20_18:07:38.866152_aAkD
    • 2024-02-20_18:07:38.866161_Wiao
    • 2024-02-20_18:07:38.866171_OzQQ
    • 2024-02-20_18:07:38.866180_wOAV
    • 2024-02-20_18:07:38.866188_FGYS
    • 2024-02-20_18:07:38.866196_dSEz
    • 2024-02-20_18:07:38.866202_abEv
    • 2024-02-20_18:07:38.866209_Cdka
    • 2024-02-20_18:07:38.866216_pIlC
  • fire-fiamd

    DeviceStatisticsDistributions
    oriole-32
    Percentile833a1cc9385b50DiffSignificant (?)
    p109.41 ±4 ms8.31 ±4 ms-1.10 ms (-11.7%)NO
    p2510.1 ±4 ms8.90 ±4 ms-1.18 ms (-11.7%)NO
    p5011.0 ±5 ms9.76 ±5 ms-1.19 ms (-10.9%)NO
    p7512.2 ±5 ms10.9 ±5 ms-1.23 ms (-10.1%)NO
    p9013.6 ±5 ms12.4 ±5 ms-1.17 ms (-8.6%)NO

    20 test runs in comparison
    CommitTest Runs
    833a1cc
    • 2024-02-20_15:05:08.253567_chOl
    • 2024-02-20_15:05:08.253599_hEij
    • 2024-02-20_15:05:08.253611_ijEd
    • 2024-02-20_15:05:08.253620_ryqZ
    • 2024-02-20_15:05:08.253627_dWqY
    • 2024-02-20_15:05:08.253634_uqGi
    • 2024-02-20_15:05:08.253641_ifnk
    • 2024-02-20_15:05:08.253648_OFKh
    • 2024-02-20_15:05:08.253655_TvBt
    • 2024-02-20_15:05:08.253662_tiiM
    9385b50
    • 2024-02-20_18:07:38.866121_OyxD
    • 2024-02-20_18:07:38.866152_aAkD
    • 2024-02-20_18:07:38.866161_Wiao
    • 2024-02-20_18:07:38.866171_OzQQ
    • 2024-02-20_18:07:38.866180_wOAV
    • 2024-02-20_18:07:38.866188_FGYS
    • 2024-02-20_18:07:38.866196_dSEz
    • 2024-02-20_18:07:38.866202_abEv
    • 2024-02-20_18:07:38.866209_Cdka
    • 2024-02-20_18:07:38.866216_pIlC
    redfin-30
    Percentile833a1cc9385b50DiffSignificant (?)
    p1012.0 ±7 ms14.6 ±6 ms+2.50 ms (+20.8%)NO
    p2512.7 ±7 ms15.4 ±6 ms+2.76 ms (+21.7%)NO
    p5013.7 ±8 ms16.6 ±7 ms+2.88 ms (+21.0%)NO
    p7515.1 ±9.7 ms18.7 ±8 ms+3.64 ms (+24.1%)NO
    p9017.0 ±12 ms21.8 ±9 ms+4.72 ms (+27.7%)NO

    20 test runs in comparison
    CommitTest Runs
    833a1cc
    • 2024-02-20_15:05:08.253567_chOl
    • 2024-02-20_15:05:08.253599_hEij
    • 2024-02-20_15:05:08.253611_ijEd
    • 2024-02-20_15:05:08.253620_ryqZ
    • 2024-02-20_15:05:08.253627_dWqY
    • 2024-02-20_15:05:08.253634_uqGi
    • 2024-02-20_15:05:08.253641_ifnk
    • 2024-02-20_15:05:08.253648_OFKh
    • 2024-02-20_15:05:08.253655_TvBt
    • 2024-02-20_15:05:08.253662_tiiM
    9385b50
    • 2024-02-20_18:07:38.866121_OyxD
    • 2024-02-20_18:07:38.866152_aAkD
    • 2024-02-20_18:07:38.866161_Wiao
    • 2024-02-20_18:07:38.866171_OzQQ
    • 2024-02-20_18:07:38.866180_wOAV
    • 2024-02-20_18:07:38.866188_FGYS
    • 2024-02-20_18:07:38.866196_dSEz
    • 2024-02-20_18:07:38.866202_abEv
    • 2024-02-20_18:07:38.866209_Cdka
    • 2024-02-20_18:07:38.866216_pIlC
  • timeToInitialDisplay

    DeviceStatisticsDistributions
    oriole-32
    Percentile833a1cc9385b50DiffSignificant (?)
    p10205 ±7 ms208 ±3 ms+3.31 ms (+1.6%)NO
    p25212 ±7 ms215 ±4 ms+3.45 ms (+1.6%)NO
    p50219 ±7 ms223 ±3 ms+4.21 ms (+1.9%)NO
    p75227 ±7 ms233 ±5 ms+6.42 ms (+2.8%)NO
    p90236 ±9 ms246 ±6 ms+9.75 ms (+4.1%)NO

    20 test runs in comparison
    CommitTest Runs
    833a1cc
    • 2024-02-20_15:05:08.253567_chOl
    • 2024-02-20_15:05:08.253599_hEij
    • 2024-02-20_15:05:08.253611_ijEd
    • 2024-02-20_15:05:08.253620_ryqZ
    • 2024-02-20_15:05:08.253627_dWqY
    • 2024-02-20_15:05:08.253634_uqGi
    • 2024-02-20_15:05:08.253641_ifnk
    • 2024-02-20_15:05:08.253648_OFKh
    • 2024-02-20_15:05:08.253655_TvBt
    • 2024-02-20_15:05:08.253662_tiiM
    9385b50
    • 2024-02-20_18:07:38.866121_OyxD
    • 2024-02-20_18:07:38.866152_aAkD
    • 2024-02-20_18:07:38.866161_Wiao
    • 2024-02-20_18:07:38.866171_OzQQ
    • 2024-02-20_18:07:38.866180_wOAV
    • 2024-02-20_18:07:38.866188_FGYS
    • 2024-02-20_18:07:38.866196_dSEz
    • 2024-02-20_18:07:38.866202_abEv
    • 2024-02-20_18:07:38.866209_Cdka
    • 2024-02-20_18:07:38.866216_pIlC
    redfin-30
    Percentile833a1cc9385b50DiffSignificant (?)
    p10250 ±3 ms272 ±5 ms+22.2 ms (+8.9%)MAYBE
    p25256 ±3 ms278 ±5 ms+22.7 ms (+8.9%)YES
    p50263 ±3 ms286 ±5 ms+22.6 ms (+8.6%)MAYBE
    p75273 ±4 ms296 ±7 ms+23.4 ms (+8.6%)MAYBE
    p90285 ±6 ms312 ±9.6 ms+27.7 ms (+9.7%)MAYBE

    20 test runs in comparison
    CommitTest Runs
    833a1cc
    • 2024-02-20_15:05:08.253567_chOl
    • 2024-02-20_15:05:08.253599_hEij
    • 2024-02-20_15:05:08.253611_ijEd
    • 2024-02-20_15:05:08.253620_ryqZ
    • 2024-02-20_15:05:08.253627_dWqY
    • 2024-02-20_15:05:08.253634_uqGi
    • 2024-02-20_15:05:08.253641_ifnk
    • 2024-02-20_15:05:08.253648_OFKh
    • 2024-02-20_15:05:08.253655_TvBt
    • 2024-02-20_15:05:08.253662_tiiM
    9385b50
    • 2024-02-20_18:07:38.866121_OyxD
    • 2024-02-20_18:07:38.866152_aAkD
    • 2024-02-20_18:07:38.866161_Wiao
    • 2024-02-20_18:07:38.866171_OzQQ
    • 2024-02-20_18:07:38.866180_wOAV
    • 2024-02-20_18:07:38.866188_FGYS
    • 2024-02-20_18:07:38.866196_dSEz
    • 2024-02-20_18:07:38.866202_abEv
    • 2024-02-20_18:07:38.866209_Cdka
    • 2024-02-20_18:07:38.866216_pIlC

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/v01kj8jTxR/index.html

Copy link
Contributor
@eldhosembabu eldhosembabu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eldhosembabu
Copy link
Contributor

_ No description provided. _

Please provide a description for the PR

@jadenlin-g jadenlin-g merged commit f419204 into master Feb 21, 2024
27 of 29 checks passed
@jadenlin-g jadenlin-g deleted the issue5644 branch February 21, 2024 23:35
Copy link
@Cleeb90 Cleeb90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working to resolve issues
Cb developer

mrober pushed a commit that referenced this pull request Feb 28, 2024
…#5719)

Changed `GlideErrorListener` to a normal class and pass a new instance
of the listener into each load image request instead of being injected
as a defaultRequestListener.

Refactored `InAppMessage` and `FirebaseInAppMessagingDisplayCallbacks`
assignment code for clarity.

Internal tracking: b/321732964

Issue: #5644
@firebase firebase locked and limited conversation to collaborators Mar 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants