Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
CarolinaK
9 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-...
- 9 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?
- 9 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
Dropbox Community Moderator
9 years agoThanks 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!
CarolinaK
9 years agoHelpful | Level 6
Hi 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!
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-DB9 years ago
Dropbox Community Moderator
Thanks! 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?- CarolinaK9 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.- Greg-DB9 years ago
Dropbox Community Moderator
Thanks, 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?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!