feat: let platforms disable we are using cookies prompt

This commit is contained in:
Andrew Bastin
2023-11-07 20:49:07 +05:30
parent 736f83a70c
commit 663134839f
3 changed files with 14 additions and 1 deletions

View File

@@ -35,6 +35,14 @@ export type PlatformDef = {
* If a value is not given, then the value is assumed to be false
*/
cookiesEnabled?: boolean
/**
* Whether the platform should prompt the user that cookies are being used.
* This will result in the user being notified a cookies advisory and is meant for web apps.
*
* If a value is not given, then the value is assumed to be true
*/
promptAsUsingCookies?: boolean
}
}