Skip to content

Commit

Permalink
Adding open netflix support for smart tv
Browse files Browse the repository at this point in the history
  • Loading branch information
guyluz11 committed Dec 19, 2023
1 parent f2aa212 commit b03c8f4
Show file tree
Hide file tree
Showing 5 changed files with 240 additions and 243 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 34
compileSdkVersion flutter.compileSdkVersion

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -46,7 +46,7 @@ android {
defaultConfig {
applicationId "com.cybear_jinni.smart_home"
minSdkVersion 22
targetSdkVersion 33
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled true // Enable multidex for apps with over 64K methods
Expand Down
2 changes: 1 addition & 1 deletion lib/domain/i_phone_as_hub.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ abstract interface class IPhoneAsHub {
required HashMap<VendorsAndServices, HashSet<String>> uniqueIdByVendor,
required EntityProperties property,
required EntityActions actionType,
dynamic value,
HashMap<ActionValues, dynamic>? value,
});

Future<Map<String, DeviceEntityBase>> get getAllEntities;
Expand Down
2 changes: 1 addition & 1 deletion lib/infrastructure/phone_as_hub.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class _PhoneAsHubRepository implements IPhoneAsHub {
required HashMap<VendorsAndServices, HashSet<String>> uniqueIdByVendor,
required EntityProperties property,
required EntityActions actionType,
dynamic value,
HashMap<ActionValues, dynamic>? value,
}) =>
DevicesService().setEntityState(
uniqueIdByVendor: uniqueIdByVendor,
Expand Down
Loading

0 comments on commit b03c8f4

Please sign in to comment.