Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send Java SDK & Target SDK Versions In App2App Auth #470

Merged
merged 2 commits into from
Oct 6, 2022

Conversation

handstandsam
Copy link
Contributor

@handstandsam handstandsam commented Oct 6, 2022

Sending additional information (targetSdk and Java Sdk Versions) to the Dropbox App during authentication.

Here is a debug printout of one of these intents now:

15:19:10.442  I  --- Intent ---
15:19:10.442  I  type: null
15:19:10.442  I  package: com.dropbox.android
15:19:10.442  I  scheme: null
15:19:10.442  I  component: ComponentInfo{com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}
15:19:10.442  I  flags: 0
15:19:10.442  I  categories: null
15:19:10.442  I  selector: null
15:19:10.442  I  action: com.dropbox.android.AUTHENTICATE_V2
15:19:10.442  I  dataString: null
15:19:10.442  I  * extra: DESIRED_UID=null
15:19:10.442  I  * extra: TARGET_SDK_VERSION=33
15:19:10.442  I  * extra: AUTH_STATE=oauth2code:vmiHjrnoF62FMETwoyHHlOJ-DLPldBOq5BHfRWCKHCA:S256:offline:account_info.read files.content.write files.content.read sharing.read
15:19:10.442  I  * extra: DROPBOX_SDK_JAVA_VERSION=5.4.3-SNAPSHOT
15:19:10.442  I  * extra: ALREADY_AUTHED_UIDS=[Ljava.lang.String;@e6ab6d7
15:19:10.442  I  * extra: CONSUMER_KEY=...
15:19:10.442  I  * extra: CONSUMER_SIG=
15:19:10.442  I  * extra: CALLING_CLASS=com.dropbox.core.android.AuthActivity
15:19:10.442  I  * extra: AUTH_QUERY_PARAMS=code_challenge=...&code_challenge_method=S256&token_access_type=offline&response_type=code&scope=account_info.read files.content.write files.content.read sharing.read
15:19:10.442  I  * extra: CALLING_PACKAGE=com.dropbox.core.examples.android
15:19:10.442  I  * extra: SESSION_ID=null

@handstandsam handstandsam changed the title Send Java SDK & Target SDK Versions Send Java SDK & Target SDK Versions In App2App Auth Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant