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

W-16171426: [Android] Update Native Login Sample App to include QR Code Login Flow #417

Conversation

JohnsonEricAtSalesforce
Copy link
Contributor

@JohnsonEricAtSalesforce JohnsonEricAtSalesforce commented Jul 22, 2024

🎸 Ready For Review! 🥁

This is a companion to forcedotcom/SalesforceMobileSDK-Android#2594. Do read that in detail before beginning here.

This adds commented code to the Android Native Kotlin template detailing how to enable login via a UI Bridge API generated log in QR code. This is web login specific, so when I chatted with @wmathurin regarding which template this should live in, we easily ruled out the newer Native Login Template. It's also an optional feature that builds logically on the Android Native Kotlin Template, so having it commented out in this context seems to make sense without adding too much clutter.

I used a consistent comment phrase throughout to make it easier to document how to find all the touch points in the template. With those commented out, the template behaves as it does on dev. For anyone wanting to test, just checkout one earlier commit to test with a fully working configuration.

@JohnsonEricAtSalesforce
Copy link
Contributor Author

It's worth noting I did intend to include commits from the spike performed by @wmathurin. I rebased his branch on dev before adding my own commits. Plus, a squash will make this very tidy on dev when we're done while preserving his history here.

@JohnsonEricAtSalesforce JohnsonEricAtSalesforce force-pushed the feature/w-16171426_android-update-native-login-sample-app-to-include-qr-code-login-flow branch from 8c55911 to 3d60973 Compare July 22, 2024 21:13
@JohnsonEricAtSalesforce JohnsonEricAtSalesforce force-pushed the feature/w-16171426_android-update-native-login-sample-app-to-include-qr-code-login-flow branch from 3d60973 to 3049445 Compare July 22, 2024 22:00
@JohnsonEricAtSalesforce
Copy link
Contributor Author

Hold merging this to dev and the 12.1.0 codebase until we confirm the iOS version will also make it in time for the release.

wmathurin and others added 7 commits September 20, 2024 12:40
…de Login Flow (Documentation Comments To Enable Log In Via UI Bridge API Generated QR Codes)
…de Login Flow (Comment Out Log In Via UI Bridge API Generated QR Codes)
…de Login Flow (Comment In Bulk Of Log In Via UI Bridge API Generated QR Codes)
@JohnsonEricAtSalesforce JohnsonEricAtSalesforce force-pushed the feature/w-16171426_android-update-native-login-sample-app-to-include-qr-code-login-flow branch from 78507b6 to 1d33bf1 Compare September 20, 2024 20:57
@JohnsonEricAtSalesforce JohnsonEricAtSalesforce merged commit 284f9aa into forcedotcom:dev Oct 2, 2024
3 checks passed
@JohnsonEricAtSalesforce JohnsonEricAtSalesforce deleted the feature/w-16171426_android-update-native-login-sample-app-to-include-qr-code-login-flow branch October 2, 2024 23:04
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.

3 participants