使用“create-react-app”创建的我的应用程序显示在桌面和移动设备中,但不显示在移动iOS上

问题描述 投票:0回答:1

我目前正在创建我的Web开发服务网站,我使用create-react-app创建它。该网站在桌面和移动电话中正常运行。我唯一的问题是该网站没有出现在iPhone 6S(Chrome或Safari)中。我正在寻找通过互联网,但我无法找到任何答案。我希望得到任何答案。老实说,我不知道从哪里开始,但所有代码都位于这个github仓库:https://github.com/luisenriquecgongora/oracliom-website该网站托管在AWS S3中,内容使用CloudFront和Route 53提供。该网站是www.oracliom.com

我已经尝试在缓存中包含此标头:

<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />

我也试过清理手机的缓存。

完整的代码位于这里:https://github.com/luisenriquecgongora/oracliom-website

reactjs amazon-web-services amazon-s3 amazon-route53 aws-cloudfront
1个回答
0
投票

尝试安装:npm i core-js raf

然后在index.js

import 'core-js/fn/number/is-nan'; import 'core-js/es7/'; import 'core-js/es6/'; import 'raf/polyfill';

ref:https://github.com/facebook/create-react-app/issues/4844

© www.soinside.com 2019 - 2024. All rights reserved.