Тёмный

How to: Adding Firebase to your NativeScript app! 

Eddy Verbruggen
Подписаться 343
Просмотров 22 тыс.
50% 1

Adding Firebase can be a bit of a pain. Let's take the pain together and let me show you how I go about adding it to a brand new project.
Sorry about the microphone, I should get a decent one!

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@petersonumoke5323
@petersonumoke5323 6 лет назад
Hello eddy, could you do a tutorial on using the angular template for nativescript alongside firestore... thanks
@WikkiOnIlluminati
@WikkiOnIlluminati 7 лет назад
for Angular app where to add the firebase init code.
@deepaks7053
@deepaks7053 6 лет назад
you can add it in app.module.ts inside ngOnInit
@nicowernli
@nicowernli 8 лет назад
Hi, I created a firebase app, but I think firebase has changed since you created the video, and I don't have the option to add an android app or ios app, so I can't find the google-services.json file. Do you know how should I do now? Thanks in advance
@EddyVerbruggen
@EddyVerbruggen 8 лет назад
I just logged onto console.firebase.google.com/, selected my project, and the first thing I see is "add an app" where I can choose iOS or Android.
@nicowernli
@nicowernli 8 лет назад
Sory man, I was looking into the Firebase App Dashboard. Me bad, thanks for this
@ДенисСеливёртов
Can you please update this tutorial video with new plugin version? So much things was changed.
@anexiole
@anexiole 5 лет назад
yeah, please... and the Demo subdir needs to have a little more documentation
@TheQuinnB
@TheQuinnB 8 лет назад
The written guide differs from the tutorial in that it no longer has the "apply:" line or the "reference" line. Using the current TS written guide I am getting an error when I try to initialize FB "Cannot read property firebase". Is the written guide being updated?
@marian2691
@marian2691 7 лет назад
Are the lines below cover, for example, the references part now? >cd node_modules/nativescript-plugin-firebase >npm run setup Following along the video, by references.d.ts file did NOT have the below line so I typed it in reading from the video but am not sure if that is correct. /// It would be useful to add popup bubbles over the video "this part is done by 'npm run setup' now".
@EddyVerbruggen
@EddyVerbruggen 7 лет назад
NativeScript 2.5.0 broke the postinstall script so you had to manually run the setup script as mentioned in the readme. I'm updating the plugin today so that npm run setup step will not be required when you run with anything but 2.5.0.
@marian2691
@marian2691 7 лет назад
I also see differences in the written guide and the video tutorial. Eddy is the written tutorial being updated? I ask because one of the discrepencies I just hit trying to do the demo was video --> edits platforms/android/build.gradle written --> only mentions "build.gradle" in one spot which says ... "and making the changes to build.gradle which are mentioned above as well." build.gradle is not mentioned above , but I think there is a typo and the text that follows that has app.gradle should read build.gradle instead "Congrats, you ran into this issue which can be solved by adding multiDexEnabled true to your app/App_Resources/Android/app.gradle so it becomes ..." , but that still has __PACKAGE__ which I think is old.
@EddyVerbruggen
@EddyVerbruggen 7 лет назад
Well spotted. The plugin has evolved and you no longer need to manually edit the gradle file (that was the hardest part for users to get right, so I automated that after the video was shot).
@L9ine
@L9ine 8 лет назад
Hi Eddy! What's the name of the package you added on Genymotion?
@EddyVerbruggen
@EddyVerbruggen 8 лет назад
Hey Leo, I did that a long time ago so don't know the exact source, but the top hit here seems legit: www.google.nl/search?sourceid=chrome-psyapi2&ion=1&espv=2&ie=UTF-8&q=genymotion%20google%20play%20services&oq=genymotion%20google&aqs=chrome.1.69i57j0l5.4198j0j7
@L9ine
@L9ine 8 лет назад
Thank you Eddy! I appreciate it!
@zxenon_
@zxenon_ 6 лет назад
Thanks
@efrainzaldumbide9897
@efrainzaldumbide9897 7 лет назад
Eddy, Hi, I have been trying for two days to add firebase to my app with your plugin. I get this error github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/326 I'm getting crazy. Please help..
@godotShaderBoy
@godotShaderBoy 8 лет назад
Beste Eddy, super dat je deze plugin gemaakt hebt! Ik heb geprobeert de demo app aan de praat te krijgen maar het wil me niet lukken. Ik heb het dan over deze demo: github.com/EddyVerbruggen/nativescript-plugin-firebase-demo#nativescript-plugin-firebase-demo-app Mijn error stond niet tussen de veel voorkomende errors waardoor ik geen idee heb hoe ik dit aan moet pakken. Hopelijk kun je me helpen, ik heb een vraag op stackoverflow gezet: stackoverflow.com/questions/39926656/cant-get-nativescript-plugin-firebase-demo-app-to-work bedankt alvast!
@EddyVerbruggen
@EddyVerbruggen 8 лет назад
Zou je op die GitHub repo een issue willen openen en aangeven wat je allemaal al geprobeerd hebt?
@godotShaderBoy
@godotShaderBoy 8 лет назад
Ga ik straks doen!
@godotShaderBoy
@godotShaderBoy 8 лет назад
Het is me na nog 3 keer proberen toch gelukt, snap nu niet waarom.. maargoed bedankt voor de reactie in iedergeval. Ik had hem 1 folder lager geplaatst zoals je had aanbevolen op stackoverlflow, dat had ik per ongeluk gedaan en las daarna pas je comment haha. Maargoed toch gelukt gelukkig, top!
@petersonumoke5323
@petersonumoke5323 6 лет назад
Or better yet explain it to me
Далее
Mastering NativeScript Layouts - Brad Martin
18:31
Просмотров 12 тыс.
Building a Mobile App in 2024: The BEST Technologies
13:31
Слушали бы такое на повторе?
01:00
Building Better Apps with NativeScript 4.0
1:03:22
Просмотров 9 тыс.
Why aren't you using Fastify? Or Koa? Or NestJS?
9:58
Ep 11: Performing Animations In NativeScript
9:26
Просмотров 14 тыс.
NativeScript on Fire(base) 🔥
1:04:20
Просмотров 7 тыс.
NativeScript Apps from Scratch
11:42
Просмотров 28 тыс.
10 common mistakes with the Next.js App Router
20:37
Просмотров 220 тыс.
Deno 2 with Ryan Dahl
44:32
Просмотров 16 тыс.