-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New UI Instructions Screen (#449) * setting up paparazzi * setting up v3 instruction screen * added selfie capture screen ui and tests * add v2 UI * bump up VERSION (#455) * Bump the androidx group with 5 updates (#454) * Bump the agp group with 2 updates (#453) * add instruction screen to new ui * duplicate theme and cleaning up * updated selfie capture flow * updated tests --------- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix Insecure Object Serialization (#456) * fix unsecure object serialization * updated CHANGELOG.md * updated CHANGELOG.md * bump up version (#457) * Bump peter-evans/create-pull-request in the github-actions group (#458) * bump up agp version (#459) * Bump com.slack.lint.compose:compose-lint-checks in the all group (#461) * Bump the androidx group with 5 updates (#460) * Bump the kotlin group with 5 updates (#462) * Bump the all group with 4 updates (#464) * feat: scale document bitmaps based on available memory (#465) * feat: scale document bitmaps based on available memory * chore: fix docv tests * feat: refactor on capture get memory first * chore: undo test crashlytics * fix: throw oom error when encountered * chore: update changelog * Update CHANGELOG.md Co-authored-by: Ed Fricker <[email protected]> --------- Co-authored-by: Ed Fricker <[email protected]> * chore: bump sdk version to 10.3.3 (#467) * Bump io.github.ujizin:camposer from 0.4.1 to 0.4.2 in the all group (#470) * Bump the androidx group with 3 updates (#469) * Bump the agp group with 2 updates (#468) * Inflow Navigation (#401) * feat:sdk-navigation * feat: type safe nav wip * fix: undo tests renaming * feat: custom nav types * feat: working nav * feat:replace composables for enrollment with graph nav * feat: main graph and reusable composble for nav * feat: bump compose nav versions * feat: refactor with seperation between orchestrated and indvidual screens * fix: tests * chore: bump compose navigation version * feat: docs * feat: main nav fixes * feat: nav complete * feat: nav complete * feat: nav complete * fix: unit tests for doc v and enhanced doc v * feat: callbacks fixes * feat: compose stack fixes and retries * feat: pr feedback fixes * feat: merge main * feat: fix transition issue delay * fix: nav cancelled actions * feat: pop transitions * feat: pop transitions on orch nav --------- Co-authored-by: Juma Allan <[email protected]> * feat: bump version to 10.3.3 (#473) * feat: bump version to 10.3.3 * feat: changelog format * feat: bump snapshot version (#474) * Bump the all group with 3 updates (#472) * Bump org.jetbrains.kotlinx:kotlinx-serialization-json in the all group (#477) * Bump the agp group with 2 updates (#475) * Bump com.google.devtools.ksp in the kotlin group (#471) * Bump the androidx group with 8 updates (#476) * feat: skip api submission (#478) * prep: release 10.3.4 (#479) * Smart Selfie Capture Flow (#497) * reworking smart selfie flow * code formatting and linting * updated capture flow to show animations * mark submitJob as non suspend * reworking directives and lottie animations * reworking shape indicator v2 * updated lottie animations * cleaned up animations and capture ui * updated hints to show different states * cleaning up progress updates * cleaning up animations * updated haptic feedback * updated the progress to make it more natural * cleaning up the background and flaky animations * updated naming * updated the animations lottie files * fixed the progress bars not filling up well * fixed portrait lock on image * make progress update faster and fixed orientation lottie * updated the force brightness composable to keep the screen on * added metadata and updated strings * revert nav changes * bump up to 10.4.0 * updated extension class and theming * updated changelog * updated ktlint version * disable linting temporarily * disable linting temporarily * cleaning up * fixed broken tests * update preview * fixed device spec * added cancel button * fixed inconsistent document type setup * updated changelog * renamed enhanced view model * cleaning up * update camera metadata * updated build configs * updated ktlint setup * updated ktlint setup * disable ktlint * fixed lint issue * fixed lint issues * updated changelog --------- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JNdhlovu <[email protected]> Co-authored-by: Ed Fricker <[email protected]>
- Loading branch information
1 parent
0e0152c
commit 0d261fd
Showing
55 changed files
with
1,794 additions
and
909 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
10.3.8-SNAPSHOT | ||
10.4.0-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...oidTest/java/com/smileidentity/compose/selfie/enhanced/SelfieCaptureScreenEnhancedTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package com.smileidentity.compose.selfie.enhanced | ||
|
||
import androidx.compose.ui.test.assertIsDisplayed | ||
import androidx.compose.ui.test.junit4.createComposeRule | ||
import androidx.compose.ui.test.onNodeWithText | ||
import com.smileidentity.SmileID | ||
import com.smileidentity.compose.components.SmileThemeSurface | ||
import com.smileidentity.compose.theme.colorScheme | ||
import com.smileidentity.compose.theme.typography | ||
import org.junit.Rule | ||
import org.junit.Test | ||
|
||
class SelfieCaptureScreenEnhancedTest { | ||
@get:Rule | ||
val composeTestRule = createComposeRule() | ||
|
||
@Test | ||
fun shouldShowInstructions() { | ||
// given | ||
val instructionsSubstring = | ||
"Position your head in the camera view. Then move in the direction that is indicated" | ||
|
||
// when | ||
composeTestRule.setContent { | ||
SmileThemeSurface( | ||
SmileID.colorScheme, | ||
SmileID.typography, | ||
) { | ||
SelfieCaptureInstructionScreenEnhanced {} | ||
} | ||
} | ||
|
||
// then | ||
composeTestRule.onNodeWithText(instructionsSubstring, substring = true).assertIsDisplayed() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.