Coder Social home page Coder Social logo

abdhilahirwabwire / reference_browser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mozilla-mobile/reference-browser

0.0 0.0 0.0 4.33 MB

A full-featured browser reference implementation using Mozilla Android Components.

License: Mozilla Public License 2.0

Shell 1.95% Python 7.40% Kotlin 87.54% CSS 0.47% HTML 1.39% Dockerfile 1.25%

reference_browser's Introduction

Reference Browser

Task Status chat.mozilla.org

A web browser reference implementation using Mozilla Android Components.

The Reference Browser is not a product intended to ship to end users. Instead it is a Technology Preview for many new mobile components that multiple teams at Mozilla are currently working on

It includes the Mozilla Web Platform via GeckoView, a new modern Firefox Accounts and Cloud Sync implementation and the new "Glean" telemetry library. All these components will be foundational for Mozilla's existing and upcoming Android products.

The Reference Browser can also be a starting point for your own new browser-like applications. It depends heavily on the Android Components project where most of the actual implementation lives. That project also includes many smaller sample applications.

Will Reference Browser move to mozilla-central?

Reference Browser is meant to be a reference implementation of the Android Components project. Having it live outside of the mozilla source-tree lets us:

  1. See how core browsing APIs work for browser-based projects outside of Firefox.
  2. Have a developer playground to try experimental APIs in a safe way that involves a full build, signing, and publishing process.
  3. Validates that our maven repositories and Google Play publishing infrastructure is still functioning - if we no longer receive maven artifacts or Google Play builds are not working, we would know that there is something systematically wrong with these processes.

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.

Before you attempt to make a contribution please read the Community Participation Guidelines.

Test Channel on Google Play Store

To get the Reference Browser on your device, follow these two steps:

  1. Visit https://groups.google.com/forum/#!forum/mozilla-reference-browser and join the Google Group
  2. Visit https://play.google.com/apps/testing/org.mozilla.reference.browser on your device to join the test program and to install the app

Make sure you use the same Google Account for both steps.

Download Nightly Builds Directly

Signed Nightly builds can be downloaded from:

Please note that these builds do not auto-update, you will have to keep up to date manually.

The latest Nightly build task can be found here.

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.

Before you attempt to make a contribution please read the Community Participation Guidelines.

Local Development

You might be interested in building this project against local versions of some of the dependencies. Depending on which dependencies you're building against, there are couple of paths.

Auto-publication workflow

This is the most streamlined workflow which fully automates dependency publication. It currently supports android-components and application-services dependencies.

In a local.properties file in root of the reference-browser checkout, specify relative paths to a repository you need (or both):

# Local workflow
autoPublish.android-components.dir=../android-components
autoPublish.application-services.dir=../application-services

That's it! Next build of reference-browser will be against your local versions of these repositories. Simply make changes in android-components or application-services, press Play in reference-browser and those changes will be picked-up.

See a demo of this workflow in action. Video mentions Fenix, but it works in exactly the same with with reference-browser.

Dependency substitutions for GeckoView

GeckoView currently can be configured via a dependency substitution.

In a local.properties file in root of the reference-browser checkout, specify GeckoView's path via dependencySubstitutions.geckoviewTopsrcdir=/path/to/mozilla-central (and, optionally, dependencySubstitutions.geckoviewTopobjdir=/path/to/topobjdir). See Bug 1533465.

This assumes that you have built, packaged, and published your local GeckoView -- but don't worry, the dependency substitution script has the latest instructions for doing that.

Do not forget to run a Gradle sync in Android Studio after changing local.properties. If you specified any substitutions (e.g. GeckoView), they will be reflected in the modules list, and you'll be able to modify them from a single Android Studio window. For auto-publication workflow, use seperate Android Studio windows.

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/

reference_browser's People

Contributors

mickeymoz avatar pocmo avatar rvandermeulen avatar jonalmeida avatar johanlorenzo avatar andiaj avatar amejia481 avatar csadilek avatar mcarare avatar tomprince avatar aaronmt avatar gbrownmozilla avatar rocketsroger avatar abdhilahirwabwire avatar ahal avatar mitchhentges avatar notwoods avatar dependabot[bot] avatar travis79 avatar psymoon avatar gabrielluong avatar rpappalax avatar escapewindow avatar jcristau avatar mugurell avatar 5hahryar avatar spacifici avatar willdurand avatar gmierz avatar vladikoff avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.