--- title: "Set mobileAppAccess consent" slug: "webview-set-mobileappaccess-consent" description: "Grant or revoke mobile-app-only data consent with setMobileAppAccess, narrower than full GDPR opt-out, scoped to this channel." updated: 2026-02-11T11:17:55Z published: 2026-02-11T11:17:55Z canonical: "academy.insiderone.com/webview-set-mobileappaccess-consent" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Set mobileAppAccess consent This method allows you to set the user's mobile app access status. You can call this method after the SDK initialization at every step where you request your users' consent. | Parameter | Type | Description | Required | | --- | --- | --- | --- | | consented | Boolean | *true* = granted *false* = revoked | Yes | **Method signature** ```typescript setMobileAppAccess(consented: boolean) : Promise ``` **Method example** ```typescript await window.insider.setMobileAppAccess(true); ```