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

Remove source application check due to not supported on iOS 13 #97

Merged
merged 2 commits into from
Aug 23, 2019

Conversation

onevcat
Copy link
Member

@onevcat onevcat commented Aug 23, 2019

.sourceApplication is not provided anymore on iOS 13 if the destination app and source app do not have the same team identifier. I guess it is for privacy consideration, but it indeed breaks our implementation on source app verification.

This PR removes the double-check on the source app ID.

@onevcat
Copy link
Member Author

onevcat commented Aug 23, 2019

Ref:

https://forums.developer.apple.com/thread/119054 , https://forums.developer.apple.com/thread/119118

https://developer.apple.com/documentation/uikit/uiapplication/openurloptionskey/1623128-sourceapplication

If the team identifier of the originating app is different than the team identifier of the current app, the value of the key is nil.

It is an intended (or say, hidden) change in iOS 13: https://developer.apple.com/videos/play/wwdc2019/708/

Copy link
Contributor

@eJamesLin eJamesLin left a comment

Choose a reason for hiding this comment

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

🙆‍♂

@onevcat onevcat merged commit c6a93db into master Aug 23, 2019
@onevcat onevcat deleted the fix/source-app-validation branch August 23, 2019 07:41
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.

2 participants