-
Notifications
You must be signed in to change notification settings - Fork 20
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 for the issue of wrong OTP codes #126
Conversation
Hi! Any plan for releasing this? We're facing this issue in production when building the app with Xcode 15.3. |
@@ -23,7 +23,7 @@ | |||
import Foundation | |||
|
|||
struct PushCredentials: Codable { | |||
let service = "APNS" | |||
private(set) var service = "APNS" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this being modified somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It produces warning because of conforming to Codable. It is modified in the process of state restoring. There are several ways to fix the warning (like providing default value in init), but private setter is the best option here.
Fix for the issue of wrong OTP codes
Removed other warnings in project