Comments (21)
I'm working on a blogpost about this, please stay tuned and watch for it in the NativeScript blog!
from nativescript-plugin-firebase.
It works! Thanks!
from nativescript-plugin-firebase.
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.
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.
Fantastic, Eddy! 👏🏻👏🏻👏🏻👏🏻👏🏻
from nativescript-plugin-firebase.
Wow, FCM is a step up from GCM configuration-wise. Certainly considering this!
from nativescript-plugin-firebase.
I know, and the whole cross platform story is super compelling...
from nativescript-plugin-firebase.
Getting somewhere!
Note that iOS certificate hell is still as bad as ever.
from nativescript-plugin-firebase.
My hands are itching to get to work with this! Any idea when there will be something "releasable"?
from nativescript-plugin-firebase.
@bfv go ahead and grab it from github.. not on npm yet. Working on Android support currently.
from nativescript-plugin-firebase.
So amped for this!
from nativescript-plugin-firebase.
I wait a little longer for the Android support. Keep up the good work!
from nativescript-plugin-firebase.
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.
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.
I am looking for Nativescript Firebase Push Notification demo sample.. Anyone please help ??
from nativescript-plugin-firebase.
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.
@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.
@jlooper : Have u completed your blog..???
from nativescript-plugin-firebase.
@pap5508 working on it for next week, thanks
from nativescript-plugin-firebase.
from nativescript-plugin-firebase.
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)
- M1 Issue - FirebaseSDK HOT 4
- Several "session_start" event are created on iOS 15 HOT 1
- ERROR TypeError: firebase.init is not a function.
- AdMob error: TypeError: Cannot set property 'resolve' of undefined
- Class constructor ContentView cannot be invoked without 'new'
- Android App Not working with NS 8.2. HOT 42
- A problem occurred configuring root project 'firebase'.
- microsoft login
- Android 12 background notification led to crash (PendingIntent) HOT 6
- Unable to run new deployment HOT 1
- ion
- Error trying to install @nativescript/firebase
- barcode scanning issue - iPhone 13 Pro and iPhone 13 Pro max
- Cannot read property 'ads' of undefined on NativeScript 8.2.3 HOT 1
- Plugin with id 'com.google.gms.google-services' not found. HOT 13
- SetValue of type Date Error on iOS
- Barcode Scanning issue on native script 8 with native camera control
- Mark this repository as deprecated HOT 1
- Firebase Authentication functions are giving error "No reference found.
- Firebase Messaging crash issue in Android 13 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-plugin-firebase.