build(deps): bump sensors_plus from 6.1.2 to 7.0.0#22
Conversation
Bumps [sensors_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/sensors_plus) from 6.1.2 to 7.0.0. - [Release notes](https://github.com/fluttercommunity/plus_plugins/releases) - [Commits](https://github.com/fluttercommunity/plus_plugins/commits/sensors_plus-v7.0.0/packages/sensors_plus) --- updated-dependencies: - dependency-name: sensors_plus dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughWalkthroughThis pull request updates the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pubspec.yaml`:
- Line 20: The project adds sensors_plus: ^7.0.0 which requires Android Gradle
Plugin (AGP) >= 8.12.1; update the AGP version string currently set to 8.11.1 in
your Gradle settings (settings.gradle.kts) to 8.12.1 or later, ensuring the
kotlin and java toolchain remain at the supported versions (Kotlin 2.2.20, Java
17) and then re-run Gradle sync/assemble to verify the Android build succeeds.
- Line 20: Update the pubspec.yaml environment SDK constraints to satisfy
sensors_plus ^7.0.0 by changing the Dart SDK lower bound to at least 3.3.0 and
ensure the Flutter SDK lower bound is at least 3.19.0; specifically update the
"environment:" block (the sdk and flutter constraints) so Dart >=3.3.0 (e.g.,
">=3.3.0 <4.0.0") and Flutter >=3.19.0 are required, then run pub get to verify
dependency resolution for sensors_plus: ^7.0.0.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 176d9d9b-7033-4079-9849-c94934d43178
⛔ Files ignored due to path filters (1)
pubspec.lockis excluded by!**/*.lock
📒 Files selected for processing (1)
pubspec.yaml
| intl: ^0.20.2 | ||
| share_plus: ^10.0.0 | ||
| sensors_plus: ^6.1.1 | ||
| sensors_plus: ^7.0.0 |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== pubspec environment constraints =="
rg -n -A3 -B1 '^\s*environment:|^\s*sdk:|^\s*flutter:' pubspec.yaml
echo
echo "== Android build toolchain markers found in repo =="
fd -i 'gradle-wrapper.properties|build.gradle|build.gradle.kts|settings.gradle|settings.gradle.kts' | while read -r f; do
echo "--- $f ---"
rg -n 'distributionUrl|com\.android\.tools\.build:gradle|org\.jetbrains\.kotlin|kotlin_version|compileSdk|compileSdkVersion|JavaVersion\.VERSION_17|jvmTarget' "$f" || true
done
echo
echo "Expected minimums for sensors_plus 7.0.0:"
echo "- Java 17"
echo "- Kotlin 2.2.0"
echo "- Android Gradle Plugin >= 8.12.1"
echo "- Gradle wrapper >= 8.13"Repository: Sentriscloud/solux
Length of output: 1122
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "=== android/app/build.gradle.kts content (full) ==="
cat android/app/build.gradle.kts
echo
echo "=== android/build.gradle.kts content (full) ==="
cat android/build.gradle.kts
echo
echo "=== Searching for AGP version in android directory ==="
rg -n 'com\.android\.tools\.build:gradle|id.*com\.android' android/ || echo "AGP declaration not found with regex"Repository: Sentriscloud/solux
Length of output: 4518
Upgrade Android Gradle Plugin to 8.12.1+ before merging.
sensors_plus 7.0.0 requires Android Gradle Plugin >= 8.12.1. The repo currently uses 8.11.1 in android/settings.gradle.kts:22, which will cause Android builds to fail. Java 17, Kotlin 2.2.20, and Gradle 8.14 are all sufficient.
Update the AGP version in android/settings.gradle.kts to 8.12.1 or later.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@pubspec.yaml` at line 20, The project adds sensors_plus: ^7.0.0 which
requires Android Gradle Plugin (AGP) >= 8.12.1; update the AGP version string
currently set to 8.11.1 in your Gradle settings (settings.gradle.kts) to 8.12.1
or later, ensuring the kotlin and java toolchain remain at the supported
versions (Kotlin 2.2.20, Java 17) and then re-run Gradle sync/assemble to verify
the Android build succeeds.
🧩 Analysis chain
🏁 Script executed:
cat -n pubspec.yaml | head -30Repository: Sentriscloud/solux
Length of output: 746
🌐 Web query:
sensors_plus 7.0.0 requirements dart flutter minimum version pub.dev
💡 Result:
The sensors_plus package version 7.0.0 requires Flutter >=3.19.0 and Dart >=3.3.0 <4.0.0.[1][2][3][4] Additional platform requirements include iOS >=12.0, macOS >=10.14, Java 17, Kotlin 2.2.0, Android Gradle Plugin >=8.12.1, and Gradle wrapper >=8.13.[1][5][3] These are specified in the official pub.dev documentation and API docs for the latest version, which is 7.0.0 published around late 2025.[6][7][5]
Citations:
- 1: https://pub.dev/documentation/sensors_plus/
- 2: https://pub.dev/packages/sensors_plus
- 3: https://pub.dev/documentation/sensors_plus/latest
- 4: https://fluttergems.dev/packages/sensors_plus/
- 5: https://pub.dev/packages/sensors_plus/changelog
- 6: https://pub.dev/packages/sensors_plus/install
- 7: https://pub.dev/packages/sensors_plus/versions
Update project SDK constraints to match sensors_plus: ^7.0.0 requirements.
Line 20 upgrades to sensors_plus: ^7.0.0, but Line 8 still permits Dart 3.0.0. This package requires Dart >=3.3.0 and Flutter >=3.19.0, so the current constraints allow incompatible versions that will fail dependency resolution or builds.
Suggested pubspec update
environment:
sdk: '>=3.0.0 <4.0.0'
+ flutter: '>=3.19.0' environment:
- sdk: '>=3.0.0 <4.0.0'
+ sdk: '>=3.3.0 <4.0.0'
flutter: '>=3.19.0'Reference: https://pub.dev/packages/sensors_plus
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@pubspec.yaml` at line 20, Update the pubspec.yaml environment SDK constraints
to satisfy sensors_plus ^7.0.0 by changing the Dart SDK lower bound to at least
3.3.0 and ensure the Flutter SDK lower bound is at least 3.19.0; specifically
update the "environment:" block (the sdk and flutter constraints) so Dart
>=3.3.0 (e.g., ">=3.3.0 <4.0.0") and Flutter >=3.19.0 are required, then run pub
get to verify dependency resolution for sensors_plus: ^7.0.0.
Bumps sensors_plus from 6.1.2 to 7.0.0.
Commits
1d29902chore(release): prepare for release (#3675)ad32faefeat(sensors_plus)!: Change Android compile SDK, update Android build config ...72b6234docs(all): replace MacOS by macOS in package READMEs (#3658)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by CodeRabbit
sensors_plusdependency to version 7.0.0