From 8e2297359c2ab6bf5e3522241118675069c055fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Sat, 11 Jan 2020 19:07:25 +0100 Subject: [PATCH] [Firebase] Implement new custom FCM service. --- app/src/main/AndroidManifest.xml | 15 +- .../pl/szczodrzynski/edziennik/Extensions.kt | 23 +++ .../sync/FirebaseBroadcastReceiver.kt | 41 ++-- .../edziennik/sync/FirebaseSendException.kt | 24 +++ .../edziennik/sync/FirebaseService.kt | 190 ++++++++++++++++++ .../edziennik/sync/MyFirebaseService.kt | 25 +++ 6 files changed, 288 insertions(+), 30 deletions(-) create mode 100644 app/src/main/java/pl/szczodrzynski/edziennik/sync/FirebaseSendException.kt create mode 100644 app/src/main/java/pl/szczodrzynski/edziennik/sync/FirebaseService.kt create mode 100644 app/src/main/java/pl/szczodrzynski/edziennik/sync/MyFirebaseService.kt diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 45d85d4a..d88bff8e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -172,13 +172,13 @@ - - + --> @@ -193,16 +193,23 @@ ____) | __/ | \ V /| | (_| __/\__ \ |_____/ \___|_| \_/ |_|\___\___||___/ --> - - + --> + + + + + +