Open lizkarkoski opened 5 years ago
Sharing to WhatsApp worked normally for me when I tested it today using WPiOS 12.2 on my iPhone 6S iOS 12.2. (1m51s)
I have some questions:
WordPress App v 12.1.3
Can you please try with the latest version of the WPiOS app (currently 12.2 and very soon to be 12.3)?
@charliescheer can you help pick this one up? I am looking for a 2nd check that the testing steps to confirm it's possible to share from WPiOS to WhatsApp without an error. I re-tested it just now using WPiOS 12.5.1 on iPhone 6S iOS 12.3.1 and it's working for me without any problem. Can you spot if I'm missing anything?
@designsimply I was able to replicate this problem. It is happening for me when I am viewing the user's posts in a web view. Here is a screen capture. https://cld.wthms.co/6q32Js
I tried doing the same sharing from My Site > Blog Posts > View and it worked fine in that web view, but in the reader webviews I see this error. I tried the site mentioned above and one of my testing sites this way, with the same results.
WordPress 12.6 iOS 12.3.1
This came up again in the wpcom forums here: https://wordpress.com/forums/topic/whatsapp-share-button-does-not-work/
And I am also able to consistently reproduce this error on my device: iPhone 12 Pro — iOS 14.4.2 — WordPress App v16.9
Steps to reproduce:
Note: The WhatsApp sharing button seems to work fine if you:
However, clicking the WhatsApp sharing button when viewing the test site within the app (Web view?) results in an error message. I tested this with the WhatsApp app installed on my phone, and also with the WhatsApp app deleted (so it is not present on the device) and it made no difference, I got the error message in both cases.
Adding on here, I noticed that on the screen with the error message is a share icon. If I clear the error message (click OK) and click on the share icon, I have the option to open the underlying page in the browser. If I do that then I am redirected to the WhatsApp app on my phone.
If Instead I attempt to click the "Continue to Chat" button I am taken to a new error message: Redirection to URL with a scheme that is not HTTP(S)
See screenshot:
History and previous trouble shooting is recorded in this forum thread: https://en.forums.wordpress.com/topic/whatsapp-share-button-does-not-work-in-wordpress-ios-app/#post-3301084
Expected behavior
When using the iOS WordPress App, I would expect the WhatsApp sharing button to work correctly and mirror the proper function noted with mobile browsers.
Actual behavior
Navigating to the site through the mobile app and then sing the WhatsApp button at the bottom of the post produces an Error: unsupported URL.
This is not the behavior noted from the mobile browsers. I am successful with reaching WhatsApp through the button on both Chrome and Safari.
Steps to reproduce the behavior
Open mobile browser
Go to ashwanisarda.wordpress.com
Scroll to the bottom of the page
Click on WhatsApp button
Get redirected to the WhatsApp application
Open WordPress App on iOS
Click on Reader
Find ashwanisarda.wordpress.com
Launch the site from with in the app, button in upper right corner
Scroll down on page
Click on WhatsApp button
See the error message
I tried this both as a follower and non-follower of the site, but that made no difference in the behavior.
Tested on [device], iOS [version], WPiOS [version]
WordPress App v 12.1.3 iOS 12.1.4