This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Ionic App</title> | |
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<meta name="format-detection" content="telephone=no"> | |
<meta name="msapplication-tap-highlight" content="no"> | |
<link rel="icon" type="image/x-icon" href="assets/icon/favicon.ico"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { NavController, ToastController } from 'ionic-angular'; | |
import { PostFbProvider } from '../../providers/post-fb/post-fb'; | |
import firebase from 'firebase'; | |
import { AddPostPage } from '../add-post/add-post'; | |
@Component({ | |
selector: 'page-home', | |
templateUrl: 'home.html' | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-navbar> | |
<ion-title>Home</ion-title> | |
</ion-navbar> | |
</ion-header> | |
<ion-content padding> | |
<button ion-button full (click)="newPost()"> | |
<ion-icon name="create"></ion-icon> | |
New Post |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { Platform } from 'ionic-angular'; | |
import { StatusBar } from '@ionic-native/status-bar'; | |
import { SplashScreen } from '@ionic-native/splash-screen'; | |
import { TabsPage } from '../pages/tabs/tabs'; | |
import {NotloggedPage} from '../pages/notlogged/notlogged'; | |
import firebase from 'firebase'; | |
@Component({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using cordova-fetch for cordova-android@~6.3.0 | |
Adding android project... | |
Creating Cordova project for the Android platform: | |
Path: platforms\android | |
Package: io.ionic.starter | |
Name: app_minsa | |
Activity: MainActivity | |
Android target: android-26 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "app-minsa", | |
"version": "0.0.1", | |
"author": "Ionic Framework", | |
"homepage": "http://ionicframework.com/", | |
"private": true, | |
"scripts": { | |
"clean": "ionic-app-scripts clean", | |
"build": "ionic-app-scripts build", | |
"lint": "ionic-app-scripts lint", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { NavController, ToastController } from 'ionic-angular'; | |
import { PostFbProvider } from '../../providers/post-fb/post-fb'; | |
import firebase from 'firebase'; | |
import { AddPostPage } from '../add-post/add-post'; | |
@Component({ | |
selector: 'page-home', | |
templateUrl: 'home.html' | |
}) |