Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mini Apps] Add more or custom params to allow on the iframe of the twa #295

Open
chillbert opened this issue Feb 6, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@chillbert
Copy link

chillbert commented Feb 6, 2024

Is your feature request related to a problem? Please describe.
I would like to set the allow params on the iframe. At the moment we have set the params for allow are the following:

allow="camera; microphone; geolocation;"
Describe the solution you'd like
Pass the params for allow and sandbox in a setting object or on the creation of the bot in botfather - other way would be add other params directly hard-coded like the three existing one mentioned on this line.

Additional context
This could help to use the full potential of web apis.

@chillbert chillbert added the enhancement New feature or request label Feb 6, 2024
@chillbert chillbert changed the title [Mini Apps] Access window.navigator in twa, at the moment empty object. [Mini Apps] Add more or custom params to allow on the iframe of the twa Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant