Closed gazzer82 closed 9 years ago
Hi Gareth,
Dropbox should definitely work. I just tested the idiomatic app in the App Store, and I know some other projects testing at the moment. Double check your keys.
Do you have the Dropbox app installed? If you do, the SDK should throw you to that first. If not, it should display a web view.
Make sure the app bundle is unique and is what you register at Dropbox.
Apps at Dropbox start in dev mode and have to be explicitly put into production mode.
Drew
Actually it appears to just be an issue in the simulator, just tried the app on an actual iPhone and it seems to be working as expected.
Ok so i have been playing with the Dropbox functionality and i have found the following:
iOS7.1 on physical device no dropbox application installed, web view allows login and sync seems to work.
iOS7.1 on physical device with dropbox application installed, Dropbox app allows login and sync seems to work.
iOS7.1 in the Simulator no dropbox application installed, web view displays error message saying "This app is not valid!", therefor sync doesn't work. (Both in Xcode 5 and Xcode 6)
iOS8 on physical device no dropbox application installed, web view displays error message saying "This app is not valid!", therefor sync doesn't work.
iOS8 on physical device with dropbox application installed, Dropbox app displays an error stating "Error loading app info - An unknown error occurred.
So there does appear to be something odd going on, this was tested using the un-touched version of the idiomatic app from a clone of the github repository, as well as a version with the credentials updated to my own.
I can also confirm the same behaviour on iOS8 using the app directly from the App Store, again iOS 7.1 seems unaffected.
Cheers
Gareth
I'll do some testing with iOS 8 today.
Drew
I got the same error on iOS 8 beta, so I checked the latest SDK, and there is a 1.3.11. Downloading that and replacing the github version fixed the issue. That is what I recommend you do for the time being. You can find it here: https://www.dropbox.com/developers/core/sdks/ios
Make sure you install it in the write place (hint: there are two different DropboxSDK folders).
I will see what I can do about getting the github repo up-to-date. Unfortunately, it seems Cocoapods is also a version behind...
OK, I updated the DropboxSDK on github, and it all seems to work now.
If you checked the code out of github, issue this command to update: git submodule update --init
Hi,
I have just begun evaluating ensembles as a replacement for Simperium in our current projects. As a first step i have fired up the Idiomatic sample application, however i am getting a "Application Is Not Valid" error when i try to enable sync using Dropbox.
I have set the Dropbox application Key and Secret, as well as modifying the URL scheme to match.
Any ideas, i have created the app on Dropbox following the instructions in the sample PDF?
Thanks
Gareth