Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
3ernd
8 years agoNew member | Level 2
Swift SDK macOS auth in own WebView
Hi there! I use the SwiftyDropbox SDK. My App was rejected, because the auth flow opens the safari browser. I was requested to use my own Safari View Controller to display the login dialog. As...
- 8 years agoThe SwiftyDropbox SDK should already be compliant with Apple's rules. For example, it does already use SFSafariViewController on iOS. (Make sure you're using the latest version of SwiftyDropbox though, currently v4.2.1.)
You mentioned that this is for macOS though. To my understanding, macOS does not offer SFSafariViewController. This seems to be confirmed by the SFSafariViewController documentation, which only lists iOS, not macOS:
https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller
I recommend requesting clarification from Apple on this.
Greg-DB
Dropbox Community Moderator
8 years agoThe SwiftyDropbox SDK should already be compliant with Apple's rules. For example, it does already use SFSafariViewController on iOS. (Make sure you're using the latest version of SwiftyDropbox though, currently v4.2.1.)
You mentioned that this is for macOS though. To my understanding, macOS does not offer SFSafariViewController. This seems to be confirmed by the SFSafariViewController documentation, which only lists iOS, not macOS:
https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller
I recommend requesting clarification from Apple on this.
You mentioned that this is for macOS though. To my understanding, macOS does not offer SFSafariViewController. This seems to be confirmed by the SFSafariViewController documentation, which only lists iOS, not macOS:
https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller
I recommend requesting clarification from Apple on this.
- 3ernd8 years agoNew member | Level 2Apple let the App through after i referenced the Dropbox SDK, which states that opening a browser is the only auth method on macOS. It was enough to answer to them. It took 2 Days for them react.
Thank You for your help.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!