<?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: openURL closure of DropboxClientsManager.authorizeFromController(_:controller:openURL:) not exec in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/openURL-closure-of-DropboxClientsManager-authorizeFromController/m-p/301911#M18264</link>
    <description>&lt;P&gt;That code will only get run once the user returns to your app after authorizing it in the app authorization flow. Are you successfully completing the app authorization flow?&lt;/P&gt;
&lt;P&gt;First, please make sure you've implemented all of&amp;nbsp;the pieces as documented here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/SwiftyDropbox#handling-the-authorization-flow" target="_blank"&gt;https://github.com/dropbox/SwiftyDropbox#handling-the-authorization-flow&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Note that whether the flow is handled by the browser or by the official Dropbox app, the flow works the same way; the user is redirected back to your app, and that code block should be run.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 15:39:17 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-10-08T15:39:17Z</dc:date>
    <item>
      <title>openURL closure of DropboxClientsManager.authorizeFromController(_:controller:openURL:) not executed</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/openURL-closure-of-DropboxClientsManager-authorizeFromController/m-p/301585#M18255</link>
      <description>&lt;P&gt;I have this code:&lt;/P&gt;&lt;PRE&gt;    DropboxClientsManager.authorizeFromController(UIApplication.shared, controller: self) {
        
        (url: URL) in
        
        print("**!!!**")

        UIApplication.shared.open(url, options: [:]) {
            
            success in
            
            print("**!!!")
            
            self.navigationItem.prompt = "**!!!"

        }

        print("*****")
        
        self.navigationItem.prompt = "*****"

    }&lt;/PRE&gt;&lt;P&gt;I don't think the closure is running at all. It is the openURL argument. None of the print statements show. None of the changes to navigationItem.prompt show. When I comment the intire UIApplication.shared.open(url:options:completionHandler:) statement, there are no changes.&lt;/P&gt;&lt;P&gt;Does anyone know what the matter is?&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:10:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/openURL-closure-of-DropboxClientsManager-authorizeFromController/m-p/301585#M18255</guid>
      <dc:creator>ShinehahGnolaum</dc:creator>
      <dc:date>2019-05-29T09:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: openURL closure of DropboxClientsManager.authorizeFromController(_:controller:openURL:) not exec</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/openURL-closure-of-DropboxClientsManager-authorizeFromController/m-p/301596#M18256</link>
      <description>&lt;P&gt;I think the last reply of this post answers the question:&amp;nbsp;&lt;A href="https://www.dropboxforum.com/t5/API-Support-Feedback/DropboxClientsManager-authorizeFromController-not-doing-anything/m-p/216766/highlight/true#M11267" target="_self"&gt;#M11267&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Is it correct that if the Dropbox app is not installed then openURL is not called?&lt;/P&gt;</description>
      <pubDate>Sat, 06 Oct 2018 11:45:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/openURL-closure-of-DropboxClientsManager-authorizeFromController/m-p/301596#M18256</guid>
      <dc:creator>ShinehahGnolaum</dc:creator>
      <dc:date>2018-10-06T11:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: openURL closure of DropboxClientsManager.authorizeFromController(_:controller:openURL:) not exec</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/openURL-closure-of-DropboxClientsManager-authorizeFromController/m-p/301911#M18264</link>
      <description>&lt;P&gt;That code will only get run once the user returns to your app after authorizing it in the app authorization flow. Are you successfully completing the app authorization flow?&lt;/P&gt;
&lt;P&gt;First, please make sure you've implemented all of&amp;nbsp;the pieces as documented here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/SwiftyDropbox#handling-the-authorization-flow" target="_blank"&gt;https://github.com/dropbox/SwiftyDropbox#handling-the-authorization-flow&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Note that whether the flow is handled by the browser or by the official Dropbox app, the flow works the same way; the user is redirected back to your app, and that code block should be run.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 15:39:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/openURL-closure-of-DropboxClientsManager-authorizeFromController/m-p/301911#M18264</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-10-08T15:39:17Z</dc:date>
    </item>
  </channel>
</rss>

