playground-feedback icon indicating copy to clipboard operation
playground-feedback copied to clipboard

Firebase plugin in Palyground

Open donoso-eth opened this issue 7 years ago • 8 comments

Please, provide the details below:

As firebase is part of some of the templates in the marketplace, it would be fantastic to have the firebase plugin included in the playground!!

Tell us about the problem

As firebase is part of some of the templates in the marketplace, it would be fantastic to have the firebase plugin included in the playground!

donoso-eth avatar Aug 21 '18 19:08 donoso-eth

Hi @ampgular ,

Thanks for your request. NativeScript Playground is tool meant to give users quick access to experiment and to try the technology. For any enhanced development including adding plugins which are not supported in the Playground, we recommend using the {N} CLI.

Could you tell me more about your need to have Firebase plugin in the Playground? Also, have you tried using the CLI where there are no limitations on the plugins usage?

radeva avatar Sep 10 '18 15:09 radeva

Hi @ampgular ,

Thanks for your request. NativeScript Playground is tool meant to give users quick access to experiment and to try the technology. For any enhanced development including adding plugins which are not supported in the Playground, we recommend using the {N} CLI.

Could you tell me more about your need to have Firebase plugin in the Playground? Also, have you tried using the CLI where there are no limitations on the plugins usage?

Hi @radeva, I have been building my apps with CLI and NS Sidekick but Nativescript´s community did announce App´s Challenger. I would like to submit my apps to there but they use plugins such as Cardview, Carrousel, Fresco. Any idea to solve this problem?

marcossaore avatar Nov 08 '18 11:11 marcossaore

Do you mean Uplabs Challenge? If so, I'm pinging @rdlauer to provide more info.

radeva avatar Nov 11 '18 07:11 radeva

Do you mean Uplabs Challenge? If so, I'm pinging @rdlauer to provide more info.

Thanks @radeva!

marcossaore avatar Nov 11 '18 12:11 marcossaore

Hi @marcossaore - The Uplabs challenge was designed to use the Playground from the beginning to make it easier for folks to get up and running with NativeScript more quickly. Unfortunately that does mean you are limited in which plugins you can use to those that are already set up with the Preview app:

{
  "@angular/animations": "6.1.10",
  "@angular/common": "6.1.10",
  "@angular/compiler": "6.1.10",
  "@angular/core": "6.1.10",
  "@angular/forms": "6.1.10",
  "@angular/http": "6.1.10",
  "@angular/platform-browser": "6.1.10",
  "@angular/platform-browser-dynamic": "6.1.10",
  "@angular/router": "6.1.10",
  "@progress-nativechat/nativescript-nativechat": "2.0.3",
  "kinvey-nativescript-sdk": "3.11.6",
  "nativescript-accelerometer": "2.0.1",
  "nativescript-angular": "6.2.0",
  "nativescript-background-http": "3.3.0",
  "nativescript-camera": "4.0.3",
  "nativescript-fresco": "5.1.0",
  "nativescript-geolocation": "4.3.1",
  "nativescript-imagepicker": "6.0.4",
  "nativescript-intl": "3.0.0",
  "nativescript-iqkeyboardmanager": "1.3.0",
  "nativescript-social-share": "1.5.1",
  "nativescript-theme-core": "1.0.4",
  "nativescript-ui-autocomplete": "3.10.1",
  "nativescript-ui-calendar": "3.9.0",
  "nativescript-ui-chart": "3.9.1",
  "nativescript-ui-dataform": "3.7.4",
  "nativescript-ui-gauge": "3.7.1",
  "nativescript-ui-listview": "3.7.2",
  "nativescript-ui-sidedrawer": "5.0.0",
  "nativescript-vue": "2.0.2",
  "reflect-metadata": "0.1.12",
  "rxjs": "6.2.2",
  "tns-core-modules": "5.0.1",
  "zone.js": "0.8.26"
}

rdlauer avatar Nov 12 '18 08:11 rdlauer

Hi @marcossaore - The Uplabs challenge was designed to use the Playground from the beginning to make it easier for folks to get up and running with NativeScript more quickly. Unfortunately that does mean you are limited in which plugins you can use to those that are already set up with the Preview app:

{
  "@angular/animations": "6.1.10",
  "@angular/common": "6.1.10",
  "@angular/compiler": "6.1.10",
  "@angular/core": "6.1.10",
  "@angular/forms": "6.1.10",
  "@angular/http": "6.1.10",
  "@angular/platform-browser": "6.1.10",
  "@angular/platform-browser-dynamic": "6.1.10",
  "@angular/router": "6.1.10",
  "@progress-nativechat/nativescript-nativechat": "2.0.3",
  "kinvey-nativescript-sdk": "3.11.6",
  "nativescript-accelerometer": "2.0.1",
  "nativescript-angular": "6.2.0",
  "nativescript-background-http": "3.3.0",
  "nativescript-camera": "4.0.3",
  "nativescript-fresco": "5.1.0",
  "nativescript-geolocation": "4.3.1",
  "nativescript-imagepicker": "6.0.4",
  "nativescript-intl": "3.0.0",
  "nativescript-iqkeyboardmanager": "1.3.0",
  "nativescript-social-share": "1.5.1",
  "nativescript-theme-core": "1.0.4",
  "nativescript-ui-autocomplete": "3.10.1",
  "nativescript-ui-calendar": "3.9.0",
  "nativescript-ui-chart": "3.9.1",
  "nativescript-ui-dataform": "3.7.4",
  "nativescript-ui-gauge": "3.7.1",
  "nativescript-ui-listview": "3.7.2",
  "nativescript-ui-sidedrawer": "5.0.0",
  "nativescript-vue": "2.0.2",
  "reflect-metadata": "0.1.12",
  "rxjs": "6.2.2",
  "tns-core-modules": "5.0.1",
  "zone.js": "0.8.26"
}

Ok, I will redesign the app, thanks @rdlauer.

marcossaore avatar Nov 12 '18 11:11 marcossaore

Hi @radeva , I have a similar issue. I need to prepare a quick POC with NativeScript (Vue) and to demnostrate its capability to show push notifications. And the playground is an awesome place for quick stuff. Technically, as far as I understand, the firebase plugin should be usable in the playground, as it has no "platforms" folder. However, firebase requires an android package name right from the start when registering an app. Is there any way around it without the need to substitute the playground with a full blown local NS development environment?

gideoncatz avatar Nov 20 '18 23:11 gideoncatz

@gideoncatz even with the Firebase plugin available in the Playground, you wouldn't be able to send push notifications to the app. In your situation, it looks like a local development environment would be better (you could also add toasts or local notifications for your POC).

rdlauer avatar Nov 21 '18 14:11 rdlauer