Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix state handling on logout, always display nearby devices button, remove Mock Web Service #40

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

Supereg
Copy link
Member

@Supereg Supereg commented Oct 30, 2023

Fix state handling on logout, always display nearby devices button, remove Mock Web Service

♻️ Current situation & Problem

The app doesn't reset state that is only maintained for an authenticate used account. This causes some permission errors to pop up.

Additionally, the PR removes the MockWebService and some FeatureFlags that weren't used anymore or don't make sense anymore.

⚙️ Release Notes

  • Fixed an issue where an access permission popped up after signing out.
  • Minor code improvements.

📚 Documentation

--

✅ Testing

--

Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

@Supereg Supereg changed the title Fix state handling on logout, always display nearby devices button Fix state handling on logout, always display nearby devices button, remove Mock Web Service Oct 31, 2023
@codecov
Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #40 (59bac4a) into main (3769b1a) will increase coverage by 0.03%.
The diff coverage is 96.88%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   85.71%   85.74%   +0.03%     
==========================================
  Files          69       68       -1     
  Lines        2505     2474      -31     
==========================================
- Hits         2147     2121      -26     
+ Misses        358      353       -5     
Files Coverage Δ
NAMS/Account/AccountButton.swift 100.00% <ø> (ø)
NAMS/Contacts/Contacts.swift 91.49% <100.00%> (-0.34%) ⬇️
NAMS/Home.swift 92.19% <100.00%> (-0.66%) ⬇️
NAMS/NAMSApp.swift 100.00% <100.00%> (ø)
NAMS/NAMSStandard.swift 100.00% <ø> (ø)
NAMS/Onboarding/OnboardingFlow.swift 100.00% <100.00%> (ø)
NAMS/ScheduleView.swift 98.39% <100.00%> (-0.09%) ⬇️
NAMS/NAMSAppDelegate.swift 96.88% <92.86%> (-0.18%) ⬇️

... and 2 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 3769b1a...59bac4a. Read the comment docs.

@Supereg Supereg merged commit e84b2a5 into main Oct 31, 2023
7 checks passed
@Supereg Supereg deleted the fix/account-logout-error branch October 31, 2023 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant