Skip to content

Commit

Permalink
Handle services error
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Apr 11, 2023
1 parent 2a1927a commit 16530b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ android {
prepaid {}
traccar {
applicationId 'org.traccar.gateway'
versionCode 11
versionName '5.3'
versionCode 12
versionName '5.4'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ class GatewayActivity : SimpleActivity() {
setupToolbar(gateway_toolbar, NavigationIcon.Arrow)

FirebaseMessaging.getInstance().token.addOnCompleteListener { task ->
gateway_cloud_key.text = task.result
if (task.isSuccessful) {
gateway_cloud_key.text = task.result
}
}

gateway_local_key.text = getKey()
Expand Down

0 comments on commit 16530b6

Please sign in to comment.