firestore-plugin icon indicating copy to clipboard operation
firestore-plugin copied to clipboard

Firebase update version

Open SanchoPanzaaa opened this issue 2 years ago • 11 comments

Hi there, I really like the repository, but as I'm using the latest angular and though I need latest firebase app and I would really appreciate update to the version firebase 10, otherwise unexpected outcomes happens.

Is it comming any time soon ?

Need some help ?

Feel free to write me,

thank you Richard

SanchoPanzaaa avatar Oct 01 '23 22:10 SanchoPanzaaa

hi @SanchoPanzaaa do you get an error when using firebase 10?

joaqcid avatar Oct 05 '23 23:10 joaqcid

Actually angularfire released version 16. When performing a npm install i get dependancy errors

Could not resolve dependency: npm ERR! peer @angular/fire@">=7.0.0 <8.0.0" from @ngxs-labs/[email protected]

JGSolutions avatar Oct 28 '23 16:10 JGSolutions

Any progress on this?

JGSolutions avatar Dec 17 '23 21:12 JGSolutions

Unfortunately we will be removing this plugin from our project. Very difficult for us to upgrade to ang v17 as this plugin is causing dependancy issues.

JGSolutions avatar Dec 26 '23 20:12 JGSolutions

@JGSolutions ill be working in the next two weeks to make it compatible with latest version of angular 17, would be able to tell me what errors you get when upgrading? are you just upgrading angular 17 or angular/fire too?

joaqcid avatar Dec 26 '23 20:12 joaqcid

Yes we updated to angV17 back in Oct. Also updated to the latest ang/fire v17 which then this plugin caused dependency issues.

Just create a ang17 project with latest angular/fire and which you will reprroduce the issue

JGSolutions avatar Dec 28 '23 14:12 JGSolutions

hi @JGSolutions

i created a project with the following deps and it works for me, can you send me the lib versions you are using when it doesnt work?

@angular/*: "17" @ngxs/store: "3.8.2" "@ngxs-labs/firestore-plugin": "^1.2.8" "@angular/fire": "^17.0.0" firebase": "^10.7.1

joaqcid avatar Jan 02 '24 19:01 joaqcid

hi @joaqcid

Remove the firebase": "^10.7.1 I didn't have that but again I can't reproduce it as I removed the plugin. I want my app to be less dependant on plugins

JGSolutions avatar Jan 03 '24 15:01 JGSolutions

ah ok, but if you want to use firebase, you need to have that library...

joaqcid avatar Jan 03 '24 16:01 joaqcid

ahh ok i see. Wouldn't your plugin install the firebase sdk?

JGSolutions avatar Jan 03 '24 16:01 JGSolutions

no, you need to install those yourself, along with the plugin you need to install firebase and @angular/fire

joaqcid avatar Jan 03 '24 16:01 joaqcid