Besides native components, we are exposing JavaScript functions to control the behavior of those components from React Native app.
To use the module, import it:
A method used to toggle iOS native back gesture and Android hardware back button.
Parameters:
| Param | Type | Description |
|---|---|---|
| enabled | boolean | Whether to enable native back gesture and button |
Example:
A method to pop to native screen used to push React Native experience.
Parameters:
| Param | Type | Description |
|---|---|---|
| animated | boolean | Whether to animate the transition (iOS only) |
Example:
These methods work only with native components provided by this library.