Poujhit / WhatsAppWeb-App

Whatsapp Desktop webview Android app for easy use when you have two phones and want to share/use your whatsapp without the need to login or sharing the whatsapp media files
MIT License
15 stars 3 forks source link

On first load the app loads the desktop page but then it loads the mobile page ie www.whatsapp.com #1

Closed 1KBC closed 3 years ago

1KBC commented 3 years ago

On first load the app loads the desktop page but then it loads the mobile page ie www.whatsapp.com not web.whatsapp.com. please let me know how it is happening and what is the solution to this

Poujhit commented 3 years ago

I guess some caching thing happens after the first time load and it is loading the mobile version again.

Poujhit commented 3 years ago

The problem was with user agent and maybe an issue with whatsapp site itself. But now I am using a new package to do web view calls in android and ios and hopefully it eliminates the problem. Fix is available in v1.5

ppragnesh555 commented 1 year ago

please can you tell which changes done for whatsapp web open in flutter.

1KBC commented 1 year ago

This will keep happening as whatsapp detects the mobile device. Try making one with android programming.

On Sun, 9 Oct 2022 at 18:12, pragneshpalsana1999 @.***> wrote:

please can you tell which changes done for whatsapp web open in flutter.

— Reply to this email directly, view it on GitHub https://github.com/Poujhit/WhatsAppWeb-App/issues/1#issuecomment-1272534457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVC45GILZPQQIWHMAHZCOXTWCK4VBANCNFSM5BSAKPZA . You are receiving this because you authored the thread.Message ID: @.***>

Poujhit commented 1 year ago

please can you tell which changes done for whatsapp web open in flutter. Make sure your user-agent is a desktop version, so that it will open the desktop site if you are planning to integrate whatsapp website into your android or ios app.