Box SDK:The same ClientID for iOS&Android
We need the same app name in Box Dev console so we have one Box App(ClientID etc).
My colleague have created iOS app to work with Box using Box iOS SDK. This one is working fine. I try to create the same App for Android using Box Android SDK. For iOS we should use specific Redirect URI.
From iOS SDK:
"Find the 'redirect_uri' field, also in the 'OAuth2 Parameters' section. Make sure it is populated with the expected format: boxsdk-YOUR_CLIENT_ID_HERE://boxsdkoauth2redirect. This is needed for authentication to work in your app. The SDK expects this pattern."
So I should use redirect_uri like in iOS. I got next message(Toast) in my app during connection to Box:
and nevertheless I got the session token and can browsing on Box cloud.
Can we use the same redirect_uri(the same Box App) for iOS and Android? What should I do for that in Android app?
Please sign in to leave a comment.
Comments
0 comments