DevSettings
Important: The Vega SDK supports many of the React Native version 0.83 components and APIs. You can use the supported components and APIs in the same manner as an ordinary React Native app. This page lists a specific React Native feature supported by the Vega SDK and contains React Native V0.83 documentation from the reactnative.dev website created by Meta and other contributors and licensed under the Attribution 4.0 International License. For more information about React Native V0.83, see the React Native documentation, version 0.83. For the most current feature information, see the Release Notes.
The DevSettings module exposes methods for customizing settings for developers in development.
Reference
Methods
addMenuItem()
static addMenuItem(title: string, handler: () => any);
Add a custom menu item to the Dev Menu.
Parameters:
| Name | Type |
|---|---|
| title Required | string |
| handler Required | function |
Example:
DevSettings.addMenuItem('Show Secret Dev Screen', () => {
Alert.alert('Showing secret dev screen!');
});
reload()
static reload(reason?: string): void;
Reload the application. Can be invoked directly or on user interaction.
Example:
<Button title="Reload" onPress={() => DevSettings.reload()} />
Last updated: May 13, 2026

