Skip to content

Commit

Permalink
fix(android): remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Feb 13, 2024
1 parent 59dd63b commit cd421ba
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class MethodCallHandler(
}
SET_VIDEO_OPTIONS -> {
val videoOptions = try {
@Suppress("UNCHECKED_CAST")
((call.arguments as Map<*, *>)["videoOptions"] as Map<String, Any>).videoOptions
} catch (e: Exception) {
result.error("invalid_parameter", "Invalid video options", e)
Expand Down
1 change: 0 additions & 1 deletion example/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
3 changes: 0 additions & 3 deletions ios/Classes/MethodCallHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,6 @@ extension VideoType {
return Keys.vod
case VideoType.live:
return Keys.live
default:
return Keys.vod
}
}
}

Expand Down

0 comments on commit cd421ba

Please sign in to comment.