Cloud Messaging Integration with Kivy [Update: Read Description]

Опубликовано: 10 Январь 2021
на канале: 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


Смотрите видео Cloud Messaging Integration with Kivy [Update: Read Description] онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Thomas David 10 Январь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,343 раз и оно понравилось 86 людям.