Code Monkey home page Code Monkey logo

Comments (21)

jlooper avatar jlooper commented on August 23, 2024 4

I'm working on a blogpost about this, please stay tuned and watch for it in the NativeScript blog!

from nativescript-plugin-firebase.

bfv avatar bfv commented on August 23, 2024 2

It works! Thanks!

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on August 23, 2024 1

Update: iOS 10 had some push / badge issues that delayed my work a bit. I'm just assuming those are pre-beta issues that will be ironed out, so testing this baby with iOS 9 for now and it starts to look super good!

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on August 23, 2024 1

Ha, @bfv, you can expect iOS support to land today. I'm doing the final tests and have to document it. You can prepare yourself by going through certificate hell (add the push entitlement to your appid at the iOS developer center, add the push certificates to it, upload those certs to the firebase console, generate and download new provisioning profiles - basically this).

Android support will follow shortly after, but once you've got iOS running that will be a breeze to add.

from nativescript-plugin-firebase.

jlooper avatar jlooper commented on August 23, 2024 1

Fantastic, Eddy! 👏🏻👏🏻👏🏻👏🏻👏🏻

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on August 23, 2024

Wow, FCM is a step up from GCM configuration-wise. Certainly considering this!

from nativescript-plugin-firebase.

jlooper avatar jlooper commented on August 23, 2024

I know, and the whole cross platform story is super compelling...

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on August 23, 2024

Getting somewhere!

Note that iOS certificate hell is still as bad as ever.

img_7343

img_7342

img_7341

from nativescript-plugin-firebase.

bfv avatar bfv commented on August 23, 2024

My hands are itching to get to work with this! Any idea when there will be something "releasable"?

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on August 23, 2024

@bfv go ahead and grab it from github.. not on npm yet. Working on Android support currently.

from nativescript-plugin-firebase.

jlooper avatar jlooper commented on August 23, 2024

So amped for this!

from nativescript-plugin-firebase.

bfv avatar bfv commented on August 23, 2024

I wait a little longer for the Android support. Keep up the good work!

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on August 23, 2024

Android support just landed! 🚀

Tagging and releasing 3.3.0 right now, see the new docs on how to use it.

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on August 23, 2024

Btw, I recommend removing and adding the Android platform since I figured out which bits of the play services libs were really needed on Android (thanks Google for not documenting that) - should help ppl not running into multiDex issues in the future. Don't forget to re-add the two gradle afterwards bits as mentioned in the readme.

Also, I've made wiring Facebook and Cloud messaging as easy as possible for the developer, the only thing that's required is doing this in app.js.

from nativescript-plugin-firebase.

pap5508 avatar pap5508 commented on August 23, 2024

I am looking for Nativescript Firebase Push Notification demo sample.. Anyone please help ??

from nativescript-plugin-firebase.

pap5508 avatar pap5508 commented on August 23, 2024

firebase.init( { iOSEmulatorFlush: true, onPushTokenReceivedCallback (token){ console.log("Push Token: "+ token); } onMessageReceivedCallback: function(message) { alert(message.title+""); this.router.navigate(["/main-menu"]); } }).then( (instance) => { console.log("firebase.init done"); }, (error) => { console.log("firebase.init error: " + error); });
How can I send push token to Own backend Server.. ??

from nativescript-plugin-firebase.

asaph26 avatar asaph26 commented on August 23, 2024

@pap5508 You can send the token to the backend by utilising the onPushTokenReceivedCallback callback inside the init method.

onPushTokenReceivedCallback (token){ 
    //send the token to the backend. You might also want to add some additional information such as the user details in case you want to target notifications to the a specific user
}

from nativescript-plugin-firebase.

pap5508 avatar pap5508 commented on August 23, 2024

@jlooper : Have u completed your blog..???

from nativescript-plugin-firebase.

jlooper avatar jlooper commented on August 23, 2024

@pap5508 working on it for next week, thanks

from nativescript-plugin-firebase.

pap5508 avatar pap5508 commented on August 23, 2024

from nativescript-plugin-firebase.

URvesh109 avatar URvesh109 commented on August 23, 2024

Firebase Cloud Messaging (FCM) get always prompt though no message is send with nativescript webpack plugin, but work gud without nativescript webpack plugin

from nativescript-plugin-firebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.