'how to create IOS13 Modals in react-native-router-flux

my package.json:

"react-native": "~0.63.4",
"react-native-router-flux": "^4.3.1",

I have the following code

import { Router, Stack, Scene, Modal } from "react-native-router-flux";

<Router>
    <Modal>
        <Stack key="root" modal={true}>
            <Scene key="page1" component={Page1} title="" />
            <Scene key="setting" component={Setting} schema="modal" />
        </Stack>
    </Modal>
</Router>
}

I got was this:

https://i.stack.imgur.com/WFgFG.jpg

but i need IOS13 modals, like this:

https://i.stack.imgur.com/P6u1a.jpg

I don't see relevant explain in RNRF docs.

What do i need to do?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source