Giter Club home page Giter Club logo

ionic-terminal's Introduction

انشاء مشروع جديد
ionic start
اضافة صفحة للاتصال بالسيرفر
ionic g provider authService
اضافة صفحة جديدة
ionic generate page login
تثبيت الاضافة الخاصة بالفايربيس
npm install firebase angularfire2 --save
انشاء مفتاح جديد لتطبيق الاندرويد
keytool -genkey -v -keystore key.keystore -alias key -keyalg RSA -keysize 2048 -validity 10000
تثبيت اضافة الاشعارات
ionic cordova plugin add phonegap-plugin-push --variable SENDER_ID=123456789
حذف اضافة من المشروع
ionic cordova plugin rm phonegap-plugin-push
الانتقال لصفحة اخرى
login(){
    this.navCtrl.push(LoginPage);
  }
الكود الخاص بالفايربيس

file app.module.ts

  const firebaseAuth = {
  apiKey: "",
  authDomain: "",
  databaseURL: "",
  projectId: "",
  storageBucket: "",
  messagingSenderId: ""
};
اضافة زر في الهيدر

ion-buttons end OR ion-buttons start

<ion-buttons end>
    <button on-click="goToPage10()" ion-button icon-only><ion-icon name="md-wifi"></ion-icon></button>
</ion-buttons>
<ion-title>
    title
</ion-title>
اضافة خلفية للصفحة
<ion-content padding style="background:url(assets/img/bg.jpg) no-repeat center;background-size:cover;" id="page2" dir="rtl">
زر الخروج
import { App } from 'ionic-angular';

private app: App

logout(){
    const root = this.app.getRootNav();
    root.popToRoot();
  }
  npm audit fix

Page home.ts

import { Observable } from 'rxjs/Observable';
----------------
export class xxxxxxxxxx {

  faisalListRef: Observable<any[]>;
-------------------
  
  this.faisalListRef = this.database.list('faisalDB');
  
-----------------------------------
export interface FaisalItem {
    title: string;
}

file app.module.ts

import { AngularFireModule } from 'angularfire2';
import { AngularFireDatabaseModule } from 'angularfire2/database';
import { FIREBASE_CREDENTIALS } from './firebase.credentials';

file app.module.ts imports:

AngularFireModule.initializeApp(FIREBASE_CREDENTIALS),
AngularFireDatabaseModule

create file firebase.credentials.ts at foldersrc/app

export const FIREBASE_CREDENTIALS = {
    apiKey: "",
    authDomain: "",
    databaseURL: "",
    projectId: "",
    storageBucket: "",
    messagingSenderId: ""
  };
tabsHideOnSubPages="true"
<ion-content padding style="background:url(assets/img/1LLoNbYkQ4qBJhcsNVh6_bg.jpg) no-repeat center;background-size:cover;">
ion-title {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 90px 1px;
  width: 100%;
  height: 100%;
  text-align: center;
}

white-space: pre-line;

<ion-tab [root]="tab6Root" tabTitle="المفضلة" tabIcon="heart" tabBadge="9"></ion-tab>

ionic-terminal's People

Contributors

faisalx78 avatar

Watchers

 avatar

Forkers

kawkabtec

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.