as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

DevSettings

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: Sep 30, 2025