Skip to content

feat(android): DdsSocialSignIn chooses how many methods show inline (0.12.0) - #166

Merged
jlc488 merged 1 commit into
mainfrom
feat/android-sign-in-primary-limit
Nov 19, 2026
Merged

jlc488 merged 1 commit into
mainfrom
feat/android-sign-in-primary-limit

Conversation

@jlc488

@jlc488 jlc488 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

What

DdsSocialSignIn(primaryLimit = …) sets how many sign-in methods show on the screen; the rest stay in the "more methods" sheet. The existing overloads keep three. A limit below one is rejected (require).

Docs: README (en/ko) and CHANGELOG 0.12.0 (en/ko). No release tag is pushed in this PR.

Verification (commit 5055c37)

  • node --test tests/android-tokens.test.mjs, token/icon/source checks — pass
  • ./gradlew testDebugUnitTest + lint + assemble (the CI command) + :dds-compose:compileDebugAndroidTestKotlin — BUILD SUCCESSFUL, 98 unit tests, 0 failures
  • connectedDebugAndroidTest for ScreenReaderTest on emulator dds_catalog_api36 (API 36) — 33/33 pass, including the changed sign-in test (4 inline, Microsoft in the sheet)
  • The same class on a physical phone first failed 32/33 because the phone's screen was off (Dozing); not a code result, re-run on the emulator above.

변경

DdsSocialSignIn(primaryLimit = …)로 화면에 바로 보일 로그인 수단 개수를 정합니다. 나머지는 '다른 로그인 방법' 시트에 남습니다. 기존 호출의 기본값은 그대로 3이고, 1보다 작은 값은 거부합니다.

문서: README(영/한), CHANGELOG 0.12.0(영/한). 이 PR에서 릴리스 태그는 올리지 않습니다.

검증 (커밋 5055c37)

  • 토큰·아이콘·소스 검사, testDebugUnitTest·lint·assemble(CI와 같은 명령) — 성공, 단위 테스트 98개 실패 0
  • 에뮬레이터(API 36)에서 ScreenReaderTest 33/33 통과 — 바뀐 로그인 테스트(화면 4개, Microsoft는 시트) 포함
  • 실기기에서 먼저 돌렸을 때 32/33 실패는 화면이 꺼져 있던(Dozing) 탓이라 에뮬레이터에서 다시 돌렸습니다.

…0.12.0)

primaryLimit (positive) sets how many sign-in methods sit on the screen;
the rest stay in the sheet. The existing overloads keep three.
@jlc488
jlc488 merged commit 88a97e9 into main Nov 19, 2026
3 checks passed
@jlc488
jlc488 deleted the feat/android-sign-in-primary-limit branch November 19, 2026 03:10
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.

1 participant