-
Notifications
You must be signed in to change notification settings - Fork 732
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
Feature/5575 custom auth params for sign up #5577
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR!
Added currentRegistrationSessionId into RegistrationWizard to add possibility to perform custom sign up stage
See my comment, I think this is not necesary to expose the sessionId
to the app.
Added registrationOther into RegistrationWizard to send custom auth params for sign up
OK
Moved terms converter into api package to make it accessible in sdk
As far as I understand, converter
is not used by the SDK even after the change in this PR. So why do you want to move this code to the SDK?
Last points:
- can you sign-off your PR else, I will not be able to merge it. Thank!
- can you add a file for the changelog with extension .sdk ? See the contributing doc to get more info about that.
...sdk-android/src/main/java/org/matrix/android/sdk/api/auth/registration/RegistrationWizard.kt
Outdated
Show resolved
Hide resolved
...src/main/java/org/matrix/android/sdk/internal/auth/registration/DefaultRegistrationWizard.kt
Show resolved
Hide resolved
...sdk-android/src/main/java/org/matrix/android/sdk/api/auth/registration/RegistrationWizard.kt
Show resolved
Hide resolved
Yep, just made this mapping accessible for others sdk users. Using this in my current project to build terms list. |
...sdk-android/src/main/java/org/matrix/android/sdk/api/auth/registration/RegistrationWizard.kt
Outdated
Show resolved
Hide resolved
...sdk-android/src/main/java/org/matrix/android/sdk/api/auth/registration/RegistrationWizard.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your update. There is still some renaming to do. Also there is a conflict to fix, can you handle it please?
Once done, I think we will be able to merge your PR. Thanks!
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/AuthAPI.kt
Outdated
Show resolved
Hide resolved
...src/main/java/org/matrix/android/sdk/internal/auth/registration/DefaultRegistrationWizard.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: Benoit Marty <[email protected]>
c694493
to
1b21569
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update!
Type of change
Content
Motivation and context
#5575
Screenshots / GIFs
Tests
I am using matrix-android-sdk2 in my current project as a local module. Tested different sign up stages on real device and emulator
Tested devices
Pixel 3 Android 12
Checklist