<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Swift SDK macOS auth in own WebView in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Swift-SDK-macOS-auth-in-own-WebView/m-p/248606#M14272</link>
    <description>Apple 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.&lt;BR /&gt;&lt;BR /&gt;Thank You for your help.</description>
    <pubDate>Sun, 22 Oct 2017 11:07:44 GMT</pubDate>
    <dc:creator>3ernd</dc:creator>
    <dc:date>2017-10-22T11:07:44Z</dc:date>
    <item>
      <title>Swift SDK macOS auth in own WebView</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Swift-SDK-macOS-auth-in-own-WebView/m-p/247868#M14206</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the SwiftyDropbox SDK.&lt;/P&gt;&lt;P&gt;My App was rejected, because the auth flow opens the safari browser.&lt;/P&gt;&lt;P&gt;I&amp;nbsp;was requested to use my own&amp;nbsp;&lt;SPAN&gt;Safari View Controller to display the login dialog.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As i understand the SDK, this is not possible as the SDK opens the default browser itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to use an own window?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should i object to the rejection?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for any advice.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is what i got from Apple:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;To resolve this issue, please revise your app to enable users to sign in or register for an account in the app.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;We recommend implementing the Safari View Controller API to display web content within your app. The Safari View Controller allows the display of a URL and inspection of the certificate from an embedded browser in an app so that customers can verify the webpage URL and SSL certificate to confirm they are entering their sign in credentials into a legitimate page.&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:18:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Swift-SDK-macOS-auth-in-own-WebView/m-p/247868#M14206</guid>
      <dc:creator>3ernd</dc:creator>
      <dc:date>2019-05-29T09:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Swift SDK macOS auth in own WebView</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Swift-SDK-macOS-auth-in-own-WebView/m-p/247946#M14215</link>
      <description>The 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.)&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller" target="_blank"&gt;https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I recommend requesting clarification from Apple on this.</description>
      <pubDate>Thu, 19 Oct 2017 15:58:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Swift-SDK-macOS-auth-in-own-WebView/m-p/247946#M14215</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-19T15:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Swift SDK macOS auth in own WebView</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Swift-SDK-macOS-auth-in-own-WebView/m-p/248606#M14272</link>
      <description>Apple 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.&lt;BR /&gt;&lt;BR /&gt;Thank You for your help.</description>
      <pubDate>Sun, 22 Oct 2017 11:07:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Swift-SDK-macOS-auth-in-own-WebView/m-p/248606#M14272</guid>
      <dc:creator>3ernd</dc:creator>
      <dc:date>2017-10-22T11:07:44Z</dc:date>
    </item>
  </channel>
</rss>

