You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

DylanAshe's avatar
DylanAshe
New member | Level 2
7 years ago

#define kShouldPrintReachabilityFlags 1

ObjectiveDropboxOfficial (3.9.1) Cocoapod's DBSDKReachability.m has this line of code:

 

#define kShouldPrintReachabilityFlags 1

Unfortunately, now when reachability is used, reachability status is dumped to the console:

2018-09-20 13:50:20.276079-0700 XXXX[46488:3471796] DBSDKReachability Flag Status: -R ------- networkStatusForFlags
2018-09-20 13:50:20.279623-0700 XXXX[46488:3471796] DBSDKReachability Flag Status: -R ------- networkStatusForFlags
2018-09-20 13:50:20.283761-0700 XXXX[46488:3471796] DBSDKReachability Flag Status: -R ------- networkStatusForFlags

In our case, not just one, but dozens and dozens -- polluting it our logs -- and hiding other valuble logging information.

We request that you give us a way to turn off the logging by testing if the define is set before setting it:

#ifndef kShouldPrintReachabilityFlags
#define kShouldPrintReachabilityFlags 1
#endif

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for writing this up! I can't make any promises, but I'll send this along as a feature request to the team. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,879 PostsLatest Activity: 41 minutes ago
326 Following

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 or Facebook.

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!