miskoajkula / fcm Goto Github PK
View Code? Open in Web Editor NEWFireBase Cloud Messaging Push Notifications
FireBase Cloud Messaging Push Notifications
Hello, Filip. I'm testing how to send push notifications with PHP, following the instructions you have in this YT video: https://www.youtube.com/watch?v=MYZVhs6T_W8 and now I'm wondering how to send other parameters in the notification.
I tried adding them to the $message
array, but it didn't work, it doesn't overwrite 'title' and the only one working is 'message'. So I wanted to ask you if I also have to change something in the Java files in order to make them work. Thanks a lot for any help.
$message = array(
'message' => 'New Comment: test test...',
'title' => 'This is a title',
'subtitle' => 'This is a subtitle',
'tickerText' => 'Ticker text here...Ticker text here',
'vibrate' => 1,
'sound' => 1,
'largeIcon' => 'ic_launcher',
'smallIcon' => 'ic_launcher'
);
I have cloned the project and imported it into the android studio, build failed with Use JsonReader.setLenient(true) to accept malformed JSON at line 5 column 6.
Could you please help me with this
Hi,
could you kindly provide a simple html form interface connected to the firebase method you discussed in your tutorial?
I think it will help understand this Subject.
Regards
Hi,
I follow your step, and try on the emulator. It works.
However, when I try my android device, SocketTimeoutException error happened.
It seems to fail to connect server
Thank u for ur tutorial :)
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.