We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96aa439 commit b70d1ceCopy full SHA for b70d1ce
packages/video_player_avplay/lib/video_player.dart
@@ -375,7 +375,10 @@ class VideoPlayerController extends ValueNotifier<VideoPlayerValue> {
375
final DeviceInfoPluginTizen deviceInfoPlugin = DeviceInfoPluginTizen();
376
final TizenDeviceInfo deviceInfo = await deviceInfoPlugin.tizenInfo;
377
378
- if (deviceInfo.platformVersion != apiVersion) {
+ if ((deviceInfo.platformVersion != null &&
379
+ deviceInfo.platformVersion!.isNotEmpty) &&
380
+ apiVersion != 'none' &&
381
+ (deviceInfo.platformVersion != apiVersion)) {
382
throw Exception(
383
'The current TizenOS version(${deviceInfo.platformVersion}) '
384
'and the app API version($apiVersion) are different. '
0 commit comments