Closed devsuhaib closed 2 years ago
I'm trying to add custom text to the alert message box on IOS but I always get the default text on IOS using the native alert.
RateMyApp rateMyApp = RateMyApp( preferencesPrefix: 'rateMyApp_', minDays: 2 minLaunches: 5, remindDays: 5, remindLaunches: 10, ); WidgetsBinding.instance?.addPostFrameCallback((_) async { await rateMyApp.init().then((_) => { if (rateMyApp.shouldOpenDialog) { rateMyApp.showRateDialog( context, title: 'تقييم التطبيق', message: 'نرجوا تقييم تطبيق', rateButton: 'تقييم', noButton: 'لا شكرآ', laterButton: 'لاحقا', ignoreNativeDialog: Platform.isAndroid, dialogStyle: const DialogStyle( messageAlign: TextAlign.center), onDismissed: () => rateMyApp.callEvent(RateMyAppEventType .laterButtonPressed), ) } }); });
You have to pass ignoreNativeDialog to true.
ignoreNativeDialog
true
I'm trying to add custom text to the alert message box on IOS but I always get the default text on IOS using the native alert.