Alexandre Lacoste

Results 3 comments of Alexandre Lacoste

``` adjustToContentHeight={true} modalStyle={[ { flex: 1 }, Platform.OS.includes('android') && { marginTop: 52 + insets.top }, ]} modalTopOffset={Platform.OS.includes('ios') ? 52 : undefined} ```

I made my own native function to get the same value for android 15 and android 14 and below. ``` @ReactMethod(isBlockingSynchronousMethod = true) fun getScreenDimensions(): WritableMap { val windowManager =...

I finally found a solution. ``` const id = uri.substring(5, 41) // to get the id of the PH asset await getAssetInfoAsync(...) // to download the video if needed const...