gecko-dev/mobile/android/app
Petru Lingurar b9eed730ee Bug 1386192 - Test Leanplum Custom Message for Onboarding; r=cnevinchen+582291
Created LeanPlumVariables to allow LeanPlum overwriting the values used for
populating the OnBoarding screens. By simply adding the @Variable annotation
to it's fields, on the first run of the app, they will appear in "LeanPlum
dashboard - Variables" and will allow overwriting for future runs.

The OnBoarding process will now try to use LeanPlum values if possible.
Because connecting to LeanPlum and downloading the Variables might take
a few seconds we use a delay of up to 3 seconds until starting to show
the Onboarding screens.
The default values will still be used if:
- if the LP experiment is not available
- if no internet connection
- if more than 3 seconds have passed and LP didn't finish it's download

Added two new events that could be tracked to Leanplum
MmaDelegate.ONBOARDING_DEFAULT_VALUES and MmaDelegate.ONBOARDING_REMOTE_VALUES
to inform if showing the Onboarding with server values was possible or not.

Because of the 3 seconds delay until showing the Onboarding panels leaking the
could be possible. Used WeakReferences for both the Activity in
OnboardingHelper and the OnboardingHelper in MmaLeanplumImp to avoid it.

MozReview-Commit-ID: H30e9Ng7jrM

--HG--
extra : rebase_source : e403b8010005aa82f8b6440586c533ce99952f9f
2018-07-04 12:56:20 +03:00
..
omnijar
src Bug 1450449 - Part 1: Add FileProvider. r=jchen 2018-05-12 22:19:08 +02:00
build.gradle Bug 1386192 - Test Leanplum Custom Message for Onboarding; r=cnevinchen+582291 2018-07-04 12:56:20 +03:00
checkstyle.xml Bug 1471646 - Add OneTopLevelClass to android checkstyle. r=nalexander 2018-06-28 13:24:31 +01:00
findbugs-exclude.xml
geckoview-prefs.js Bug 1467921 - Disable Web Push in GeckoView r=jchen 2018-07-02 11:47:24 -05:00
lint.xml Bug 1471408 - Move all top level Java classes into their own file. r=snorp 2018-06-27 00:02:01 +01:00
mobile.ico
mobile.js Bug 1468801 - deprecate SkiaGL for Canvas2D. r=snorp 2018-06-14 11:08:14 -07:00
moz.build Bug 1436887 - [1.1] Add GeckoView prefs file. r=snorp,jchen 2018-02-14 19:52:20 +01:00
ua-update.json.in Bug 1457514 - Removes UA override for m.canadiantire.ca; r=miketaylr 2018-06-13 14:54:01 -07:00