# Location Permanently Denied

Location denied terjadi ketika pengguna **tidak memberikan izin** untuk aplikasi mengakses *'Device Location'* sebanyak dua kali

<figure><img src="/files/7MC6xAVR8tkZq3ArAXNm" alt="" width="540"><figcaption><p><mark style="color:orange;"><strong><code>Notifikasi GPS</code></strong></mark></p></figcaption></figure>

Jika hal ini terjadi, masuk `Settings perangkat` -> `Apps` -> `Pilih aplikasi`<mark style="color:orange;">`SalesMania`</mark>

<figure><img src="/files/XB4HmDtonFaxqGNRYZVl" alt=""><figcaption></figcaption></figure>

Masuk `Permissions` -> `Location` -> `Allow only while using the app`. Lalu buka ulang aplikasi <mark style="color:orange;">**SalesMania**</mark>

<figure><img src="/files/rX0rUbLUi9CnZoeSLGxk" alt=""><figcaption></figcaption></figure>

Jika muncul pop-up seperti gambar berikut, pilih *`While using the app`* atau *`Saat Aplikasi Digunakan`*

<figure><img src="/files/k5fN1EMKwGwz7Xe54cEk" alt=""><figcaption></figcaption></figure>

Setelah selesai, indikator GPS akan berwarna hijau dan lokasi berhasil diterima

<figure><img src="/files/pIKRAkpkgtP3ZN7QPLlv" alt=""><figcaption></figcaption></figure>


---

# 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.salesmania.id/app-guidebook/location-permanently-denied.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.
