diff --git a/packages/video_player_avplay/lib/video_player.dart b/packages/video_player_avplay/lib/video_player.dart index 0f0ec4796..ea006f62a 100644 --- a/packages/video_player_avplay/lib/video_player.dart +++ b/packages/video_player_avplay/lib/video_player.dart @@ -375,7 +375,10 @@ class VideoPlayerController extends ValueNotifier { final DeviceInfoPluginTizen deviceInfoPlugin = DeviceInfoPluginTizen(); final TizenDeviceInfo deviceInfo = await deviceInfoPlugin.tizenInfo; - if (deviceInfo.platformVersion != apiVersion) { + if ((deviceInfo.platformVersion != null && + deviceInfo.platformVersion!.isNotEmpty) && + apiVersion != 'none' && + (deviceInfo.platformVersion != apiVersion)) { throw Exception( 'The current TizenOS version(${deviceInfo.platformVersion}) ' 'and the app API version($apiVersion) are different. '