Dropbox in-app authentication

Is there a way to authenticate the user in the Dropbox app on the iPhone?

I am using the Dropbox IOS instruction to integrate Dropbox.

But my app was rejected by Apple as "the app goes to Safari to authenticate the Dropbox user account."

Please give me some solution so that I can authenticate Dropbox inside the application.

+4
source share
1 answer

Yes, you can authenticate the dropbox in the app. Dropbox's new API is authenticated internally.

Below is the method when you want to open dropbox.so, just write this method and assign this action to the button, and the rest of the delegate labels can be found at https://www.dropbox.com/developers/start/authentication#ios

-(IBAction)goDropBox { //DBSession* dbSession = [[DBSession sharedSession] unlinkAll]; // if (![[DBSession sharedSession] isLinked]) // { [[DBSession sharedSession] linkFromController:self]; // } } 

Happy coding !!!!!!

+6
source