You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After building for production, the RWebshare component doesn't work on mobile browsers (it works on mobile browsers using development server). Only the original web share API works, and the RWebshare UI doesn't render, or the onClick callback does not fire.
I am using Nextjs, so perhaps its an issue with the build.
I really need to onClick callback in my app, so this is causing me quite a headache.
Describe the bug
After building for production, the RWebshare component doesn't work on mobile browsers (it works on mobile browsers using development server). Only the original web share API works, and the RWebshare UI doesn't render, or the onClick callback does not fire.
I am using Nextjs, so perhaps its an issue with the build.
I really need to onClick callback in my app, so this is causing me quite a headache.
Sandbox / Git Repo
Here is a repo that works fine in local development, but not on mobile browsers in production:
https://github.com/strangecarr/ts-nextjs-tailwind-starter.git
https://web-share-de
Also, see web browser screencast of the webshare component in local dev vs production:
Development server (working - the onClick callback fires an alert popup)
https://user-images.githubusercontent.com/52605713/213854889-93ace864-bbb3-4185-9bfb-6eebd19cf96a.mp4
Production (not working):
https://user-images.githubusercontent.com/52605713/213854813-e427d3b6-689e-42c9-a5f3-b46e8e837275.mp4
The text was updated successfully, but these errors were encountered: