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

problem with start_params #23

Open
kasrakhamesi opened this issue Aug 25, 2024 · 3 comments
Open

problem with start_params #23

kasrakhamesi opened this issue Aug 25, 2024 · 3 comments

Comments

@kasrakhamesi
Copy link

in this url for example : https://t.me/mybot?startapp=bbId38341612

when open it with telegram desktop, WebApp.initDataUnsafe.start_param working fine and get bbId38341612

but when I want open that with iphone 13 , always WebApp.initDataUnsafe.start_param is undefined, my project on react.js

and "@twa-dev/sdk": "^7.0.0",
help me to fix that

@ArthurStam
Copy link
Member

Seems like Telegram bug, not this package.

@bobpepers
Copy link

in this url for example : https://t.me/mybot?startapp=bbId38341612

when open it with telegram desktop, WebApp.initDataUnsafe.start_param working fine and get bbId38341612

but when I want open that with iphone 13 , always WebApp.initDataUnsafe.start_param is undefined, my project on react.js

and "@twa-dev/sdk": "^7.0.0", help me to fix that

Same issue here. did you find any fixes or workarounds?

@nikitawolfik
Copy link

Had similar issue, got fixed by switching from https://t.me/bot/?startapp=key to https://t.me/bot/referrer?startapp=key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants