mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 01:15:54 +03:00
Explicitely specify unifiedpush pusher app id
We use the upstream pusher_app_id for their sygnal, but we do not need to do this for unifiedpush, so we can explicitely define the SchildiChat package here. Change-Id: Ib56fcde242a584514978ccbdd7e8b337fa7c6529
This commit is contained in:
parent
8215c786b2
commit
3cdf4f9d24
2 changed files with 8 additions and 3 deletions
|
@ -68,11 +68,10 @@ class PushersManager @Inject constructor(
|
|||
}
|
||||
|
||||
private fun getPusherAppId(context: Context) : String {
|
||||
val appId = stringProvider.getString(R.string.pusher_app_id)
|
||||
return if (UPHelper.isEmbeddedDistributor(context)) {
|
||||
appId
|
||||
stringProvider.getString(R.string.pusher_app_id)
|
||||
} else {
|
||||
"$appId.up"
|
||||
stringProvider.getString(R.string.up_pusher_app_id)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
6
vector/src/main/res/values/config_sc.xml
Executable file
6
vector/src/main/res/values/config_sc.xml
Executable file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="up_pusher_app_id" translatable="false">de.spiritcroc.riotx.up</string>
|
||||
|
||||
</resources>
|
Loading…
Reference in a new issue