Запуск двух приложений для Android на одном устройстве - PullRequest
0 голосов
/ 30 мая 2018

У меня есть два приложения, которые используют fcm.Эти приложения являются дополнительными.Они находятся в отдельном проекте на консоли Firebase.

Когда они оба установлены на одном устройстве (особенно на Android 7 или более поздней версии).Некоторые push-уведомления не доставляются.

У кого-нибудь есть подсказка?

У меня есть манифесты:

Я использую 'com.google.firebase: firebase-messaging: 11.4.2 'для версии Firebase

1 Ответ

0 голосов
/ 30 мая 2018

Попробуйте использовать последнюю версию:

classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:4.0.1'

А также используйте последнюю версию, основанную на этом URL :

implementation 'com.google.firebase:firebase-messaging:17.0.0'
implementation 'com.google.firebase:firebase-core:16.0.0'

И если вы используете другие библиотекипроверьте ниже:

    implementation 'com.google.firebase:firebase-core:16.0.0'
    implementation 'com.google.firebase:firebase-ads:15.0.1'
    implementation 'com.google.firebase:firebase-analytics:16.0.0'
    implementation 'com.google.firebase:firebase-appindexing:15.0.1'
    implementation 'com.google.firebase:firebase-auth:16.0.1'
    implementation 'com.google.firebase:firebase-firestore:17.0.1'
    implementation 'com.google.firebase:firebase-functions:16.0.1'
    implementation 'com.google.firebase:firebase-messaging:17.0.0'
    implementation 'com.google.firebase:firebase-storage:16.0.1'
    implementation 'com.google.firebase:firebase-crash:16.0.0'
    implementation 'com.google.firebase:firebase-invites:16.0.0'
    implementation 'com.google.firebase:firebase-perf:16.0.0'
    implementation 'com.google.firebase:firebase-database:16.0.1'
    implementation 'com.google.firebase:firebase-config:16.0.0'
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...