Index

Code on Github

Create Project on Android Studio

Setup the project

Empty Activity

Api Level

Login

Verify plugins

Tools Firebase

Connect

Create a form

You should create a channel for each distinct type of notification you need to send. You can also create notification channels to reflect choices made by users of your app. For example, you can set up separate notification channels for each conversation group created by a user in a messaging app."

    public class MyConstants {

        static String STR_SHORT_DESC = "ShortDesc";
        static String STR_INCIDENT_NO = "IncidentNo";
        static String STR_DESC = "IncidentNo";

        static String CHANNEL_ID = "1";
        static CharSequence CHANNEL_NAME = "my_channel";
        static String CHANNEL_DESCRIPTION = "My Channel";

        static String TOPIC = "MyApp";
    }


Last modified on: May 08, 2020