Version: 0.63

DevSettings

The DevSettings module exposes methods for customizing settings for developers in development.


Reference

Methods

addMenuItem()

static addMenuItem(title: string, handler: function)

Add a custom menu item to the developer menu:

DevSettings.addMenuItem('Show Secret Dev Screen', () => {
Alert.alert('Showing secret dev screen!');
});

reload()

static reload()

Reload the application. Can be invoked directly or on user interaction:

<Button title="Reload" onPress={() => DevSettings.reload()} />
Last updated on by Darsh