Тёмный

push notification firebase android studio || Migrate from legacy FCM APIs to HTTP v1 

Rajjan Sharma
Подписаться 8 тыс.
Просмотров 14 тыс.
50% 1

In this tutorial we will learn how can we migrate to HTTP v1 messaging service , watch this complete video .
Apps using the deprecated FCM legacy APIs for HTTP and XMPP should migrate to the HTTP v1 API at the earliest opportunity. Sending messages (including upstream messages) with those APIs was deprecated on June 20, 2023, and will be removed in June 2024.
In addition to ongoing support and new features, the HTTP v1 API has these advantages over the legacy APIs:
Better security via access tokens The HTTP v1 API uses short-lived access tokens according to the OAuth2 security model. In the event that an access token becomes public, it can only be maliciously used for an hour or so before it expires. Refresh tokens are not transmitted as often as the security keys used in the legacy API, so they are much less likely to be captured.
More efficient customization of messages across platforms For the message body, the HTTP v1 API has common keys that go to all targeted instances, plus platform-specific keys that let you customize the message across platforms. This allows you to create "overrides" that send slightly different payloads to different client platforms in a single message.
More extendable and future-proof for new client platform versions The HTTP v1 API fully supports messaging options available on Apple platforms, Android and Web. Since each platform has its own defined block in the JSON payload, FCM can extend the API to new versions and new platforms as needed
PayPal link
www.paypal.me/...
source code link
rajjansharma.com/
Join this channel to get access to perks:
/ @rajjansharma
Firebase video streaming app playlist-
• Firebase Video Streami...
Twitter -
/ rajjansharma8
Instagram -
...
join telegram channel
t.me/codesphere
Snapchat-
/ rajjan_sharma
chat app firebase react,
chat app firebase flutter,
chat app firebase android studio,
chat app firebase android,
chat app firebase swift,
realtime chat app firebase,
chat app firebase and react,
firebase chat app android kotlin,
build flutter chat app with firebase auth and firestore,
chat app angular firebase,
chat app using firebase android java,
chat app using firebase and javascript,
android chat app firebase,
android studio chat app firebase,
chat app using react and firebase,
building chat app with flutter and firebase,
chat app android studio kotlin firebase

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

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 53   
@germanaroccasalas5647
@germanaroccasalas5647 3 дня назад
Very thanks from Venezuela. This working!
@RajjanSharma
@RajjanSharma 2 дня назад
Use super thanks 😅
@Nebrass_
@Nebrass_ 7 дней назад
for imortant msg use "android": { "priority": "high" } Reply
@mauromiotello
@mauromiotello 2 месяца назад
Hi, using V1, Is there a way to send formatted text in body ? like bold, new line, etc etc html-> , ?
@SunishchitDevelopers
@SunishchitDevelopers 2 месяца назад
Store data in data base and notify using push notifications and get data via api
@SunishchitDevelopers
@SunishchitDevelopers 2 месяца назад
I think you know about how yo store bold text data in data base
@Sagar-sq6kc
@Sagar-sq6kc 3 месяца назад
How to send Web Push notifications using endurl,auth and p256dh
@bhavinsolanki2379
@bhavinsolanki2379 3 месяца назад
i need server key that required field for aws amplify add notifications what can i do how i can generate that server key ?
@Venki-l1g
@Venki-l1g 14 дней назад
Thank you very much, mine worked well, I have one doubt, can I send notification on specific time, if yes can you explain me
@RajjanSharma
@RajjanSharma 11 дней назад
Um , may be difficult
@Sagar-sq6kc
@Sagar-sq6kc 3 месяца назад
Hello, can I generate Authorization: Bearer . via postman.
@Nebrass_
@Nebrass_ 7 дней назад
yes i did it but you need to copy Authorization every time becase he has expierd time
@saurabh8587
@saurabh8587 3 месяца назад
will there be any changes in extended FirebaseMessagingService class which provide us fcm data in onMessageReceived?
@RajjanSharma
@RajjanSharma 3 месяца назад
Yes
@sanketsaitawdekar3891
@sanketsaitawdekar3891 3 месяца назад
Can you also please tell how to do it on a simple jsp servlet java web application. Without gradle of Maven.
@RajjanSharma
@RajjanSharma 3 месяца назад
Sorry but I have no idea 😔
@arjunr641
@arjunr641 Месяц назад
how can perform push notifications with php larval backend
@RajjanSharma
@RajjanSharma Месяц назад
only android
@7411673525
@7411673525 2 месяца назад
HI sir, i implemented everything as per the video. but i am getting 400 error. can u help me on this.
@RajjanSharma
@RajjanSharma 2 месяца назад
DM on telegram
@MuhammadAhmad-df5ho
@MuhammadAhmad-df5ho 2 месяца назад
What about if i want to send notification to multiple devices in a single request . then What will be the payload or attribute for that
@RajjanSharma
@RajjanSharma 2 месяца назад
Subscribe to topics
@SunishchitDevelopers
@SunishchitDevelopers 2 месяца назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9aBCASo7GKU.htmlsi=udy3jhuCIMZ_8jFl
@JanaElhalafawy.
@JanaElhalafawy. Месяц назад
perfect
@roshanscodelab
@roshanscodelab 12 дней назад
can you provide me the code for the FCM push notification from admin to multiple device, i am a beginner and i am struggling to create the admin panel in android studio for sending the notification to the multiple devices. can you please help me i don't have the PayPal that's why if you contact with me that could be great. i can pay by the upi
@RajjanSharma
@RajjanSharma 12 дней назад
Ok I will make
@RajjanSharma
@RajjanSharma 12 дней назад
You can pay 200/- for it
@roshanscodelab
@roshanscodelab 11 дней назад
@@RajjanSharma Yes
@roshanscodelab
@roshanscodelab 11 дней назад
@@RajjanSharmacan you provide me the contact details of you
@roshanscodelab
@roshanscodelab 11 дней назад
@@RajjanSharma how should I able to contact you
@wafaatv3061
@wafaatv3061 3 месяца назад
I hope to put vedio between Two devices
@pradnyamawal1000
@pradnyamawal1000 2 месяца назад
Hiii could you please help me with this to configure it into my project?
@RajjanSharma
@RajjanSharma 2 месяца назад
Yes
@pradnyamawal1000
@pradnyamawal1000 2 месяца назад
@@RajjanSharma how to connect?
@pradnyamawal1000
@pradnyamawal1000 2 месяца назад
@@RajjanSharma how to connect?
@devletialiye4916
@devletialiye4916 2 месяца назад
can you share the source code
@RajjanSharma
@RajjanSharma Месяц назад
Yes
@pradnyamawal1000
@pradnyamawal1000 2 месяца назад
Hello could you please help me with this
@pradnyamawal1000
@pradnyamawal1000 2 месяца назад
Can you please connect with me?
@pradnyamawal1000
@pradnyamawal1000 2 месяца назад
I will pay for this
@RajjanSharma
@RajjanSharma Месяц назад
@rajjansharma telegram
@pradnyamawal1000
@pradnyamawal1000 Месяц назад
@@RajjanSharma ok
@pradnyamawal1000
@pradnyamawal1000 Месяц назад
@@RajjanSharma when do you have time ?
@BhanuPrakashGuptha
@BhanuPrakashGuptha 2 месяца назад
I have done as you have explained by subscribing and copied code from your website. But unable to receive messages. It is possible for you to review my app and correct it... If possible please share details how to contact you.
@RajjanSharma
@RajjanSharma 2 месяца назад
Now I am out of station , you can contact me after 20 june
@PiOntime
@PiOntime Месяц назад
hello sir how can i contact you sir, i need the code to make FCM and this whole, because im just beginner sir, please thank you sir
@RajjanSharma
@RajjanSharma Месяц назад
you can buy codes on my website and also from paypal
Далее
Butch REACT to Creative way to fix damaged tile!
00:46
DJI NEO Review - 10 Things You NEED To Know
21:55
Просмотров 121 тыс.
Firebase Send Push Notification JavaScript + PHP
27:22
Firebase Cloud Messaging API (V1) Flutter - Laravel
4:53