Closed elnurxf closed 2 years ago
In fact you have to add
NativeUpdater.displayUpdateAlert(
context,
forceUpdate: true,
appStoreUrl: '<Your App Store URL>', // <== THIS LINE
);
to avoid this error.
Did this way. I thought package gets store URL automatically depending on app namespace.
Thank you.
_CastError: Null check operator used on a null value File "native_updater.dart", line 79, in NativeUpdater._showCupertinoAlertDialog File "native_updater.dart", line 58, in NativeUpdater.displayUpdateAlert