Closed Bug 1966880 Opened 3 months ago Closed 3 months ago

Simplify ReviewPromptController to drop eligibility logic

Categories

(Firefox for Android :: Experimentation and Telemetry, task)

All
Android
task

Tracking

()

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: mkozinski, Assigned: mkozinski)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group2])

Attachments

(2 files)

Duplicate ReviewPromptController into PlayStoreReviewPromptController, keeping just the code wrapping ReviewManager, but dropping any conditional logic from shouldShowPrompt(). This will allow moving the logic to a store/reducer/middleware and showing the prompt from different places (directly from HomeFragment or from the custom review prompt).

Assignee: nobody → mkozinski
Status: NEW → ASSIGNED
See Also: → 1969413
Pushed by mkozinski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/815f4bf2cc83 https://hg.mozilla.org/integration/autoland/rev/1a248cf91bf5 Part 1: Extract tracking number of app launches from ReviewPromptController r=android-reviewers,twhite https://github.com/mozilla-firefox/firefox/commit/93f397746224 https://hg.mozilla.org/integration/autoland/rev/6cce9e5542b3 Part 2: Extract Play In-App Review API usage into a separate controller r=android-reviewers,twhite
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f69fb6ccdd9f https://hg.mozilla.org/integration/autoland/rev/ef988adc220a Revert "Bug 1966880 - Part 2: Extract Play In-App Review API usage into a separate controller r=android-reviewers,twhite" for causing fenix debug failures

Thanks for looking out for failures, but looks like the linked one is just an intermittent test failure and the test is unrelated to changes in this stack. Just checked and the test runs fine locally.

Can we please land it back?

Flags: needinfo?(mkozinski) → needinfo?(smolnar)

I'm going to rebase, split the stack into two separate patches and try landing them separately.

Flags: needinfo?(smolnar)
Pushed by mkozinski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/cd8148d237e9 https://hg.mozilla.org/integration/autoland/rev/5482c2acc814 Part 1: Extract tracking number of app launches from ReviewPromptController r=android-reviewers,twhite
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Pushed by mkozinski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4f8cecc574ea https://hg.mozilla.org/integration/autoland/rev/bfc6a1e723c3 Part 2: Extract Play In-App Review API usage into a separate controller r=android-reviewers,twhite
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 141 Branch → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: