Push Notifications Android

Last update: May 26, 2022

Push Notifications Android

This repository shows how to use Huawei or Google services for Push-notification in different flavors.

Preparations

You need to create accounts in Huawei and Google, enable services in developer console and get config files and keys.

Huawei

  1. Create developer account on App Gallery Connect;
  2. Create application, define application id (package);
  3. Enable Push in App Gallery Connect for Project;
  4. Provide SHA-256 of signing keys;
  5. Download agconnect-services.json and put in app folder;
  6. If you use Huawei device for tests - make sure, that Huawei Mobile Services updated to latest version.

Google

  1. Create Google and Firebase accounts;
  2. Create project in Firebase;
  3. Add android application in Firebase. Provide SHA-1 of signing keys;
  4. Download google-services.json and put in app folder;
  5. Make sure, that you have Google Mobile Services installed and enabled on you device.

Unsplash

  1. Create developer account on Unsplash;
  2. Get Access-token from Unsplash and put in variable api.unsplash.access_token on local.properties.

Launch and Priority

Choose one of flavor universal or gms and see how it works! Gms assembly is suitable for distribution on Google Play (work only GMS). Universal assembly is suitable for distribution on App Gallery (work with GMS and HMS).

Warning: If the device has HMS and GMS, then GMS is used in priority.

GitHub

https://github.com/MobileUpLLC/connect_notification_android
You might also like...

Aggregated Android news, articles, podcasts and conferences about Android Development

Aggregated Android news, articles, podcasts and conferences about Android Development

DroidFeed Curated news feed for Android Developers! Stay up to date with the latest Android Development news. Built for the Android developer communit

Jun 13, 2022

🍲Foodium is a sample food blog Android application 📱 built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, Flow, Dagger 2/Hilt, Architecture Components, MVVM, Room, Retrofit, Moshi, Material Components).

 🍲Foodium is a sample food blog Android application 📱 built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, Flow, Dagger 2/Hilt, Architecture Components, MVVM, Room, Retrofit, Moshi, Material Components).

Foodium 🍲 Foodium is a sample food blog 🍲 Android application 📱 built to demonstrate use of Modern Android development tools. Dedicated to all Andr

Jun 20, 2022

A simple app to showcase Androids Material Design and some of the cool new cool stuff in Android Lollipop. RecyclerView, CardView, ActionBarDrawerToggle, DrawerLayout, Animations, Android Compat Design, Toolbar

A simple app to showcase Androids Material Design and some of the cool new cool stuff in Android Lollipop. RecyclerView, CardView, ActionBarDrawerToggle, DrawerLayout, Animations, Android Compat Design, Toolbar

#Android-LollipopShowcase This is a simple showcase to show off Android's all new Material Design and some other cool new stuff which is (new) in Andr

Jun 15, 2022

The Android startup used to schedule tasks, jobs while launching Android App.

Android Startup, schedule your startup jobs Introduction AndroidStartup is an open source project used to refine your Andriod App startup. Compared wi

Mar 25, 2022

Android playground project with modularization by feature (android libraries), unit tests, MVVM & MVI.

Android playground project with modularization by feature (android libraries), unit tests, MVVM & MVI.

Movies Movies is a simple project to study and play with some android components, architecture and tools for Android development. Tech Stack This proj

Jun 20, 2022

🌄 Photo editor using native modules for iOS and Android. Inherit from 2 available libraries, Brightroom (iOS) and PhotoEditor (Android)

🌄 Photo editor using native modules for iOS and Android. Inherit from 2 available libraries, Brightroom (iOS) and PhotoEditor (Android)

React Native Photo Editor (RNPE) 🌄 Image editor using native modules for iOS and Android. Inherit from 2 available libraries, Brightroom (iOS) and Ph

Jun 16, 2022

Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks

Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks

Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks

Jun 16, 2022

A simple Android app to demonstrate the use of Hover SDK for M-PESA Send Money while offline. This SDK does not require an internet connection, it automates USSD sessions in the background of an android application.

HoverSDKDemo Hover SDK is an Android SDK that lets mobile developers to add money features to the applications. This SDK does not require an internet

Apr 28, 2022

Source code of JekyllEx Android App which can manage your Jekyll blog directly from your Android device!

Source code of JekyllEx Android App which can manage your Jekyll blog directly from your Android device!

JekyllEx Android App Built with ❤︎ by Gourav Khunger 🚀 Introduction JekyllEx is an Android App that allows you to manage a Jekyll Blog directly from

Jun 11, 2022
Bundel is a digital wellbeing Android app, helping you to focus by grouping up notifications and only releasing them in batches
Bundel is a digital wellbeing Android app, helping you to focus by grouping up notifications and only releasing them in batches

Bundel is a digital wellbeing Android app, helping you to focus by grouping up notifications and only releasing them in batches, at set times. This minimises context switching and improves productivity, while decreasing the impulse to continuously check your phone.

Jun 21, 2022
A simple sample showing the different types of notifications on Andoid

Notification example Simple notification. Expandable notification Progress notification Action button notification Notifications: MainActivity: Refs h

May 25, 2022
Sending komq's latest YouTube & Twitch notifications via Twitter.

Komwitter Twitch & YouTube Notification Twitter Bot for komq. Used Libraries: Twitter4J Twitch4J Kotlinx.serialization and some other dependency libra

Feb 10, 2022
Be notified of new AndroidX (Jetpack) library versions and their changelog by GitHub notifications
Be notified of new AndroidX (Jetpack) library versions and their changelog by GitHub notifications

Image credits: Android Developers This repository publishes release notes of And

Mar 27, 2022
Use of AlarmManager to trigger Notifications

EggTimer - Final Code Solution code for Advanced Android with Kotlin Codelab Introduction EggTimer is a timer app for cooking eggs. You can start and

Jan 15, 2022
android-delicious Delicious Android is an Android app which helps you access and save bookmarks via Delicious. It's available over at Google Play.
android-delicious Delicious Android is an Android app which helps you access and save bookmarks via Delicious. It's available over at Google Play.

Delicious Android Delicious Android is an Android app which helps you access and save bookmarks via Delicious. It's available over at Google Play. Fea

May 24, 2022
FoldingNavigationDrawer-Android This is a sample project present how to use Folding-Android to add Folding Efect to Navigation Drawer.

FoldingNavigationDrawer-Android Sample (Play Store Demo) This is a sample project present how to use Folding-Android to add Folding Efect to Navigatio

Jun 14, 2022
Twidere-Android Twidere is a powerful twitter client for Android 1.6+ 1 , which gives you a full Holo experience and nearly full Twitter's feature.
Twidere-Android Twidere is a powerful twitter client for Android 1.6+ 1 , which gives you a full Holo experience and nearly full Twitter's feature.

Twidere for Android Material Design ready and feature rich Twitter/Mastodon/Fanfou app for Android 4.1+. Enjoy Fediverse now! Twidere-Android is maint

Jun 15, 2022
:movie_camera: Movie discovery app showcasing Android best practices with Google's recommended architecture: MVVM + Repository + Offline support + Android Architecture Components + Paging library & Retrofit2.
:movie_camera: Movie discovery app showcasing Android best practices with Google's recommended architecture: MVVM + Repository + Offline support + Android Architecture Components + Paging library & Retrofit2.

Popular Movies Stage 1 + Stage 2 Discover the most popular and top rated movies playing. Movies data fetched using themoviedb.org API. ✨ Screenshots M

Jun 5, 2022
Extensible Android mobile voice framework: wakeword, ASR, NLU, and TTS. Easily add voice to any Android app!
Extensible Android mobile voice framework: wakeword, ASR, NLU, and TTS. Easily add voice to any Android app!

Spokestack is an all-in-one solution for mobile voice interfaces on Android. It provides every piece of the speech processing puzzle, including voice

May 6, 2022