<?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: Objective-C SDK crash in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480338#M24234</link>
    <description>&lt;P&gt;Thanks for the report! To make sure I can reproduce the exact issue you're seeing, can you share the code snippet you're running that triggers this, and indicate on which line in particular it happens?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you mentioned you installed the SDK "by manually copying all the classes". Are you referring to &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c#manually-add-subproject" target="_self"&gt;the "Manually add subproject" installation method&lt;/A&gt;? If not, the SDK may not be installed correctly. We only officially support &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c#sdk-distribution" target="_self"&gt;the installation methods listed here&lt;/A&gt;. If you're not using one of those, please switch to one of them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And, you mentioned you're using commit 500. We&amp;nbsp;recommend only installing a particular release version though, not a particular commit version, e.g., from master. The latest release version is v5.0.4. Please try installing&amp;nbsp;v5.0.4 via an officially supported installation method and let me know if the issue issue still occurs.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2020 20:29:28 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-12-17T20:29:28Z</dc:date>
    <item>
      <title>Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480297#M24228</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;in my project I am using the Objective-C SDK: I am updating the app to use scopes and short lived tokens. I added the SDK to the project by manually copying all the classes.&lt;/P&gt;
&lt;P&gt;I am getting a really strange crash I have never seen before. The crash occurs when I try to connect my app to Dropbox. When my app is called back after the authorization flow it always crashes. For what I understand, the problem is within the method "+ (DBTransportDefaultConfig *)transportConfig" of the class "DBClientsManager". At runtime the returned instance is of a different type, and is not of the type "DBTransportDefaultConfig". So when you use it within the private method "db_addAuthorizedClientWithToken", the app crashes. With the debugger I can see the instance is of the right class ("DBTransportDefaultConfig") when it is saved with the method "+ (void)setTransportConfig:", so it is really strange. Also, if I run the app again (after the crash) it doesn't crash anymore and it is connected to Dropbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The crash occurs on Xcode 12.2 and 12.3, with iOS 14.2 and 14.3. I have updated all the classes to the latest version (commit 500).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you and best regards,&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 03.png" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/19832i7CFCFE2215B3968D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 03.png" alt="Screenshot 03.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 01.png" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/19833iEA7AEE1B902A58D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 01.png" alt="Screenshot 01.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 02.png" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/19834i81914EDF60B0860C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 02.png" alt="Screenshot 02.png" /&gt;&lt;/span&gt;&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>Thu, 17 Dec 2020 18:04:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480297#M24228</guid>
      <dc:creator>Samnis</dc:creator>
      <dc:date>2020-12-17T18:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480338#M24234</link>
      <description>&lt;P&gt;Thanks for the report! To make sure I can reproduce the exact issue you're seeing, can you share the code snippet you're running that triggers this, and indicate on which line in particular it happens?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you mentioned you installed the SDK "by manually copying all the classes". Are you referring to &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c#manually-add-subproject" target="_self"&gt;the "Manually add subproject" installation method&lt;/A&gt;? If not, the SDK may not be installed correctly. We only officially support &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c#sdk-distribution" target="_self"&gt;the installation methods listed here&lt;/A&gt;. If you're not using one of those, please switch to one of them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And, you mentioned you're using commit 500. We&amp;nbsp;recommend only installing a particular release version though, not a particular commit version, e.g., from master. The latest release version is v5.0.4. Please try installing&amp;nbsp;v5.0.4 via an officially supported installation method and let me know if the issue issue still occurs.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 20:29:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480338#M24234</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-12-17T20:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480358#M24236</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;thank you for your answer. Yes, I installed the latest&amp;nbsp;&lt;SPAN&gt;release (version v5.0.4). I installed it manually by following the steps of the pod file, so it shouldn't be an installation problem. Infact, as said with the previous message, the crash only occurs just after&amp;nbsp;my app is called back after the authorization flow. If I run again the app there are no crashes and the app is correctly linked to Dropbox.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The exact line that triggers the crash is the line 43 of the class&amp;nbsp;&lt;A title="DBTransportBaseClient" href="https://github.com/dropbox/dropbox-sdk-obj-c/blob/master/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.m#L43" target="_self"&gt;DBTransportBaseClient&lt;/A&gt;&amp;nbsp;: this is the first line in which the parameter "&lt;SPAN class="pl-smi"&gt;transportConfig&lt;/SPAN&gt;" is used, and the crash occurs because at runtime the parameter is of a different class, not the "DBTransportBaseConfig" one, and so it crashes because the instance doesn't have an "&lt;SPAN class="pl-smi"&gt;appKey&lt;/SPAN&gt;" method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Mario&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 22:01:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480358#M24236</guid>
      <dc:creator>Samnis</dc:creator>
      <dc:date>2020-12-17T22:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480574#M24247</link>
      <description>&lt;P&gt;Thanks for following up. First, when you say you "installed it manually by following the steps of the pod file", do you mean you followed &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c#cocoapods" target="_self"&gt;the "CocoaPods" installation method instructions&lt;/A&gt; in particular?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I understand you saw the issue occur in&amp;nbsp;DBTransportBaseClient, but it would be helpful to know what code you were running yourself, and on which line of that the issue occurred. For instance, you said it "occurs just after my app is called back after the authorization flow", so it sounds like it's&amp;nbsp;occurring during &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c#handle-redirect-back-into-sdk" target="_self"&gt;the "Handle redirect back into SDK" step&lt;/A&gt;. Is that correct? For example, is it&amp;nbsp;occurring when your app calls "handleRedirectURL", or something else? Please share the relevant code you're running (not in the&amp;nbsp;Dropbox SDK itself) for reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These additional details for how to replicate your scenario would be useful, since this issue doesn't reproduce for me. I've installed the official&amp;nbsp;Dropbox Objective-C SDK v5.0.4 &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c#cocoapods" target="_self"&gt;using CocoaPods&lt;/A&gt; into a project, set up the authorization flow &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c#configure-your-project" target="_self"&gt;as documented&lt;/A&gt;, and run the project using Xcode 12.3 on a device running iOS 14.2, and it doesn't crash for me.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 16:44:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480574#M24247</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-12-18T16:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480591#M24249</link>
      <description>&lt;P&gt;Yes, I installed it by manually following the steps of the pod file of the "CocoaPods" installation method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the crash occurs during the "handle redirect back into SDK". The code I use for managing the redirect is the following (it is a method of the app delegate):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary&amp;lt;UIApplicationOpenURLOptionsKey, id&amp;gt; *)options {
    DBOAuthCompletion completion = ^(DBOAuthResult *authResult) {
        if (authResult != nil) {
            if ([authResult isSuccess]) {
                // update the flag
                self.automaticallyUpdateDropboxInfo = YES;
            }
            else if ([authResult isCancel]) {
                // log
                // ...
            }
            else if ([authResult isError]) {
                // log
                // ...
            }
        }
    };
    BOOL canHandle = [DBClientsManager handleRedirectURL:url completion:completion];
    return canHandle;
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also add the code I use to begin the authorization flow. I don't think it is the problem, but who knows... The code is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;- (void)linkUser {
    DBScopeRequest *scopeRequest = [[DBScopeRequest alloc] initWithScopeType:DBScopeTypeUser
                                                                      scopes:@[@"account_info.read",
                                                                               @"files.metadata.read",
                                                                               @"files.metadata.write",
                                                                               @"files.content.read",
                                                                               @"files.content.write"]
                                                        includeGrantedScopes:NO];
    [DBClientsManager authorizeFromControllerV2:[UIApplication sharedApplication]
                                     controller:[self getRootViewController]
                          loadingStatusDelegate:nil
                                        openURL:^(NSURL *url) {
                                                      [[UIApplication sharedApplication] openURL:url
                                                            options:[NSDictionary dictionary] completionHandler:nil];
                                                }
                                   scopeRequest:scopeRequest];
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help, I am stuck on this since a week... Thank you very much,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Mario&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 17:58:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480591#M24249</guid>
      <dc:creator>Samnis</dc:creator>
      <dc:date>2020-12-18T17:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480593#M24250</link>
      <description>&lt;P&gt;PS: I have installed the Dropbox app into my device, and I am logged into it. So the official Dropbox app takes part to the&lt;SPAN&gt;&amp;nbsp;authentication flow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Mario&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 18:02:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480593#M24250</guid>
      <dc:creator>Samnis</dc:creator>
      <dc:date>2020-12-18T18:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480612#M24252</link>
      <description>&lt;P&gt;Thanks! This all looks correct. I also just tried copying these snippets into my own sample project here though to be sure, but I still can't reproduce the issue. (And I also have the official&amp;nbsp;Dropbox iOS app installed, handling the app authorization flow.)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, just to confirm, you're calling&amp;nbsp;DBClientsManager setupWithAppKey in didFinishLaunchingWithOptions, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's unclear why this would be occurring, as these unexpected classes (NSSQLiteStatementCache, NSContentSizeLayoutConstraint, and UICTFontDescriptor) seem to be from system frameworks (such as Core Data and Foundation). The&amp;nbsp;Dropbox Objective-C SDK doesn't reference these classes at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A few more things to try to narrow this down:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Is this reliably reproducible for you, or does it only happen on random attempts?&lt;/LI&gt;
&lt;LI&gt;Have you tried this on multiple devices? Have you tried it in the simulator?&lt;/LI&gt;
&lt;LI&gt;Have you tried completely uninstalling and reinstalling the&amp;nbsp;Dropbox SDK?&lt;/LI&gt;
&lt;LI&gt;Do you have any non-standard&amp;nbsp; project settings? Does this also occur for you if you set it up in a new project?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 18 Dec 2020 19:27:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480612#M24252</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-12-18T19:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480626#M24254</link>
      <description>&lt;P&gt;Thank you very much, Greg.&lt;/P&gt;&lt;P&gt;In the following days I'll try all the things you suggested. And I'll let you know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Mario&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 20:59:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/480626#M24254</guid>
      <dc:creator>Samnis</dc:creator>
      <dc:date>2020-12-18T20:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/484080#M24352</link>
      <description>&lt;P&gt;Hi Greg, some updates:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Now it works: to fix the problem I completely uninstalled the Dropbox SDK and reinstalled it with Cocoapods. Nothing else worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I am&amp;nbsp;&lt;SPAN&gt;calling&amp;nbsp;DBClientsManager.setupWithAppKey in app delegate "&lt;/SPAN&gt;applicationDidBecomeActive:&lt;SPAN&gt;", but this shouldn't be a problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- The crash was 100% reproducible. I tried it on multiple devices, iPhones and iPads, and it crashed every time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much for your help &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Mario&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 11:28:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/484080#M24352</guid>
      <dc:creator>Samnis</dc:creator>
      <dc:date>2021-01-04T11:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/484082#M24353</link>
      <description>&lt;P&gt;Another question: if I update the configuration of my production app to use scopes and short-lived tokens, what happens to users who never update the app? Will they be able to connect the app to Dropbox in following weeks, or they will get an error? And what will happen after September 30, 2021?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Mario&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 11:34:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/484082#M24353</guid>
      <dc:creator>Samnis</dc:creator>
      <dc:date>2021-01-04T11:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/484218#M24361</link>
      <description>&lt;P&gt;Any users using old versions of your app will continue to be able to use it without issue for now. Once you switch the&amp;nbsp; "Access token expiration" setting for your app on &lt;A href="https://www.dropbox.com/developers/apps" target="_self"&gt;the App Console&lt;/A&gt;&amp;nbsp;to "Short-lived", or on&amp;nbsp;September 30, 2021, whichever comes first, users using old versions of your app should still be able to use it, but they'll start&amp;nbsp;receiving short-lived access tokens when they process the app authorization flow, instead of long-lived access tokens. Short-lived access tokens only last for four hours, at which point further API calls will fail, and the app will&amp;nbsp;receive an&amp;nbsp;DBAUTHAuthError (like it would currently if the user unlinks the app from their account). Exactly how your app handles that error depends on how you've programmed it. E.g., it may prompt the user to re-authorize the app.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 17:44:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/484218#M24361</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-01-04T17:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/485118#M24379</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;please tell me if I am wrong.&lt;/P&gt;&lt;P&gt;I have updated the code of the app to use short-lived tokens, and I will release the update on the App Store in a few days.&lt;/P&gt;&lt;P&gt;But I haven't updated the app on the console of my Dropbox account. If so, users who update the app can connect it to Dropbox, or I need to&amp;nbsp;updated the app on the console and set the&amp;nbsp;&lt;SPAN&gt;"Access token expiration"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to "Short-lived"&lt;/SPAN&gt;? To recap, I would release the updated app on the App Store with the code using short-lived tokens, but without setting the&amp;nbsp;&lt;SPAN&gt;"Access token expiration"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to "Short-lived" on the console. There is something wrong about it? Or I need to&amp;nbsp;set the&amp;nbsp;"Access token expiration"&amp;nbsp;to "Short-lived" before releasing the app update on the App Store? Is this mandatory?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Mario&lt;/SPAN&gt;&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>Thu, 07 Jan 2021 11:53:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/485118#M24379</guid>
      <dc:creator>Samnis</dc:creator>
      <dc:date>2021-01-07T11:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/485242#M24382</link>
      <description>&lt;P&gt;You are not required to change the&amp;nbsp; "Access token expiration" setting for your app. If you do not change it, existing users on old versions of your app will continue using the old flow, and users on the updated version of the app will use the new flow. If you do not change it, nothing will change for old versions of your app until&amp;nbsp;September 30th, 2021.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 16:44:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/485242#M24382</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-01-07T16:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Objective-C SDK crash</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/485336#M24386</link>
      <description>&lt;P&gt;Ok, thank you very much Greg.&lt;/P&gt;&lt;P&gt;I'll leave the setting as is, and I only publish the new version of the app. This seems the best approach&amp;nbsp;to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Mario&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>Thu, 07 Jan 2021 20:11:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-SDK-crash/m-p/485336#M24386</guid>
      <dc:creator>Samnis</dc:creator>
      <dc:date>2021-01-07T20:11:34Z</dc:date>
    </item>
  </channel>
</rss>

