<?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: Dropbox api redirecting/opening the wrong Mac OS app in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201705#M9530</link>
    <description>&lt;P&gt;OK, I deleted&amp;nbsp;the&amp;nbsp;&amp;lt;APP_KEY&amp;gt; from the plist of DBMacApp then in addition trashed it for good measure.&lt;/P&gt;&lt;P&gt;Unfortunately ezReceiptMac is&amp;nbsp;still prompting to open the old app... &amp;nbsp;Do you want to allow this page to open “&lt;STRONG&gt;DBMacApp&lt;/STRONG&gt;”?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where&amp;nbsp;&lt;STRONG&gt;DBMacApp&lt;/STRONG&gt; is the old test app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what I am missing?&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2017 03:45:03 GMT</pubDate>
    <dc:creator>smithmsdb</dc:creator>
    <dc:date>2017-01-12T03:45:03Z</dc:date>
    <item>
      <title>Dropbox api redirecting/opening the wrong Mac OS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201690#M9527</link>
      <description>&lt;P&gt;Why is the Dropbox api redirecting to the wrong app?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a desktop Mac OS app called "DBMacApp" for testing purposes.&lt;/P&gt;&lt;P&gt;I worked&amp;nbsp;through the tutorial at &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c" target="_self"&gt;https://github.com/dropbox/dropbox-sdk-obj-c&lt;/A&gt; and pointed this test app to my&amp;nbsp;existing Dropbox app called "ezReceipt".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am trying to point to&amp;nbsp;another&amp;nbsp;app called "ezReceiptMac" to the same&amp;nbsp;Dropbox app called "ezReceipt".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run and activate Dropbox from "ezReceiptMac"&amp;nbsp;it still&amp;nbsp;asks to&amp;nbsp;grant permission to the old app called "DBMacApp" as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to allow this page to open "&lt;STRONG&gt;DBMacApp&lt;/STRONG&gt;"? &amp;nbsp;Cancel/Allow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I click on "Allow" it opens the old app "DBMacApp" instead of the new app "ezReceiptMac" that is currently running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is the old app being triggered to&amp;nbsp;open while running the&amp;nbsp;new app?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:26:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201690#M9527</guid>
      <dc:creator>smithmsdb</dc:creator>
      <dc:date>2019-05-29T09:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox api redirecting/opening the wrong Mac OS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201695#M9528</link>
      <description>&lt;P&gt;The app authorization flow redirect is directed by the&amp;nbsp;db-&amp;lt;APP_KEY&amp;gt; URL scheme &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c#application-plist-file" target="_self"&gt;registered in an app's plist file&lt;/A&gt;, in&amp;nbsp;the&amp;nbsp;CFBundleURLTypes section.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you have the same app key registered in both&amp;nbsp;DBMacApp and&amp;nbsp;ezReceiptMac, causing the undesired redirect. Since&amp;nbsp;DBMacApp was just for testing, the easiest solution is to just delete it. If you do want to keep it around for further testing, you should update it to&amp;nbsp;put in a different app key instead.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 01:21:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201695#M9528</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-12T01:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox api redirecting/opening the wrong Mac OS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201705#M9530</link>
      <description>&lt;P&gt;OK, I deleted&amp;nbsp;the&amp;nbsp;&amp;lt;APP_KEY&amp;gt; from the plist of DBMacApp then in addition trashed it for good measure.&lt;/P&gt;&lt;P&gt;Unfortunately ezReceiptMac is&amp;nbsp;still prompting to open the old app... &amp;nbsp;Do you want to allow this page to open “&lt;STRONG&gt;DBMacApp&lt;/STRONG&gt;”?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where&amp;nbsp;&lt;STRONG&gt;DBMacApp&lt;/STRONG&gt; is the old test app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what I am missing?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 03:45:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201705#M9530</guid>
      <dc:creator>smithmsdb</dc:creator>
      <dc:date>2017-01-12T03:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox api redirecting/opening the wrong Mac OS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201710#M9532</link>
      <description>&lt;P&gt;My Mac OS app is sandboxed so once I&amp;nbsp;enabled "Incoming" and "Outgoing" Connections and cleaned the project it worked... well sort of.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to Allow a connection to Dropbox with the new app "ezReceiptMac" using the below code snippet I now get:&amp;nbsp;Do you want to allow this page to open “(&lt;STRONG&gt;null&lt;/STRONG&gt;)”? &amp;nbsp;Cancel/Allow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I choose "Allow" I am&amp;nbsp;never directed back to the app. Why would it be saying "null" for the app name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; [DropboxClientsManager authorizeFromControllerDesktop:[NSWorkspace sharedWorkspace]
                                               controller:self
                                                  openURL:^(NSURL *url){ [[NSWorkspace sharedWorkspace] openURL:url]; }
                                              browserAuth:YES];&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Jan 2017 07:11:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201710#M9532</guid>
      <dc:creator>smithmsdb</dc:creator>
      <dc:date>2017-01-12T07:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox api redirecting/opening the wrong Mac OS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201806#M9542</link>
      <description>It looks like you opened a new thread for this, so I'll take a look and reply there:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropboxforum.com/t5/API-support/Dropbox-api-v2-null-Do-you-want-to-allow-this-page-to-open-null/m-p/201802#M9540" target="_blank"&gt;https://www.dropboxforum.com/t5/API-support/Dropbox-api-v2-null-Do-you-want-to-allow-this-page-to-open-null/m-p/201802#M9540&lt;/A&gt;</description>
      <pubDate>Thu, 12 Jan 2017 18:35:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-api-redirecting-opening-the-wrong-Mac-OS-app/m-p/201806#M9542</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-12T18:35:56Z</dc:date>
    </item>
  </channel>
</rss>

