# Ionic2 + Firebase + angularfire2

**URL:** <https://forum.ionicframework.com/t/ionic2-firebase-angularfire2/72556>\
**Category:** ionic-v3\
**Created:** [December 7, 2016, 6:05pm UTC](https://forum.ionicframework.com/t/ionic2-firebase-angularfire2/72556 "2016-12-07T18:05:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![urandom](https://avatars.discourse-cdn.com/v4/letter/u/74df32/32.png) [@urandom](https://forum.ionicframework.com/u/urandom)\
**Post date:** [December 7, 2016, 6:05pm UTC](https://forum.ionicframework.com/t/ionic2-firebase-angularfire2/72556/1 "2016-12-07T18:05:27Z")

</div>

Dear Friends,

I just start developing hybrid apps using ionic2 and angular2.  
I decide to use firebase with angularfire2, following this tutorial:

[https://github.com/angular/angularfire2/blob/master/docs/1-install-and-setup.md](https://github.com/angular/angularfire2/blob/master/docs/1-install-and-setup.md)

Everything works fine when I type ionic serve in terminal.  
But when I run with ionic run -l and try to open in browser it’s redirect me to firebase console. Meanwhile on iOS simulator run perfect.

Can somebody help me to resolve this issue?  
Also, recommend me some hosting to deploy apps with ionic 2 and firebase.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![ChrisGriiffith](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/chrisgriiffith/32/66576_2.png) [@ChrisGriiffith](https://forum.ionicframework.com/u/ChrisGriiffith)\
**Post date:** [December 7, 2016, 6:35pm UTC](https://forum.ionicframework.com/t/ionic2-firebase-angularfire2/72556/2 "2016-12-07T18:35:06Z")

</div>

Have you looked at these resources for Ionic/AngularFire/FireBase?

> **[Level Up your Ionic and Firebase Development | JAVEBRATT](https://javebratt.com/products/)**
>
> Last updated on October 21st, 2017 | Here’s the deal, I’ll be creating starter templates to help save you a couple of hours of development work, all the templates will be ready to use, for you to replace your credentials, run npm install and be ready...

---

<div class="post-metadata">

**Author:** ![urandom](https://avatars.discourse-cdn.com/v4/letter/u/74df32/32.png) [@urandom](https://forum.ionicframework.com/u/urandom)\
**Post date:** [December 8, 2016, 7:03am UTC](https://forum.ionicframework.com/t/ionic2-firebase-angularfire2/72556/3 "2016-12-08T07:03:14Z")

</div>

Thank you for your response. This is proper for apps that is growing. My “project” is just for hobby and I am curious why is this happen.
