- Подключён ru.rustore.sdk:pushclient:7.4.0 (репозиторий Rustore). - SvxApp: канал svx_push и инициализация RuStorePushClient с project_id; push-токен устройства сохраняется в настройках. - PushMessagingService (RuStoreMessagingService): onNewToken, onMessageReceived (data-only пуши показываем сами), onDeletedMessages, onError. - Манифест: сервис, значок/канал по умолчанию, android.useAndroidX=true (зависимость тянет androidx). - README: как рассылать пуши через vkpns.rustore.ru API.
19 lines
413 B
Kotlin
19 lines
413 B
Kotlin
pluginManagement {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven("https://nexus-external.rustore.ru/repository/maven-rustore-exposed/")
|
|
}
|
|
}
|
|
|
|
rootProject.name = "SvxRemote"
|
|
include(":app") |