Repository navigation
Conversation
|
Tick the box to add this pull request to the merge queue (same as
|
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 248838 found UI Test snapshots differences: Details
|
|
CI blocked by #26702... |
Uno.WinUI.GooglePlay depended on the monolithic Play Core 1.10.3, which Play Console flags as incompatible with targetSdk 34+ and blocks from publishing. Switch to the split Xamarin.Google.Android.Play.Review binding; the review API moves to Google.Android.Play.Core.Review and tasks to Android.Gms.Tasks. Fixes #24948 Co-Authored-By: Claude Opus 5.5 <[email protected]>
77ea292 to
de064b3
Compare
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 248956 found UI Test snapshots differences: Details
|
Add a 7.1 migration note for Uno.WinUI.GooglePlay moving from Play Core to Play Review, and document StoreContext.TestMode and Google's test tracks for checking in-app reviews on Android. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26695/docs/index.html |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 249065 found UI Test snapshots differences: Details
|
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26695/docs/index.html |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 249122 found UI Test snapshots differences: Details
|
GitHub Issue: closes #24948
PR Type:
🐞 Bugfix
What changed? 🚀
Uno.WinUI.GooglePlay(theGooglePlayUnoFeature) depended onXamarin.Google.Android.Play.Core1.10.3.21, the monolithic Play Core library that Play Console flags as incompatible with targetSdk 34+ and eventually blocks from publishing.It now depends on the split
Xamarin.Google.Android.Play.Review2.0.2.10 (com.google.android.play:review):src/Directory.Packages.props/Uno.UI.GooglePlay.netcoremobile.csproj: swap the package.StoreContextExtension: the review types live inGoogle.Android.Play.Core.Review[.Testing]in this binding (notXamarin.Google.Android.Play.Core.Review), and tasks become Play Services tasks (Android.Gms.Tasks.Task/IOnCompleteListener). These are qualified rather than imported, sinceAndroid.Gms.Tasksalso defines aCancellationToken.No Uno.Sdk change is needed: Play.Review 2.0.2.10 →
GooglePlayServices.Basement118.10.0.3 requires AndroidX.Fragment 1.9.0 and Collection 1.6.0.1, which match the versions already in the SDK'spackages.json.Validation
Uno.UI.GooglePlaybuilds fornet10.0-androidandnet11.0-android, no new warnings.UnoFeatures=GooglePlay(net10.0-android, Uno 7.0.65) referencing the locally packed add-in no longer hasXamarin.Google.Android.Play.Corein its graph (dotnet nuget why), restores without NU1605, and builds in Release. The APK containscom.google.android.play.core.review.*and none of the monolithic Play Core classes (splitinstall,appupdate,play.core.tasks).StoreContext.TestMode = truecallingRequestRateAndReviewAppAsync()returnsSucceededwith no exceptions. That status is only reached afterRequestReviewFlow()→OnComplete→GetResult(ReviewInfo)→LaunchReviewFlow()→ secondOnComplete, so the new binding and theAndroid.Gms.Taskslistener path run end to end.FakeReviewManager, which shows no UI; the real dialog needs an internal test track install).PR Checklist ✅
Screenshots Compare Test Runresults.Docs: a 7.1 note in
migrating-from-previous-releases.md, and a "Testing on Android" section (StoreContext.TestMode, internal test track) inwindows-ui-storecontext.md.No public API change. Apps that relied on
Xamarin.Google.Android.Play.Corearriving transitively throughUno.WinUI.GooglePlay(e.g. for in-app updates) will need to reference the corresponding split package themselves.🤖 Generated with Claude Code