Open jamespacileo opened 10 years ago
I've just had the same problem. I just needed to delete all but one of the url schemes in info.plist and it started working
The solution and pul request of @sjburrows worked for me but now i already have my drop box app installed and always keep asking me to install the app any toughts? i get this response in the console
2015-11-13 17:18:57.227 MyApp[2041:883107] -canOpenURL: failed for URL: "dbapi-://1/chooser?k=myAppKey&linkType=direct" - error: "This app is not allowed to query for scheme dbapi-3"
as a response to my previous comment in the info.plist needs to add a whitelist of the possible url that are going to be open (iOS9 security update), for this case needs to add the following lines
<key>LSApplicationQueriesSchemes</key>
<array>
<string>dbapi-3</string>
</array>
the dbapi-3 string is for the latest version of the dropbox api
+1 for me. Everytime I build a release, the p list has lot of entries and it crashes.
I imagine this is the error you mentioned in the README.md
I'm working locally on iOS7, I've populated
APP ID
andAPP KEY
in theplugin.xml
, but unfortunately still getting the error.Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'DBChooser: WARNING multiple Dropbox url schemes found in Info.plist. Please use the method -initWithAppKey: instead.'
Not sure if this this a bug or just me not getting it.
Thanks a lot for the plugin. :)