Angularfire2 Ionic3

lqrz

I'm trying to use Angularfire2 on an Ionic3 app.

When installing it npm install angularfire2, I get a deprecation warning:

npm WARN deprecated [email protected]: AngularFire has moved, we're now @angular/fire.

But if trying to install the new @angular/fire npm install @angular/fire I see that every version requires an @angular/core >= 6.0.0 -which is greater than the Ionic3 supported on (i.e. "5.2.11").

So, my question is how can I make use of a non-deprecated angularfire2 lib on Ionic3?

Thanks

chrismclarke

A deprecation message doesn’t always mean the package or version is unusable; it may mean the package is unmaintained and will no longer be updated by the publisher. https://docs.npmjs.com/using-deprecated-packages

This leaves a few options, either upgrade angular so that recommendations are met, downgrade angularfire to a version that did hold support for your version of angular, or try to use as is and hope for the best.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

ionic 3 angularfire2 code to ionic 4 angularfire2 code

Error: Cannot find module "angularfire2/database-deprecated" appmodule ionic 3, Angularfire2

Ionic Firebase app using AngularFire2

How to solve rxjs Typescript error (Ionic 3, angularfire2)

Ionic3 Angularfire listen to firestore changes

Angularfire2 - How to filter multiple FirebaseListObservable in Ionic 2?

Ionic & AngularFire2 best practice for unsubscribing to observables

Ionic and AngularFire2: How to retrieve data from a FireStore document?

Angularfire and FirebaseListObservable has no exported member angularfire2 using ionic 2 app

How to identify method subscribe has executed in Ionic 2 using Angularfire2

Ionic and Firebase angularFire2 5.0.0 InvalidPipeArgument: '[object Object]' for pipe 'AsyncPipe'

Background audio not work with Ionic3 + Videogular2 on iOS

AngularFire2 Observer

hostedDomain with Angularfire2

Ionic3, AngularFire - Property 'remove' does not exist on type 'Observable<any[]>'

Cordova build fails due to facebook plugin after updating Ionic2 CLI to Ionic3

Use FirebaseUI with AngularFire2

How to Query in angularfire2

Infinite scroll with angularfire2

Angular 4 with AngularFire2

AngularFire2 infinite scrolling

Angularfire2 Observable Recursion

Angularfire2 Update a Record

Angularfire 2 and Ionic 2

Ionic3 and FabricJS

ERROR in Error: Metadata version mismatch for module ../node_modules/angularfire2/index.d.ts, found version 4, expected 3,

Metadata version mismatch for module /node_modules/angularfire2/index.d.ts, found version 4, expected 3, resolving symbol AppModule

Angular2 and Firebase (AngularFire2)

Angularjs2 + Electron + Angularfire2