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

Android upgrade notification #5937

Merged
merged 3 commits into from
Jun 25, 2020
Merged

Android upgrade notification #5937

merged 3 commits into from
Jun 25, 2020

Conversation

samartnik
Copy link
Contributor

@samartnik samartnik commented Jun 24, 2020

Resolves brave/brave-browser#10452

Submitter Checklist:

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@samartnik samartnik added CI/skip-linux CI/skip-macos-x64 Do not run CI builds for macOS x64 CI/skip-ios Do not run CI builds for iOS labels Jun 24, 2020
@samartnik samartnik added this to the 1.12.x - Nightly milestone Jun 24, 2020
@samartnik samartnik self-assigned this Jun 24, 2020
Copy link
Member

@SergeyZhukovsky SergeyZhukovsky left a comment

Choose a reason for hiding this comment

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

++

private static final String NOTIFICATION_TAG = "16c570a4-da7d-4c4e-8518-d2b7d6e41615";
private static final String NOTIFICATION_CHANNEL_ID = "a79c3102-4183-4001-a553-ec3041bd0f49";
private static final String URL = "https://support.brave.com/hc/en-us/articles/360045401211/";
private static final List<String> mWhitelistedRegionalLocales = Arrays.asList("en", "ru", "uk", "de", "pt", "pl", "ja", "es");
Copy link
Contributor

Choose a reason for hiding this comment

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

@samartnik do we still need these regions ? i think it was added to ask users to upgrade for rewards.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, these locales to filter this specific notification. Not related to rewards.

@@ -336,4 +336,6 @@ para apoyarlos.</translation>
<translation id="76550953340008122">Gracias por informar a los desarrolladores de Brave sobre posibles errores en este sitio. ¡Haremos todo lo posible para arreglarlo!</translation>
<translation id="650318023204990401">Controles avanzados</translation>
<translation id="7182293319417450928">Se requiere un saldo mínimo de 25 BAT para hacer la verificación.</translation>
<translation id="5370478469168390143">Guardar datos en línea</translation>
Copy link
Member

Choose a reason for hiding this comment

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

Esta muy bien 😩👌

@samartnik samartnik force-pushed the android_upgrade_notification branch from 07b2d1d to 873a097 Compare June 24, 2020 22:13
@samartnik samartnik merged commit 7023925 into master Jun 25, 2020
@samartnik samartnik deleted the android_upgrade_notification branch June 25, 2020 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/skip-ios Do not run CI builds for iOS CI/skip-macos-x64 Do not run CI builds for macOS x64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Show notification on upgrade for the Save Data stat
4 participants