wire-android icon indicating copy to clipboard operation
wire-android copied to clipboard

feat: Add debug button send FCM token #WPB-9476

Open damian-kaczmarek opened this issue 1 year ago • 6 comments

TaskWPB-9476 Add a button in the debug settings screen to re-register the FCM push token with the backend

What's new in this PR?

Issues

Add button in debug settings that sends FCM push token to the API. If it fails error is displayed.

Needs releases with:

  • [ ] https://github.com/wireapp/kalium/pull/3050

Testing

How to Test

In debug settings there should be new button at the bottom of the screen. It sends the FCM push token to the API

Attachments (Optional)

Before After
image image

PR Post Submission Checklist for internal contributors (Optional)

  • [ ] Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • [ ] If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

damian-kaczmarek avatar Oct 04 '24 07:10 damian-kaczmarek

Codecov Report

Attention: Patch coverage is 76.19048% with 5 lines in your changes missing coverage. Please review.

Project coverage is 44.81%. Comparing base (98234f1) to head (773d9f3). Report is 52 commits behind head on develop.

Files with missing lines Patch % Lines
...wire/android/ui/debug/DebugDataOptionsViewModel.kt 88.88% 2 Missing :warning:
...e/android/services/WireFirebaseMessagingService.kt 0.00% 2 Missing :warning:
.../src/main/kotlin/com/wire/android/util/FileUtil.kt 0.00% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3482      +/-   ##
===========================================
+ Coverage    44.43%   44.81%   +0.38%     
===========================================
  Files          466      466              
  Lines        15744    15766      +22     
  Branches      2653     2654       +1     
===========================================
+ Hits          6996     7066      +70     
+ Misses        7991     7939      -52     
- Partials       757      761       +4     
Files with missing lines Coverage Δ
.../src/main/kotlin/com/wire/android/util/FileUtil.kt 18.38% <0.00%> (ø)
...wire/android/ui/debug/DebugDataOptionsViewModel.kt 48.69% <88.88%> (+48.69%) :arrow_up:
...e/android/services/WireFirebaseMessagingService.kt 0.00% <0.00%> (ø)

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 98234f1...773d9f3. Read the comment docs.

codecov-commenter avatar Oct 04 '24 11:10 codecov-commenter

Built wire-android-staging-compat-pr-3482.apk is available for download

github-actions[bot] avatar Oct 04 '24 11:10 github-actions[bot]

Built wire-android-dev-debug-pr-3482.apk is available for download

github-actions[bot] avatar Oct 04 '24 11:10 github-actions[bot]

Built wire-android-staging-compat-pr-3482.apk is available for download

github-actions[bot] avatar Oct 04 '24 12:10 github-actions[bot]

Built wire-android-dev-debug-pr-3482.apk is available for download

github-actions[bot] avatar Oct 04 '24 12:10 github-actions[bot]

Built wire-android-staging-compat-pr-3482.apk is available for download

github-actions[bot] avatar Oct 07 '24 07:10 github-actions[bot]

Built wire-android-dev-debug-pr-3482.apk is available for download

github-actions[bot] avatar Oct 07 '24 07:10 github-actions[bot]

Built wire-android-staging-compat-pr-3482.apk is available for download

github-actions[bot] avatar Oct 08 '24 10:10 github-actions[bot]

Built wire-android-dev-debug-pr-3482.apk is available for download

github-actions[bot] avatar Oct 08 '24 10:10 github-actions[bot]

Built wire-android-staging-compat-pr-3482.apk is available for download

github-actions[bot] avatar Oct 08 '24 16:10 github-actions[bot]

Built wire-android-dev-debug-pr-3482.apk is available for download

github-actions[bot] avatar Oct 08 '24 16:10 github-actions[bot]

Built wire-android-staging-compat-pr-3482.apk is available for download

github-actions[bot] avatar Oct 09 '24 14:10 github-actions[bot]

Built wire-android-dev-debug-pr-3482.apk is available for download

github-actions[bot] avatar Oct 09 '24 14:10 github-actions[bot]

Built wire-android-staging-compat-pr-3482.apk is available for download

github-actions[bot] avatar Oct 10 '24 09:10 github-actions[bot]

Built wire-android-dev-debug-pr-3482.apk is available for download

github-actions[bot] avatar Oct 10 '24 09:10 github-actions[bot]