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

Incorrect chat_instance in WebApp.initDataUnsafe after update #20

Closed
Serdar17 opened this issue Aug 6, 2024 · 2 comments
Closed

Incorrect chat_instance in WebApp.initDataUnsafe after update #20

Serdar17 opened this issue Aug 6, 2024 · 2 comments

Comments

@Serdar17
Copy link

Serdar17 commented Aug 6, 2024

Hi,
after updating to version 7.8.0, the chat_instance field of the InitDataUsafe object returns a different id on different devices (the expected behavior before version 7.8.0 was always the only one unique for different devices). Can you explain is this a bug with your sdk or is there a problem on the Telegram side?

Example:
image

twa-dev/sdk: 7.8.0
React: 18.2.0
Telegram Android: 15.10.0

@ArthurStam
Copy link
Member

I guess it's on Telegram side. I have never worked with chat_instance prop, but I can assure you that our wrapper does nothing with this prop. We just export what Telegram SDK returns.

@Serdar17
Copy link
Author

Serdar17 commented Sep 8, 2024

yes, this is a bug on the telegram side. more here

@Serdar17 Serdar17 closed this as completed Sep 8, 2024
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

2 participants