Downgrade firebase-messaging

use NC specific user agent for Push

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2020-12-07 09:24:24 +01:00 committed by Andy Scherzinger
parent 1c4e5dd810
commit fd306758ba
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,4 @@
dependencies {
implementation "com.google.firebase:firebase-messaging:20.2.4"
// upon each update first test: new registration, receive push
implementation "com.google.firebase:firebase-messaging:20.1.3"
}

View File

@ -242,7 +242,8 @@ public final class PushUtils {
context.getResources().getString(R.string.push_server_url),
token, pushResponse.getDeviceIdentifier(),
pushResponse.getSignature(),
pushResponse.getPublicKey())
pushResponse.getPublicKey(),
MainApp.getUserAgent())
.run();
if (resultProxy.isSuccess()) {