javascript - Newer Samsung devices can't display webpages in their built-in SMS app -
when open url (say https://www.google.com) in sms in samsung's built-in messages app, it's opened in in-app browser, blank page displayed, , stays blank instead of displaying website.
- is known samsung/android bug?
- is there known workaround?
to reproduce:
- receive (or send) url in sms in samsung's built-in messages app.
- tap on url in sms:
- the app opens webpage in in-app browser instead of opening in chrome.
- observe blank page displayed, , stays blank.
to work around:
- rotate device orientation (e.g. portrait -> landscape).
- observe page appear in front of puzzled eyes!
what kind of page works?
none. 1 fails shown:
<html> <body>how wish you'd show me immediately!</body> </html>
a few more surprises:
alert('ah, ha!')
works immediately!- the css style
background-color
works immediately!
is, blank page uses color defined in rule. document.body.innerhtml('show this, @ least!')
doesn't help.
known affected devices
- samsung galaxy s6
- samsung galaxy s7
- samsung galaxy s7 edge
looks shouldn't buy samsung's newer devices!?
messages in-app browser version: 51
Comments
Post a Comment