We use Dropbox Datastore API in our application and it works correctly. We've decided to add a iOS8 widget to our app. But we can't access to app datastore from it. We followed Datastore API install guide, except that you can't add URL Schema to a widget. What is problem?
UPDATE 1
When the below code (in the widget) runs, it returns nil:
DBAccount *account = [[DBAccountManager sharedManager] linkedAccount];
So I think Dropbox SDK can't retrieval authentication data, which it has saved when authentication is done at host app. Where does dropbox save these information? In keychain? Can I get access token from the host app and use it directly in widget? Because widgets can show a UIViewController for doing authentication.
UPDATE 2
I read Dropbox Core API source code. It seems dropbox saves authentication information in keychain. So I set a keychain group for host app and widget. I tested and both of them can read and write on same keychain. But still [[DBAccountManager sharedManager] linkedAccount] on the widget returns null and on the host app return linked account!