dimitarstoyanoff / notifications Goto Github PK
View Code? Open in Web Editor NEWFCM Notifications with images in app foreground
FCM Notifications with images in app foreground
In Android 8.0 notification sound doesn't playing. Why?
Thank you for the tutorial! Please, remove C2DM, because it has not been used since 2015 (I think).
As many Google libraries have moved to AndroidX, could you also migrate the project?
Also add API 26 support (Android channels).
For instance, in the article you have a deprecated class MyFirebaseInstanceIDService
and there:
@Override
public void onTokenRefresh() {
// Get updated InstanceID token.
String refreshedToken = FirebaseInstanceId.getInstance().getToken();
Log.d(TAG, "Refreshed token: " + refreshedToken);
// If you want to send messages to this application instance or
// manage this apps subscriptions on the server side, send the
// Instance ID token to your app server.
SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
preferences.edit().putString(Constants.FIREBASE_TOKEN, refreshedToken).apply();
}
}
This code is useful for me to get current token, but it is also deprecated, see https://stackoverflow.com/questions/51125169/what-to-use-now-that-firebaseinstanceid-getinstance-gettoken-is-deprecated.
Hi,
First thanks for the guide here:
https://www.pluralsight.com/guides/push-notifications-with-firebase-cloud-messaging
Second, can you update it? because "FirebaseInstanceIdService is deprecated"
According to this:
https://medium.com/android-school/firebaseinstanceidservice-is-deprecated-50651f17a148
Thanks.
Hey, I just noticed that the pictures in the tutorial you posted on Pluralsight are not loading.. Can you please upload them again? Those pictures really helped when I was starting with Push notifications using FCM, so I think they would help programmers who are starting with FCM as well.. Thanks!
Link: https://www.pluralsight.com/guides/push-notifications-with-firebase-cloud-messaging
How to add Click action in this, pls help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.