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
CarolinaK
8 years agoHelpful | Level 6
iOS 9.3 Objective Dropbox Official not redirecting to login
In my app, I am testing a migration to v2 and the authorization works very well on the simulator. But once I run the app on my ipod (iOS 9.3), I notice that the only console message I get is
2017-...
- 8 years agoThanks, it sounds like it is probably specific to that device then. Do you have any restrictions/parental controls enabled on that device currently by any chance?
- 8 years agoFor reference, I've determined that it's the "Websites" > "Specific Websites Only" (without Dropbox allowed) that causes this. I'll ask the team to look into making this fail with some feedback.
Greg-DB
8 years agoDropbox Staff
Thanks for the report! Those three lines should be safe to ignore. The first one is just checking the network availability, and the other two are checking for the official Dropbox app, but the "null" error means nothing is wrong.
Can you elaborate a bit on what happens though? Is the openURL block getting called at all?
Also, please try the DBRoulette sample app and let us know if it reproduces the same issue on that device:
https://github.com/dropbox/dropbox-sdk-obj-c/tree/master/Examples/DBRoulette
Finally, have you tried on another device to see if it's specific to that device? Thanks in advance!
Can you elaborate a bit on what happens though? Is the openURL block getting called at all?
Also, please try the DBRoulette sample app and let us know if it reproduces the same issue on that device:
https://github.com/dropbox/dropbox-sdk-obj-c/tree/master/Examples/DBRoulette
Finally, have you tried on another device to see if it's specific to that device? Thanks in advance!
- CarolinaK8 years agoHelpful | Level 6Hi Greg!
Update: I was able to login successfully on another device with iOS 10.3. What's happening is that once the app opens the url to go to the login page for dropbox (I don't have the app installed, so safari opens up by default) it just stops loading the login page and returns to my app as if I hit the back button or cancelled the request.
As I was debugging, I noticed open URL is not getting called. It is getting called in the simulator for 10.3 and 9.3 so I'm not really sure what could be happening other than issues with the device itself.
Thanks for the quick response!- Greg-DB8 years agoDropbox StaffThanks! I haven't heard of this behavior happening before so we'll have to look into it.
Just to confirm though, can you try the sample app on that device? It would be good to know if there's something just specific to that device, or if it's something about that combination of iOS version and your code.
Also what version number of the SDK are you using?- CarolinaK8 years agoHelpful | Level 6
I'm using v2 SDK. I cloned the master branch on github.
Also tried to run DBRoulette with cocoapods on the troublesome device (ipod iOS model A1421 version 9.3) and it had the same issue when trying to link my dropbox account.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 4 days agoIf 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!