-
Notifications
You must be signed in to change notification settings - Fork 6
Update samples, libraries for Edge-to-Edge #45
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
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e71003b
target sdk 35
cmathew 56533ef
leave apps installed to make it easier to fetch screenshots off devices
cmathew 5d5aff3
update remaining tests
cmathew 9f061fd
usused file
cmathew 0ed869d
target sdk34 but bring in androidx-activity
cmathew b17f4b0
call edgetoedge in activity
cmathew 6b0d2fe
bumpbuild JDK
cmathew f21a66d
bump CI actions again
cmathew 58a27d8
use gradle action v4
cmathew 4d0d9d8
match image with CI
cmathew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,5 +1,5 @@ | ||
| android { | ||
| compileSdkVersion 34 | ||
| compileSdkVersion 35 | ||
|
|
||
| defaultConfig { | ||
| minSdkVersion 26 | ||
|
|
||
This file contains hidden or 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 hidden or 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,6 +1,6 @@ | ||
| #Wed Jan 10 11:07:40 PST 2024 | ||
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists |
This file contains hidden or 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 hidden or 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
Binary file removed
BIN
-103 KB
screencaptor-sample-tests/src/main/res/raw/compose_dialogs_pixel7_api33.png
Binary file not shown.
Binary file added
BIN
+103 KB
screencaptor-sample-tests/src/main/res/raw/compose_dialogs_pixel7_api35.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-64.8 KB
screencaptor-sample-tests/src/main/res/raw/compose_pixel7_api33.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-12.2 KB
(89%)
screencaptor-sample-tests/src/main/res/raw/screenshot_change_image_pixel7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-13.1 KB
(85%)
screencaptor-sample-tests/src/main/res/raw/screenshot_change_text_pixel7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7.46 KB
(92%)
screencaptor-sample-tests/src/main/res/raw/screenshot_dialog_pixel7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1001 Bytes
(99%)
screencaptor-sample-tests/src/main/res/raw/screenshot_no_logo_pixel7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-12.6 KB
(88%)
screencaptor-sample-tests/src/main/res/raw/screenshot_recyclerview_pixel7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 hidden or 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
Binary file added
BIN
+10.9 KB
screencaptor-sample/src/main/res/raw/compose_robolectric_robolectric_34.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-10.9 KB
screencaptor-sample/src/main/res/raw/compose_unknown_robolectric.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 hidden or 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 hidden or 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,2 +1,2 @@ | ||
| sdk=26 | ||
| sdk=34 | ||
| qualifiers=w405dp-h720dp-xxhdpi |
This file contains hidden or 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,54 +1,53 @@ | ||
| plugins { | ||
| alias(libs.plugins.androidLibrary) | ||
| alias(libs.plugins.kotlinAndroid) | ||
| alias(libs.plugins.compose.compiler) | ||
| alias(libs.plugins.androidLibrary) | ||
| alias(libs.plugins.kotlinAndroid) | ||
| alias(libs.plugins.compose.compiler) | ||
| } | ||
|
|
||
| apply(from = "../gradle/gradle-mvn-push.gradle") | ||
| apply(from = "../gradle/android-module.gradle") | ||
|
|
||
| android { | ||
| namespace = "com.wealthfront.screencaptor" | ||
| resourcePrefix = "screencaptor" | ||
| namespace = "com.wealthfront.screencaptor" | ||
| resourcePrefix = "screencaptor" | ||
|
|
||
| defaultConfig { | ||
| testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
| } | ||
| defaultConfig { | ||
| testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
| } | ||
|
|
||
| buildFeatures { | ||
| compose = true | ||
| } | ||
| buildFeatures { | ||
| compose = true | ||
| } | ||
|
|
||
| publishing { | ||
| singleVariant("release") { | ||
| withSourcesJar() | ||
| } | ||
| publishing { | ||
| singleVariant("release") { | ||
| withSourcesJar() | ||
| } | ||
| } | ||
| } | ||
|
|
||
| dependencies { | ||
| implementation(libs.recyclerview) | ||
| implementation(libs.screenshotty) | ||
| implementation(libs.espresso.core) | ||
| implementation(libs.espresso.contrib) | ||
| implementation(libs.appcompat) | ||
|
|
||
| testImplementation(libs.robolectric) | ||
| testImplementation(libs.androidx.test) | ||
| testImplementation(libs.androidx.test.ktx) | ||
| testImplementation(libs.junit) | ||
| testImplementation(libs.truth) | ||
| testImplementation(libs.androidx.test.rules) | ||
| testImplementation(libs.androidx.test.junit) | ||
| testImplementation(libs.compose.junit4) | ||
|
|
||
| implementation(platform(libs.compose.bom)) | ||
| implementation(libs.compose.foundation) | ||
| implementation(libs.compose.ui) | ||
| implementation(libs.compose.tooling) | ||
| implementation(libs.compose.tooling.preview) | ||
| implementation(libs.compose.material) | ||
| implementation(libs.compose.material3) | ||
| implementation(libs.compose.manifest) | ||
| implementation(libs.compose.junit4) | ||
| implementation(libs.recyclerview) | ||
| implementation(libs.screenshotty) | ||
| implementation(libs.espresso.core) | ||
| implementation(libs.espresso.contrib) | ||
|
|
||
| testImplementation(libs.robolectric) | ||
| testImplementation(libs.androidx.test) | ||
| testImplementation(libs.androidx.test.ktx) | ||
| testImplementation(libs.junit) | ||
| testImplementation(libs.truth) | ||
| testImplementation(libs.androidx.test.rules) | ||
| testImplementation(libs.androidx.test.junit) | ||
| testImplementation(libs.compose.junit4) | ||
|
|
||
| implementation(platform(libs.compose.bom)) | ||
| implementation(libs.compose.foundation) | ||
| implementation(libs.compose.ui) | ||
| implementation(libs.compose.tooling) | ||
| implementation(libs.compose.tooling.preview) | ||
| implementation(libs.compose.material) | ||
| implementation(libs.compose.material3) | ||
| implementation(libs.compose.manifest) | ||
| implementation(libs.compose.junit4) | ||
| } |
This file contains hidden or 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,2 @@ | ||
| sdk=26 | ||
| sdk=34 | ||
| qualifiers=w405dp-h720dp-xxhdpi |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this allows us to collect screenshots off devices after instrumented tests (androidTest) finish