Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning Ionic
  • Toc
  • feedback
Learning Ionic

Learning Ionic

By : Ravulavaru
4.4 (14)
close
Learning Ionic

Learning Ionic

4.4 (14)
By: Ravulavaru

Overview of this book

This book is intended for those who want to learn how to build hybrid mobile applications using Ionic. It is also ideal for people who want to explore theming for Ionic apps. Prior knowledge of AngularJS is essential to complete this book successfully.
Table of Contents (12 chapters)
close
11
Index

The application architecture


Now that we are acquainted with Firebase and AngularFire, we will take a look at how the app will be designed:

As shown in the preceding diagram, we will be using Firebase as our data store. We will be using AngularFire in our Ionic application to interact with Firebase. The Ionic application will also be interacting with Cordova plugins to implement device features via ngCordova.

In the chat application we are building, the role of Firebase is to manage the chat data. There are two endpoints we will be creating in our Firebase collection:

  • Online users: This end point will store all the users who are online

  • Chats: This end point will store the chat between two users

As part of the chat application, we will allow users to:

  • Send text messages

  • Share photos from the gallery

  • Take a picture and share it

  • Share the user's location

We will be saving all this data in Firebase. Are you wondering how we save images in Firebase? Well, this is the smart part; we will be converting...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete