- Step 1: You should have md5 tool setup to verify installer/file downloaded from web.
- brew install md5sha1sum
- Step 2: Check downloaded file like this:
- md5sum <path-to-file-to-be-verified>
<application>..........<service android:name=".MyFirebaseMessagingService"> <intent-filter> <action android:name="com.google.firebase.MESSAGING_EVENT"/> </intent-filter> </service> <service android:name=".MyFirebaseInstanceIdService"> <intent-filter> <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/> </intent-filter> </service> </application>
dependencies {
compile 'com.google.firebase:firebase-messaging:9.0.2'}
//Make sure to apply it at the end of the file
apply plugin: 'com.google.gms.google-services'
dependencies {
classpath 'com.google.gms:google-services:3.0.0'
}
@Overridepublic void onMessageReceived(RemoteMessage remoteMessage) {}
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.5.0'
apply plugin: 'com.android.library'
//AFTER android or library pluginapply plugin: 'com.getkeepsafe.dexcount'
Learn about Scheduling Repeating Local Notifications using Alarm Manager in this post .