Skip to content

Zilleabbas10/Tasker

Repository files navigation

This is a starter template for Ionic projects.

How to use this template

This template does not work on its own. The shared files for each starter are found in the ionic2-app-base repo.

To use this template, either create a new ionic project using the ionic node.js utility, or copy the files from this repository into the Starter App Base.

With the Ionic CLI:

Take the name after ionic2-starter-, and that is the name of the template to be used when using the ionic start command below:

$ sudo npm install -g ionic cordova
$ ionic start mySideMenu sidemenu

Then, to run it, cd into mySideMenu and run:

$ ionic cordova platform add ios
$ ionic cordova run ios

Substitute ios for android if not on a Mac.

Firebase Configuration:

  1. Create new project
  2. add angular fire2 library by -> npm install firebase angularfire2 --save
  3. then write the following code in module.ts file

// Import the AF2 Module import { AngularFireModule } from 'angularfire2'; import { AngularFireAuthModule } from 'angularfire2/auth'; import { AngularFireDatabaseModule } from 'angularfire2/database';

// AF2 Settings export const firebaseConfig = { apiKey: "", authDomain: "", databaseURL: "", storageBucket: "", messagingSenderId: "" }; //get this by creating new project in firebase and copy its web app settings

add this is imports array in module.ts

AngularFireModule.initializeApp(firebaseConfig),
AngularFireAuthModule,
AngularFireDatabaseModule

<—————— all for firebase setup——————->

Authentication with firebase :

  1. open project you created on fcm and go to its authentication tab.
  2. In authentication tab, enable lignin-method

About

Firebase Tasker app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published