Open lukepighetti opened 4 days ago
it appears that in_app_review 2.0.10 (and before) freezes any iOS 18 app when calling
InAppReview.instance.requestReview()
. only tested on simulator (18.1)
Thanks for filing an issue. I didn't have any luck reproducing this with a fresh Flutter app on the simulator (18.1 too).
Do you have any guidance for reproducing it?
I used flutter create
then flutter pub add in_app_review
then added the following code to the counter app:
const CircularProgressIndicator(),
const CircularProgressIndicator(),
const CircularProgressIndicator(),
ElevatedButton(
onPressed: () {
InAppReview.instance.requestReview();
},
child: const Text('Request Review'),
)
A video would be better but the spinners do keep spinning.
It also froze for me on 18.1 simulator and I was on 2.0.9
this might be related
I can occasionally reproduce this on the simulator by disabling wifi on my mac but it's difficult to pinpoint the cause of this. It also fixes itself after 8 seconds. It's possible that the StoreKit
requestReview() method is blocking the main thread due to a timeout of some sort.
To clarify, does the pop-up appear when the freeze occurs?
The pop up does not appear when the freeze occcurs
it appears that in_app_review 2.0.10 (and before) freezes any iOS 18 app when calling
InAppReview.instance.requestReview()
. only tested on simulator (18.1)