# Open app settings

If a user accidentally denies a permission (like Camera or Location), use the Open App Settings feature to send them directly to the system menu where they can re-toggle permissions.

### Implementation

{% tabs %}
{% tab title="Bubble.io Plugin" %}
To use this feature, ensure your Natively iOS & Android app builder Plugin is updated to the latest version. You can trigger these actions from any Bubble workflow.

A simple action that opens the user's system settings for your specific app. Highly useful for "Permission Denied" states.

Action **Natively - Open external app**

<figure><img src="/files/7tzlXkqvabskYPXs3hG9" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/8q1YulJ7wIOTQXz0RRIA" alt="" width="189"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="JavaScript SDK" %}
Ensure your Natively JS SDK is updated to the latest version. You can invoke these methods directly from your JavaScript logic.

```javascript
window.natively.openAppSettings();
```

<figure><img src="/files/8q1YulJ7wIOTQXz0RRIA" alt="" width="189"><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### Troubleshooting

If you trigger the Natively Debug Console feature and nothing happens, check these two common blockers:

#### 1. Environment Mismatch

The Debug Console is a native feature.

* It will not work in standard mobile browsers (Safari, Chrome), or wrappers created by other services.
* It will work in your own builds created with Natively.

#### 2. Missing JS SDK Integration

The `openConsole` command is a message sent from your website to the native app. If the Natively JS SDK isn't properly installed in your web app's header, the message is never sent.

* How to fix: Ensure you have added the Natively script tag to your site's `<head>` or installed the `natively` package.
* Check: Open your web browser's inspector (on desktop) and type `window.natively`. If it returns `undefined`, the SDK is not integrated correctly. Please follow this guide to integrate the Natively JS SDK: [How to get started?](/guides/integration/how-to-get-started.md#javascript-sdk)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.buildnatively.com/guides/integration/open-app-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
