Coder Social home page Coder Social logo

agneev / firebase-batch-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from batchlabs/firebase-batch-demo

0.0 2.0 0.0 29.71 MB

Best alternative for Parse? Firebase for back-end + Batch for push notifications. Here is a fully-working demo.

Home Page: https://batch.com/parse-replacement-with-firebase

Java 7.75% Swift 8.57% Objective-C 77.01% Ruby 0.07% C++ 1.04% C 1.32% Shell 4.24%

firebase-batch-demo's Introduction

Firebase + Batch

This is Firebase+Batch demo app for iOS and Android.

It shows how to authentify an user, and make Firebase and Batch use a shared identifier so that you can store your data in Firebase and use Batch to push them, very much like Parse used to do.

Requirements:

  • A Firebase account & app
  • Batch account with one app per platform
  • If you want to use Google+ Authentication, you will need to enable Google+ in your Google Developers Console project (https://console.developers.google.com).
    • Then put it in your Firebase App configuration

Android requirements:

  • A GCM Sender ID and auth key
  • Android Studio 1.5
  • For Google+ Auth:
    • A generated google-services.json that you'll put in Android/Firebase/app/

iOS Requirements:

  • Push certificates from your Apple Provisioning Profile portal
  • Xcode 6
  • Cocoapods
    • Pods are preinstalled
  • For Google+ Auth:
    • A generated GoogleService-Info.plist that you'll put in iOS/Firebase/

How to use

Android

  • Open the project in Android Studio
  • Put your API Key, GCM Sender ID and Firebase URL in Config.java
  • (optional) Put the google-services.json file in Android/Firebase/app/ for Google+ Login
  • Run it on a real device or a Google API simulator :)

iOS

  • Open the xcworkspace in Xcode
  • Put your API Key and Firebase URL in Consts.swift
  • Provision it correctly: Change the app ID to your own, and make sure it has push notification configured
  • (optional) Put the GoogleService-Info.plist file in iOS/Firebase/ for Google+ Login
  • Run it on a real device, since push isn't supported in the simulator

More info on how to setup Batch's dashboard here: https://dashboard.batch.com/doc

firebase-batch-demo's People

Contributors

abarisain avatar

Watchers

 avatar  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.