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

UIWebview is depricated #351

Closed
Shalena opened this issue Jan 13, 2022 · 4 comments
Closed

UIWebview is depricated #351

Shalena opened this issue Jan 13, 2022 · 4 comments

Comments

@Shalena
Copy link

Shalena commented Jan 13, 2022

Hi guys,
I uploaded build using your library and was rejected with the reason “Please, remove the UIWebview”
Can you replace it in your code please?
Thank you for support
Olena Ostrozhynska

@greg-db
Copy link
Contributor

greg-db commented Jan 13, 2022

Can you share more information about this issue? Specifically, what use of UIWebview are you referring to? The SwiftyDropbox source code does not contain any reference to UIWebview.

@Shalena
Copy link
Author

Shalena commented Jan 14, 2022

Sure, here is my information:
I use Xcode 13.1
My podfile consists of the only pod at the current moment - pod 'SwiftyDropbox'.
After pod install I got SwiftyDropbox (8.2.1) and Alamofire (5.4.4).
After that I check my build this way:
In command line:
cd ~/Library/Developer/Xcode/Archives/2022-01-14
I have my only archive Upload 14.01.2022, 00.09.xcarchive
grep -R UIWebView *
My results:
Binary file Upload 14.01.2022, 00.09.xcarchive/dSYMs/SwiftyDropbox.framework.dSYM/Contents/Resources/DWARF/SwiftyDropbox matches
Binary file Upload 14.01.2022, 00.09.xcarchive/dSYMs/Alamofire.framework.dSYM/Contents/Resources/DWARF/Alamofire matches
My own code doesn't have reference to UIWebView
Don't you use UIWebView for login to Dropbox?
Uploading files to the Dropbox is the main feature of my project, so I can't remove SwiftyDropbox
Thank you for quick response)

@greg-db
Copy link
Contributor

greg-db commented Jan 14, 2022

Thanks for following up with the additional information. I'm still not sure what UIWebview reference this is though. I also don't see any UIWebview reference in Alamofire either.

In any case, no, SwiftyDropbox does not use UIWebview. If you're referring to the web browser used to process the OAuth app authorization flow (when the official Dropbox iOS app is not installed), that's a SFSafariViewController, not a UIWebview.

Did Apple provide any other information that you can share? I also can't say why your archive contains that string when our code doesn't; perhaps Apple can provide some guidance on that.

@julianlocke
Copy link
Contributor

The latest version of SwiftyDropbox no longer includes Alamofire. Read more about it here: https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Major-SwiftyDropbox-update-available/td-p/737816

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

No branches or pull requests

3 participants