dropbox / dropbox/dropbox-sdk-obj-c
ObjectiveDropboxOfficial cannot authorize my app when dropbox app is installed in same device
- Dominant language
- Objective-C
- Stars
- 186
- Forks
- 118
- Avg merge
- 3m
- Merged PRs (30d)
- 9
Description
I integrated ObjectiveDropboxOfficial SDK of dropbox into my app. I followed the dropbox tutorial provided and was able to authorize the app and do further dropbox operations like upload and download.
It worked well.
But if the same app is installed in a device which already has dropbox app installed, then the app is unable to get authorize from dropbox.
When my app call following code:
```
[DBClientsManager authorizeFromController:[UIApplication sharedApplication]
controller:[[self class] topMostController]
openURL:^(NSURL *url) {
[[UIApplication sharedApplication] openURL:url];
}];
```
The app goes to background and dropbox app gets open asking to allow access for dropbox. Here is the screenshot

When i tap allow, it goes back to my app and nothing happens. So, i again try to access dropbox in my app, it again goes to dropbox app and again ask for authorization. So, my app never gets authorized with dropbox.
Is there anyone, who faced similar problem while integrating ObjectiveDropboxOfficial SDK? Is there any cure for this?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.