- Android 2.3 (Gingerbread)
- No Support, despite being the most popular version of Android
- Android 3.0 (Honeycomb)
- Streams cause tablet devices to crash
- Android 4.0 (Ice Cream Sandwich)
- VOD streams do not seek
- Aspect ratios are not detected and cause image deformation
- Fullscreen causes videos to restart from the beginning
- Android 4.1+ (Jelly Bean)
- Aspect ratio issue is fixed, but seek is still unavailable
- Chrome does not understand HLS leading to broken mimetype detection
- Taking video fullscreen causes devices to throw an error and stop.
Using JavaScript code from native code without using a WebView (sic!) can be really useful to introduce dynamic functionality that was updatable without need of updating the app shorter iteration cycles share code between backend and native iOS and Android apps You can have business logic provided by a JavaScript that then controls the app that inject native functionality in the JavaScript context. You could even write an A/B testing framework based on this approach. iOS iOS offers the native JavaScriptCore: Evaluate JavaScript programs from within an app, and support JavaScript scripting of your app. So you can evaluate a script and read its return value natively: context.evaluateScript(myLib); let result = context.evaluateScript("myFunction();") let myFunction = context.objectForKeyedSubscription("myFunction"); let parametrizedResult = myFunction.invokeMethod(...) Or you can inject a native object into the JavaScript engine: @objc protoco...
Comments
Post a Comment