Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

getting error in DropBox integration to the iphone app

I am trying to integrate the DropBox to my iPhone app. But I get error like

[ERROR] DropboxSDK: unable to link; app isn't registered for correct URL scheme (db-xpt9oxj57x9ftci)

Can anyone help me to solve this?

like image 293
user7388 Avatar asked Dec 25 '12 07:12

user7388


2 Answers

Most of the time that problem is caused by a misconfigured Info.plist file. Can you make sure you've followed the documentation/index.html about changing Info.plist file? In info plist set db-xpt9oxj57x9ftci in urltype (urlschema). That should do the trick.

like image 60
MacN00b Avatar answered Sep 29 '22 16:09

MacN00b


I googled and the Dropbox sdk has the line specifically to add the the app key in your app plist file

Your app key is also needed in DBRoulette-Info.plist file so the app can register for the correct url scheme. To do this, find the file under the Resources group in the left pane, right-click it and select Open As → Source Code. Replace the text APP_KEY with your app's key

https://www.dropbox.com/developers/start/setup#ios

like image 38
Shubhank Avatar answered Sep 29 '22 16:09

Shubhank