Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SKStoreReviewController is deprecated in iOS 18 #187

Open
MikeDevBeddo opened this issue Dec 3, 2024 · 0 comments
Open

SKStoreReviewController is deprecated in iOS 18 #187

MikeDevBeddo opened this issue Dec 3, 2024 · 0 comments

Comments

@MikeDevBeddo
Copy link

MikeDevBeddo commented Dec 3, 2024

Description
Hello,

with iOS 18 it seems that Apple deprecated SKStoreReviewController. Now every plugin and call made from SKStoreReviewController are not working. There is a replacement with AppStore.requestReview(in: scene). But from MAUI it is inaccessible.

https://developer.apple.com/documentation/storekit/appstore/3954432-requestreview/

Steps to Reproduce
Create an application
on ios18 invoke

if (UIApplication
                            .SharedApplication?
                            .ConnectedScenes?
                            .ToArray<UIScene>()?
                            .FirstOrDefault(x => x.ActivationState == UISceneActivationState.ForegroundActive) is UIWindowScene windowScene)
                    {
                        SKStoreReviewController.RequestReview(windowScene);
                        return Task.CompletedTask;
                    }

see that application hangs.

same code on iOS 17.5 works, create a review popup or just passes quietly.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant