NativeScript / playground-feedback

Feedback for NativeScript Playground
Apache License 2.0
16 stars 1 forks source link

Firebase plugin in Palyground #72

Open donoso-eth opened 6 years ago

donoso-eth commented 6 years ago

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!

radeva commented 6 years ago

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?

marcossaore commented 6 years ago

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?

radeva commented 6 years ago

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

marcossaore commented 6 years ago

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

Thanks @radeva!

rdlauer commented 6 years ago

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"
}
marcossaore commented 6 years ago

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.

gideoncatz commented 5 years ago

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?

rdlauer commented 5 years ago

@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).