aboutsummaryrefslogtreecommitdiff
path: root/app/src/google/AndroidManifest.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-23 15:08:11 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-23 15:08:11 +1200
commit7186acaed8370ca179b250a7b45e4940937ca57f (patch)
tree2ba12c24646795a9de45708ca29debe550f1f3c4 /app/src/google/AndroidManifest.xml
parentd05ce23bbae5adce5ed59468a50c8e9378517e75 (diff)
downloadetbsa-traccar-manager-android-7186acaed8370ca179b250a7b45e4940937ca57f.tar.gz
etbsa-traccar-manager-android-7186acaed8370ca179b250a7b45e4940937ca57f.tar.bz2
etbsa-traccar-manager-android-7186acaed8370ca179b250a7b45e4940937ca57f.zip
Implement push notifications
Diffstat (limited to 'app/src/google/AndroidManifest.xml')
-rw-r--r--app/src/google/AndroidManifest.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/app/src/google/AndroidManifest.xml b/app/src/google/AndroidManifest.xml
index 15bb065..cd5ddd8 100644
--- a/app/src/google/AndroidManifest.xml
+++ b/app/src/google/AndroidManifest.xml
@@ -1,16 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools">
+ xmlns:tools="http://schemas.android.com/tools"
+ package="org.traccar.manager">
<application
- android:name="org.traccar.client.GoogleMainApplication"
+ android:name=".GoogleMainApplication"
tools:replace="android:name">
<meta-data
android:name="google_analytics_adid_collection_enabled"
android:value="false" />
+ <meta-data
+ android:name="com.google.firebase.messaging.default_notification_channel_id"
+ android:value="@string/notification_channel_id" />
+
+ <service android:name=".ManagerMessagingService">
+ <intent-filter>
+ <action android:name="com.google.firebase.MESSAGING_EVENT" />
+ </intent-filter>
+ </service>
+
</application>
</manifest>