Conversation
Ref #3340 - Update @numbersprotocol/preview-camera from 0.0.19 to 0.0.20 - Upgrade androidx.window from 1.0.0-alpha09 to 1.4.0 via updated preview-camera plugin - Fix camera not opening issue caused by androidx.window dependency conflict - Resolve Google Play Console warning about outdated SDK version - Update app version to 0.103.1 across all platforms (Android: 1031, iOS: 1031) - Update CHANGELOG.md with comprehensive release notes and version links The preview-camera plugin now uses WindowMetricsCalculator instead of the deprecated WindowManager API, ensuring compatibility with modern Android versions and compliance with Google Play Store requirements. Fixes camera functionality that was broken by androidx.window version conflicts and addresses the Google Play Store deprecation warning for androidx.window:1.0.0-alpha09.
There was a problem hiding this comment.
Pull Request Overview
This PR fixes camera functionality by resolving androidx.window dependency conflicts that prevented the camera from opening. The primary goal is to restore camera functionality while addressing Google Play Console warnings about outdated SDK versions.
Key changes include:
- Updating the preview-camera plugin to version 0.0.20 which includes proper androidx.window compatibility
- Removing manual androidx.window dependency overrides that were causing conflicts
- Bumping app version to 0.103.1 across all platforms
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updates app version and preview-camera plugin dependency to 0.0.20 |
| ios/App/App.xcodeproj/project.pbxproj | Updates iOS app version and build number to 0.103.1/1031 |
| android/variables.gradle | Removes androidxWindowVersion variable no longer needed |
| android/app/build.gradle | Updates Android version codes and removes manual androidx.window dependency override |
| CHANGELOG.md | Documents the camera fix and dependency updates with proper version links |
|
@olgahaha 記得如果有更新,但沒有 issue 的,都還是幫我加到 Ongoing Project,這樣我才會記得要安排 Google Play & Apple Store review & launch new version. |
|
same as #3340 🚨 Fixed and future-ready. |
Ref #3340
The preview-camera plugin now uses WindowMetricsCalculator instead of the deprecated WindowManager API, ensuring compatibility with modern Android versions and compliance with Google Play Store requirements.
Fixes camera functionality that was broken by androidx.window version conflicts and addresses the Google Play Store deprecation warning for androidx.window:1.0.0-alpha09.