I implemented a native module and I would like to display an error for a developer using the redbox error screen from the native module. This error will inform about obsolete values.
Does anyone know, how to display this kind of screen with a custom message?
Below I am attaching a screenshot, what I would like to achieve:
On android you can achieve this with the following code:
on iOS it's also quite straightforward: