Jia Huang

Results 11 comments of Jia Huang

> Doesn't this effectively do the same thing, just inverting division with multiplication? comparing contentAspectRatio and containerAspectRatio means nothing if you calculate them in different way... ```typescript val contentAspectRatio =...

in my device in landscape mode ( width > height) , the height will be stretched to be larger than the width if i put the video in a square.

How about we just swap the previewTargetSize before set up previewView according sensorRelativeOrientation along with my previous modification? ```kotlin private fun setupPreviewView() { // ... if (cameraId == null) return...

I'm using a customized android pad (unknown brand) with only one front-camera. I'm not sure if that is reason that I failed to get the value of CameraCharacteristics.SENSOR_INFO_PHYSICAL_SIZE.

这个主要是要解决什么场景问题呢? 我想想看orm有没有必要完成其他类型表的对象映射 Inviato da iPhone > Il giorno 21 set 2018, alle ore 23:14, HuangJP ha scritto: > > 其中有部分ORM其实是不需要extra字段和id字段 > 但是代码中很多地方又强依赖了这些字段比如Object的fetch方法: > > public function fetch($force = false) >...

api version should be checked before loading companion device manager... now the module will cause app crash in android 7.1.1

`public CompanionDeviceManager getCompanionDeviceManager()` will cause the problem. Change it to `public Object getCompanionDeviceManager()`, add `@RequiresApi(api = Build.VERSION_CODES.O)` on `getAssociatedPeripherals` and `removeAssociatedPeripheral`, and cast `Object` to `CompanionDeviceManager` on each `getCompanionDeviceManager()` call...

I don't know why... but the cast operation in `getCompanionDeviceManager` did cause the `NoClassDefFound` error when loading the module. below is the patch i did, it fixed the problem in...

@mrousavy, i am still facing this issure currently. I'm not using `reanimated`, but i'm using `tamagui` which has `reanimated` as a dep. I tried add `processNestedWorklets` to `babel.config.js` but it...