Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Latest commit

 

History

History

samples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Firebase Continue Samples - "Continote" Application

This directory contains a set of Firebase Continue samples, collectively titled "Continote".

"Continote" allows users to begin writing plaintext notes in either the Android sample app or the iOS sample app, and then continue writing in Chrome from exactly where they are thanks to the sample Chrome extension (or Apple Handoff, for users with both an iOS device running "Continote" and macOS computer) opening a link to the correct location in the sample web app.

All of the samples provided here are designed to be used with the same Firebase project.

It is strongly recommended that you create a new Firebase project specifically for the "Continote" samples. See the Initial Setup guide below for more details.

Table of Contents

  1. Initial Setup
  2. Usage
  3. Compatibility
  4. Dependencies

Initial Setup

After completing the following steps, you will have properly set up a Firebase project to be able to try the Firebase Continue samples, collectively titled "Continote":

  1. First, if you have not already done so, either download a copy of this repository from the Releases page to get a stable version of Firebase Continue (including its samples), or clone the repository locally for an unstable, development version.

  2. Create a Firebase project to use for the Continote samples.

    Note that Firebase offers a free plan which you may be able to take advantage of.

    Reminder: Firebase Continue, and thus these samples, requires use of Firebase Authentication and the Firebase Realtime Database for your project. Furthermore, the Firebase Realtime Database rules for Continote will be applied to your project, and the sample web app will be deployed to Firebase Hosting, using the Firebase CLI.

  3. Enable signing in with Google for your Firebase project:

    1. In the Firebase console for your project, open the Authentication section.

    2. On the Sign in method tab, enable the Google sign-in method, and click Save.

  4. Enable signing in with Facebook for your Firebase project:

    1. On the Facebook for Developers website, create an app for use with the Continote samples.

    2. Make note of the name you gave your new Facebook app, as well as its App ID and App Secret as you will need those values for this and other Continote samples.

    3. In the Firebase console for your project, open the Authentication section.

    4. On the SIGN-IN METHOD tab, enable the Facebook sign-in method and specify the App ID and App Secret from above, and click Save.

    5. Within that same Facebook sign-in method dialog, copy your OAuth redirect URI (ex. my-app-12345.firebaseapp.com/__/auth/handler) and add it to your "Valid OAuth redirect URIs" in your Facebook app's settings on the Facebook for Developers website in the Product Settings > Facebook Login configuration page.

  5. Follow the setup guide for the Continote sample web app, since doing so will also apply the necessary Firebase Realtime Database rules for both Firebase Continue and Continote itself to your Firebase project.

  6. Done!

    You can now follow the other setup guides for each Continote sample you plan on trying (for example, the sample Chrome extension and the sample iOS app).

Usage

Please see each sample subdirectory for relevant usage guides.

Compatibility

Please see each sample subdirectory for relevant compatibility information.

Dependencies

Please see each sample subdirectory for relevant dependency information.