microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.29k stars 1.7k forks source link

AppInvite: Avoid wrong jumps #2371

Closed DaVinci9196 closed 3 months ago

DaVinci9196 commented 4 months ago

I found that when I opened the web version of Google in Chrome, I found that the displayed page was abnormal when I clicked the smart arrow to jump. See the video.

https://github.com/microg/GmsCore/assets/150454414/89f36d7d-5417-4087-af65-a0995f07a2df

DaVinci9196 commented 4 months ago

This is the video shown after the repair.

https://github.com/microg/GmsCore/assets/150454414/1c6a4f85-e93d-4248-b09b-27a9a5865579

mar-v-in commented 3 months ago

This was caused by the app invite server being unsure if our client is on Android or iOS. I updated with 702b89a to explicitly tell it's Android and it now returns the correct Intent data to invoke on Android, so no manual modification hack is necessary.