Nativescript-plugin-firebase: Feature/Question

Created on 14 Jan 2017  路  5Comments  路  Source: EddyVerbruggen/nativescript-plugin-firebase

Is it possible to use angularfire2 with nativescript?

Would be great!

enhancement question

Most helpful comment

AngularFire2 is an Angular wrapper around the Firebase SDK. It uses rxjs to provide observables for for Firebase objects and lists. The API makes it very nice to incorporate in an Angular SPA. github

I've looked a little bit into how it might be incorporated with NativeScript. I think the biggest hangup right now is AngularFire2 depends on the Firebase Web SDK. From what I can tell, the Firebase Web SDK depends on running in a browser (maybe depends on local storage?) and wouldn't work in a NativeScript environment.

If that's the case, I imagine the only way to get it working would be to point AngularFire2 at this plugin, or maybe at a service for web and native.

If anyone has any ideas on how to go about that, or wants to collaborate on something, let me know.

All 5 comments

I have no experience with it. Can you elaborate?

AngularFire2 is an Angular wrapper around the Firebase SDK. It uses rxjs to provide observables for for Firebase objects and lists. The API makes it very nice to incorporate in an Angular SPA. github

I've looked a little bit into how it might be incorporated with NativeScript. I think the biggest hangup right now is AngularFire2 depends on the Firebase Web SDK. From what I can tell, the Firebase Web SDK depends on running in a browser (maybe depends on local storage?) and wouldn't work in a NativeScript environment.

If that's the case, I imagine the only way to get it working would be to point AngularFire2 at this plugin, or maybe at a service for web and native.

If anyone has any ideas on how to go about that, or wants to collaborate on something, let me know.

Any update on this feature? It would be great if we could use Observables to communicate with firebase

@Jai-Krish Would you be able to contribute perhaps?

@EddyVerbruggen I'm new to Nativescript and trying to migrate a firebase app from Ionic to {N}. So right now I don't have much knowledge about {N}.

Was this page helpful?
0 / 5 - 0 ratings