diff options
author | Александр Зацепин <az@mapswithme.com> | 2018-04-09 11:28:41 +0300 |
---|---|---|
committer | Slava <slovaricheg@gmail.com> | 2018-04-11 11:03:59 +0300 |
commit | ee56ab2e1feedc7b95bbe1e1c32367e5ddd94da3 (patch) | |
tree | 94dac791c1f3c585c4fd2dcf218ff1387c6e19be /android/AndroidManifest.xml | |
parent | e5f41478d5a44534c3f2600bddf2de6ba04b0131 (diff) |
[android] Integrated LibNotify library
Diffstat (limited to 'android/AndroidManifest.xml')
-rw-r--r-- | android/AndroidManifest.xml | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 795a683e4b..e17502855c 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -83,6 +83,14 @@ android:name="PW_PROJECT_ID" android:value="${PW_PROJECT_ID}"/> + <meta-data + android:name="ru.mail.libnotify.application_name" + android:value="${LIBNOTIFY_APP_ID}"/> + + <meta-data + android:name="ru.mail.libnotify.server_id" + android:value="${LIBNOTIFY_PROJECT_ID}"/> + <!--meta-data android:name="PW_LOG_LEVEL" android:value="ERROR" /--> @@ -474,17 +482,21 @@ </intent-filter> </receiver> + <!-- Took this legacy code from https://www.pushwoosh.com/docs/gcm-integration-legacy. + Remove it after Pushwoosh is removed. --> <service - android:name="com.pushwoosh.GCMListenerService" - android:exported="false"> - <intent-filter> - <action android:name="com.google.android.c2dm.intent.RECEIVE"/> + android:name="com.mapswithme.util.push.GCMListenerRouterService" + android:enabled="true" + android:exported="false" > + <intent-filter android:priority="100" > + <action android:name="com.google.android.c2dm.intent.RECEIVE" /> </intent-filter> </service> <service - android:name="com.pushwoosh.GCMInstanceIDListenerService" - android:exported="false"> + android:name="com.mapswithme.util.push.GcmInstanceIDRouterListenerService" + android:enabled="true" + android:exported="false"> <intent-filter> <action android:name="com.google.android.gms.iid.InstanceID"/> </intent-filter> @@ -496,7 +508,8 @@ <service android:name="com.pushwoosh.location.GeoLocationService"/> - + <service android:name="com.mapswithme.util.push.GcmInstanceIDListenerService"/> + <service android:name="com.mapswithme.util.push.GcmMessageHandlerService"/> <!-- Catches app upgraded intent --> <receiver android:name=".background.UpgradeReceiver"> <intent-filter> |