Emerging Market Experiment
Clone or download
Latest commit f781654 Oct 16, 2018
Permalink
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates Sep 28, 2018
app Change wording. closes #2693 Oct 16, 2018
buildSrc Bump version name to 3.4.1 Oct 9, 2018
components tabs: remove api of SessionManager.Observer Oct 11, 2018
docs Update translations.md Jul 18, 2018
firebase Make LaunchIntentDispatcher support push command #closes 1983 Sep 6, 2018
gradle/wrapper Upgrade Android Gradle Plugin to 3.2.0 Oct 1, 2018
quality Apply the LiveData component on loading the bookmark list Jun 29, 2018
shavar-prod-lists Import ABPIndo list[adservers, prank, scam] to TurboMode Jun 6, 2018
third_party [third-party][glide] Fix build blockers that will occur after migrate… Oct 1, 2018
tools Increase APK size limit to 3.3MB Oct 12, 2018
.android2po Add gradle tasks for l10n tasks. (#140) Mar 2, 2017
.gitignore exclude google-services.json in .gitignore Jun 7, 2018
LICENSE Initial commit Dec 9, 2016
LICENSE.thirdparty Update third-party license / folder mapping list Oct 26, 2017
NC_POST_BUILD_SCRIPT.sh Nevercode is fixing its bug, let's test via its console Feb 9, 2018
NC_PRE_BUILD_SCRIPT.sh add pre and post scripts Jan 31, 2018
README.md Update README.md Sep 18, 2018
buddybuild_postbuild.sh skip jacocoTestReport Jul 17, 2017
buddybuild_prebuild.sh Run 'checkstyle' before buddybuild build Nov 21, 2017
build.gradle Closes #1411: Allow users to turn off Firebase in Setting. May 15, 2018
codecov.yml Turn off codecov comments May 29, 2017
gradle.properties Re-enable aapt2 to default enabled Jul 18, 2018
gradlew Let's do this. #mozAloha Dec 9, 2016
gradlew.bat Let's do this. #mozAloha Dec 9, 2016
settings.gradle Create new module cachedrequestloader. Oct 4, 2018

README.md

Rocket

Bitrise build status

Getting Involved

We encourage you to participate in this open source project. We love Pull Requests, Bug Reports, ideas, (security) code reviews or any kind of positive contribution. Please read the Community Participation Guidelines.

Build instructions

  1. Clone the repository:
git clone https://github.com/mozilla-tw/Rocket
  1. Make sure to select the right build variant in Android Studio: focusWebkitDebug

  2. Disable Instant Run in: Settings/Build, Execution, Deployment > Instant Run. (See note #1 for details.)

[1] We currently don't support instant run. An error message similar to:

/Users/tyu/Documents/zerda/Rocket/app/src/main/java/org/mozilla/focus/utils/FirebaseHelper.java:29: error: cannot find symbol
final public class FirebaseHelper extends FirebaseWrapper {
                                          ^
  symbol: class FirebaseWrapper

will shown when building with instant run. We have an issue for this so feel free to help with this limitation.

Build instructions regarding Firebase

We're leveraging Firebase to offer some extra functionalities. However, Firebase is optional so normally you should be able to just develop on focusWebkitDebug.

Here are some Firebase build workarounds that you may need during normal development:

  1. If you want to run UI test without setting up firebase tokens, remove testBuildType "firebase" from build.gradle or you will most likely see error message like this when you run connectedAndroidTest directly:
No tests found. This usually means that your test classes are not in the form that your test runner expects (e.g. don't inherit from TestCase or lack @Test annotations).

If you'd like to test the fully functional Firebase build, you should first setup the environment variables following these instructions and select focusWebkitFirebase

Docs

License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/