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

Deprecated Legacy 1Password Manager Functionality #572

Merged
merged 4 commits into from
Sep 26, 2019

Conversation

cocojoe
Copy link
Member

@cocojoe cocojoe commented Sep 17, 2019

Changes

Legacy OnePassword support has been removed, due to use of deprecated methods that are resulting in Apple Developer submission errors for iOS 13.

Password Manager support was added in iOS 12 at the OS level. So the previous functionality has been superseded and there are no updates on the original 1Password extension repo to address.

The options are now dummy options and will show a deprecation warning:

Screenshot 2019-09-24 at 10 06 58

References

#568
https://community.auth0.com/t/lock-v2-ios-deprecated-api-usage-uiwebview-apis/30563

Testing

N/A

Checklist

@cocojoe cocojoe requested a review from a team September 17, 2019 17:03
@cocojoe cocojoe added this to the vNext milestone Sep 17, 2019
Copy link

@stevehobbsdev stevehobbsdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, I'd just recommend fixing some very minor formatting/typo issues in the readme.

Co-Authored-By: Steve Hobbs <[email protected]>
@cocojoe
Copy link
Member Author

cocojoe commented Sep 18, 2019

@damieng can you review the changes from the customer perspective please. Interested in your thoughts as it does impact the Public API. Thanks

@cocojoe cocojoe changed the title Removed Legacy OnePasswordManager Functionality [DO NOT MERGE] Removed Legacy OnePasswordManager Functionality Sep 20, 2019
@damieng
Copy link
Contributor

damieng commented Sep 20, 2019

As discussed in Zoom - but adding here for historical/record keeping - we should remove the functionality but leave enough code in that existing apps continue to compile/work ideally with a compiler warning.

Then remove the actual stub in the next major to ensure no breaking changes.

@damieng damieng closed this Sep 20, 2019
@damieng damieng reopened this Sep 20, 2019
Restore OnePassword Class, now a dummy class, removed from codecov
@cocojoe cocojoe changed the title [DO NOT MERGE] Removed Legacy OnePasswordManager Functionality Deprecated Legacy 1Password Manager Functionality Sep 24, 2019
@cocojoe
Copy link
Member Author

cocojoe commented Sep 24, 2019

@damieng please re-review

@@ -96,7 +93,7 @@ class DatabasePresenter: Presentable, Loggable {
self.messagePresenter?.hideCurrent()
let authCollectionView = self.authPresenter?.newViewToEmbed(withInsets: UIEdgeInsets(top: 0, left: 20, bottom: 0, right: 20), isLogin: true)
let style = self.database.requiresUsername ? self.options.usernameStyle : [.Email]
view.showLogin(withIdentifierStyle: style, identifier: identifier, authCollectionView: authCollectionView, showPassswordManager: self.passwordManager.available, showPassword: self.options.allowShowPassword)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐍

@cocojoe cocojoe merged commit e6e1000 into master Sep 26, 2019
@cocojoe cocojoe mentioned this pull request Sep 30, 2019
@cocojoe cocojoe deleted the remove-one-password branch September 30, 2019 11:44
@joshcanhelp joshcanhelp added review:medium Medium review and removed medium labels Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants