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

Issues in production on mobile browsers #79

Open
strangecarr opened this issue Jan 21, 2023 · 0 comments
Open

Issues in production on mobile browsers #79

strangecarr opened this issue Jan 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@strangecarr
Copy link

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

@strangecarr strangecarr added the bug Something isn't working label Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant