Getting an error in integrating DropBox into iphone application

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

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

Can someone help me solve this problem?

+8
ios objective-c iphone app-id dropbox-api
source share
6 answers

In most cases, this problem occurs due to an incorrectly configured Info.plist file. Can you follow the /index.html documentation about changing the Info.plist file? In info plist install db-xpt9oxj57x9ftci in urltype (urlschema). That should do the trick.

+19
source share

I am googled and Dropbox sdk has a line specifically adding an application key to your application plist file.

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

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

+4
source share

I found this solution.

I work with Xamarin in Windows Visual Studio 2015, and as presented in other queries on the Internet, the URL scheme option is missing. Thus, the solution is to manually modify the info.plist file. Your specific plbox schema should look like this:

 <key>LSApplicationQueriesSchemes</key> <array> <string>dbapi-2</string> <string>dbapi-8-emm</string> </array> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLSchemes</key> <array> <string>db-APP_KEY</string> </array> </dict> </array> 

A great helper to get this information was "info.plist" for this . This "info" modification should work for any xamarin project.

+2
source share

If you correct any typos or forget the "db" and are still experiencing problems, cleaning and rebuilding can help.

0
source share

Your URL scheme should be db-<Your App key> . Example db-a7ghdtthegj6z1g

0
source share

I had this problem just now, and it was made a space before the db prefix. It is hard to see in the plist editor, but very obvious when I looked at XML.

0
source share

All Articles