We have a web app built with next.js and hosted using Firebase App Hosting.
When the web app is shared on an Instagram story and a user clicks the link he the in app browser is opened and this is the error the user sees.
Important details:
- This only happens on Android devices (iOS devices open the link without issue).
- We are using a custom domain, not the default domain provided by Firebase.
- When sharing the default Firebase domain on Instagram it works properly.
- When we get the error we don't even get any logs, so we don't believe this issue is related to next.js
Our app relies on being shared on Instagram, I would appreciate any help or suggestions you guys can provide :)
1 Answer 1
Some mobile browsers don't correctly handle underscores in DNS records. This issue seems to related.
Try setting your domain up again using advanced setup (choose "Migrate a domain" in the custom domain setup flow). The setup process will have two steps instead of just one, but it should help you avoid this bug.
Comments
Explore related questions
See similar questions with these tags.