Cloud Messaging Integration with Kivy [Update: Read Description]

Published: 10 January 2021
on channel: Thomas David
3,343
86

Update; New & easier way:    • Push Notifications and Firebase in Kivy  
---------------------------------------------------------------------------------------------
In this video I demonstrate how use push notifications in your Kivy application through Firebase Cloud Messaging on Android.

Links
Project: https://github.com/Fox520/KivyPushNot...
Cloud Messaging Docs: https://firebase.google.com/docs/clou...
Create Firebase project here: https://console.firebase.google.com/
Pyjnius: https://pyjnius.readthedocs.io/
Kivy: https://kivy.org/
Kivy Support: https://chat.kivy.org/

Important bit starts starts at 28:52, before that its all setup

Timestamps:
00:00 Intro & Demo
03:18 Create Kivy project
06:13 Set up Firebase & dependencies
15:56 Build project to ensure Firebase is set up
19:26 Add the background service
22:08 you can skip this part
23:46 Add background service
Pro Tip: Create the file here org/kivy/android/MyFirebaseMessagingService.java
27:55 Sanity check that app still builds
28:52 How notifications are delivered (important part of video)
34:05 Implementation
36:25 Attempt to retrieve from Python
40:53 Modifying and retrieving from PythonActivity.java
46:18 Making use of modified class
53:04 Get device token
01:03:57 Build & install
01:05:00 PyJnius signature issue
01:05:35 Build & install
01:06:08 Test
01:11:07 Discussion on when app is in foreground
01:13:20 Closing off


Watch video Cloud Messaging Integration with Kivy [Update: Read Description] online without registration, duration hours minute second in high quality. This video was added by user Thomas David 10 January 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,343 once and liked it 86 people.