Mercury Li
0fe9f19b50
Fix instrumented tests: move screenshotTesting out of commonTest
...
Move core:screenshotTesting from commonTest to androidUnitTest dependencies
to prevent Robolectric's LocalPermissionGranter from leaking into the
instrumented test classpath via KotlinSourceSetTree.test. Add explicit
espresso-core dependency to androidInstrumentedTest.
3 weeks ago
Mercury Li
a0ac3e1474
Upgrade dependencies to latest Kotlin 2.1.20 compatible versions
...
Upgrade build toolchain (Gradle 8.13, AGP 8.13.0, Kotlin 2.1.20, KSP 2.1.20-1.0.32),
Compose Multiplatform 1.8.0, and all core/test/AndroidX libraries to their latest versions
compatible with Kotlin 2.1.20. Fix all resulting API breakages including Koin 4.1.0 startup,
material3-adaptive suspend navigation, JVM target consistency, and AGP managed device API changes.
3 weeks ago
Mercury Li
0450aa4873
Fix NavigationTest and ForYou screenshot test CI failures
...
- Migrate NavigationTest from Hilt to Koin injection: replace @Inject
with KoinTest.inject(), add koin-test dependency, add NewsRepository
import
- Catch RuntimeException in screenshot accessibility checks to prevent
ATF instrumentation failures from blocking screenshot capture
3 weeks ago
Mercury Li
b60153218c
Fix CI build after KMP migration and Compose Multiplatform 1.7.3 upgrade
...
- Remove demo/prod flavor references from CI workflow (flavors were
removed during KMP migration)
- Replace tasks.create with tasks.register in convention plugins to fix
EagerGradleConfiguration lint error
- Remove HiltTestApplication references from screenshot and UI tests
(Hilt was replaced by Koin)
- Add Compose plugins to core:screenshot-testing for inline method
resolution
- Add androidx.navigation.testing dependency to feature:topic and
feature:interests for SavedStateHandle.toRoute
- Fix ViewModel tests in commonTest by setting up Dispatchers.Main
(bookmarks, settings)
- Uncomment TopicRoute in TopicViewModelTest SavedStateHandle setup
- Replace NavDestination.id with type-safe popUpTo<ForYouBaseRoute> in
NiaAppState (id property removed in KMP navigation)
- Rename badging golden file from prodRelease to release
- Update dependency guard baselines
- Update AGENTS.md with corrected task names
3 weeks ago
lihenggui
3f7e1620a1
Merge remote-tracking branch 'upstream/main'
1 year ago
lihenggui
6ce4db17fb
Spotless
1 year ago
lihenggui
0c691b9676
Merge remote-tracking branch 'upstream/main'
1 year ago
Roberto Orgiu
dc7dd3fefd
Merge pull request #1702 from tiwiz/update-drag-and-drop
...
Simplify Drag&Drop implementation
1 year ago
Rob Orgiu
7770f83fa5
Updates dependencies baseline
1 year ago
Rob Orgiu
31c4f05872
Simplify Drag&Drop implementation
1 year ago
Don Turner
904e6fccee
Merge pull request #1730 from seve-andre/force-dark-opt-out
...
Opt out of Force Dark mode
1 year ago
renovate[bot]
149e759ae0
🤖 Updates baselines for Dependency Guard
1 year ago
Don Turner
d15c739812
Merge pull request #1625 from blue928sky/move-nia-app-state-test
...
Move Android instrumented test NiaAppStateTest to unit test
1 year ago
renovate[bot]
89e68b2fd2
🤖 Updates baselines for Dependency Guard
1 year ago
Andrea Severi
38dcac5340
remove API 29 themes.xml
1 year ago
Andrea Severi
67646f3fd5
replace version code with api level
1 year ago
Don Turner
140be73bc9
Merge pull request #1762 from android/renovate/all
...
Update all dependencies 4.29.1 to v4.29.2
1 year ago
Tomáš Mlynarič
917e12c50e
Merge pull request #1369 from android/mlykotom/optimize-startup
...
Optimize startup by preventing whole screen recomposing twice
1 year ago
renovate[bot]
a991f6bbf4
🤖 Updates baselines for Dependency Guard
1 year ago
renovate[bot]
494d55af4c
🤖 Updates baselines for Dependency Guard
1 year ago
Don Turner
4277366b7c
Merge pull request #1729 from takahirom/takahirom/update-sdk-35/2024-12-11
...
Update SDK 35 with Theme Fixing
1 year ago
Don Turner
b786cb87cd
Update badging
1 year ago
Tomáš Mlynarič
b2c71025b5
Merge branch 'main' into mlykotom/optimize-startup
...
Change-Id: If8e49d8c5e3873657aef3592c2202839f70e7be9
# Conflicts:
# app/src/main/kotlin/com/google/samples/apps/nowinandroid/MainActivity.kt
1 year ago
gibachan
a17574305c
Remove vectorDrawables.useSupportLibrary = true
1 year ago
Ben Weiss
d8b735f80e
Revert "Improve accessibility to ForYou topics ( #1309 )" ( #1732 )
...
This reverts commit 48544194f4 .
1 year ago
takahirom
5e73c76acd
🤖 Updates screenshots
1 year ago
Don Turner
013424896c
Merge pull request #1050 from android/bw/threadPolicy
...
Enable the thread police 👮 for debug builds
1 year ago
Jaehwa Noh
48544194f4
Improve accessibility to ForYou topics ( #1309 )
...
* Clear semantics.
Change-Id: I69a48798f6be8433e877c38166bd73cd776d71ac
* Merge the descendants semantics.
Change-Id: Ifbe91bb694b393e6780f93732a7d38f5ee355680
* Add string for icon description.
Change-Id: Ibf35c651aeacfbe317794ed898f0fb0e8bc1ec15
* Change icon description.
Change-Id: I9359bf8c9272b247669ae58fd79e5f79466ec0a9
* Change state of icon check logic.
Change-Id: I3e5e89fc1c469c3f3c4744d18f697f68d070996b
* Merge only text.
Change-Id: I36eefc6dd9f56f7a1f63003f0f95f6755ae16def
* Add stateDescription.
Change-Id: Id4d32e49374dbdb6e666048937e37060cbd4b454
* Add toggleableState.
Change-Id: I9f836e2463bf800786d11f9e0997a7d570ff90b0
* Set clearAndSetSemantics at Row.
Change-Id: Ic25b9ca11bbcc40c8ff24172669b07ea9b7642a9
* Set stateDescription "Following" and "Not Following".
Change-Id: Ib82ac94b05a5d373ac10787aac5241fb4f03c7b2
* Find topic by onNodeWithContentDescription.
Change-Id: I2423e3846c02169f6bf1fc30d9b4034b5f79efb3
* Find topic by onNodeWithContentDescription.
Change-Id: Iefc97fd9e52227f51f7d40f8c10cb4878cde90c0
1 year ago
Ben Weiss
27a05c416e
Extract strict mode policy into function
...
Change-Id: If170b2b05859ebfca7bc91ccc790be5b43a1b772
1 year ago
Ben Weiss
225f05e697
Update app/src/main/kotlin/com/google/samples/apps/nowinandroid/NiaApplication.kt
...
Co-authored-by: Don Turner <dturner@users.noreply.github.com>
1 year ago
Andrea Severi
1927b6d9bd
fix xml spotless check
1 year ago
Don Turner
462440e990
Merge pull request #1695 from gibachan/remove-redundant-annotations
...
Remove redundant annotations
1 year ago
Ben Weiss
e8035622b3
Enable the thread police 👮 for debug builds
...
* App will now crash if someone does funky stuff on the main thread.
Change-Id: I9026c100705f2fec6963a1d888b40906186f9d28
1 year ago
Andrea Severi
95ab14601f
opt out of forced dark mode
1 year ago
takahirom
e0f30acddd
Target SDK 35
1 year ago
Tram Bui
0e52982866
Merge branch 'main' into trambui/navigation-null-debug
1 year ago
lihenggui
a87dcda7eb
Merge remote-tracking branch 'upstream/main'
1 year ago
Tram Bui
827d3d66e2
incorporate safe fallback destination to null destination UI flickering
1 year ago
Ben Weiss
4a0723441f
Dependency version upgrades, not API 35 yet ( #1719 )
...
* Update screenshots
Change-Id: Ibed7889a3389ab6044e00a185158f36ce857b6b2
* Dependency version upgrades
Change-Id: Ib4a1f9bef1dd3e1736907479125d0abb5b22e9bd
* Address review comments
Change-Id: Ia2c6a52e289285a7a78336fa4250fa6a04ccb5c4
* 🤖 Updates baselines for Dependency Guard
* 🤖 Updates screenshots
1 year ago
Ben Weiss
729681b79a
Revert "Bump protobuf from 4.26.1 to 4.28.2 ( #1630 )"
...
This reverts commit 82b6352da1 .
1 year ago
blue928sky
cdb1d25306
Move Android instrumented test NiaAppStateTest to unit test
...
Change-Id: I0a84dc37184a9ea7d4c18fa598bc447b0c48eb62
1 year ago
dependabot[bot]
82b6352da1
Bump protobuf from 4.26.1 to 4.28.2 ( #1630 )
...
* Bump protobuf from 4.26.1 to 4.28.2
Bumps `protobuf` from 4.26.1 to 4.28.2.
Updates `com.google.protobuf:protobuf-kotlin-lite` from 4.26.1 to 4.28.2
Updates `com.google.protobuf:protoc` from 4.26.1 to 4.28.2
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/commits )
---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-kotlin-lite
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.google.protobuf:protoc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* 🤖 Updates baselines for Dependency Guard
* 🤖 Updates screenshots
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben Weiss <keyboardsurfer@users.noreply.github.com>
1 year ago
dependabot[bot]
56c284a303
Bump com.google.accompanist:accompanist-permissions from 0.34.0 to 0.36.0 ( #1658 )
...
* Bump com.google.accompanist:accompanist-permissions
Bumps [com.google.accompanist:accompanist-permissions](https://github.com/google/accompanist ) from 0.34.0 to 0.36.0.
- [Release notes](https://github.com/google/accompanist/releases )
- [Commits](https://github.com/google/accompanist/compare/v0.34.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: com.google.accompanist:accompanist-permissions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* 🤖 Updates baselines for Dependency Guard
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
1 year ago
Don Turner
284978fbcd
Merge pull request #1689 from Jaehwa-Noh/replace-test-to-version-catalog
...
Replace kotlin("test") to version catalog `kotlin.test`.
1 year ago
yschimke
2401e20dd4
🤖 Updates screenshots
1 year ago
Yuri Schimke
d7f1863920
remove sdk 21
1 year ago
Yuri Schimke
56fd308d65
revert screenshots
1 year ago
Yuri Schimke
0dd998765c
Update dependencies
...
Update Compose BOM to 2024.11.00 and update other dependencies, such as Robolectric and Roborazzi.
Also, update Screenshot Tests with sdk version 35 for better screenshot testing.
1 year ago
lihenggui
71a0e4c4d4
Add logback-classic in jvmMain
1 year ago
lihenggui
0758f8e5bf
Merge remote-tracking branch 'upstream/main'
1 year ago