/Firebase-Push-Notification-with-MySQL

FCM with Php MySQL and device device push notification.

Primary LanguageJava

Firebase push notifcations with MySQL

Features

  • Using firebase cloud messaging .
  • Send to Single device or brodcast to all devices .
  • Support Android O notifcations.
  • Using Glide to load images.
  • Update UI on push notiftaction using LocalBroadCast .
  • Using volley .
  • Using notifcation small , big (with image) .
  • SharedPrefrences .

Libraries

compile 'com.google.firebase:firebase-messaging:12.0.1'

compile 'com.android.volley:volley:1.0.0'

implementation 'com.github.bumptech.glide:glide:4.7.1'

annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'

Getting Start

  1. [Add Firebase to your Android Project.] (https://firebase.google.com/docs/android/setup).
  2. Copy the google-services.json file you just downloaded into the app/ or mobile/ directory of your Android Studio project.
  3. Create MySQL database .
  4. Move Php files to your server.
  5. Change config.php according to your database and put your firebase Api key.
  6. Rebulid project to Use GlideApp.

Preview