ReactJS App is showing blank on old iPhone, iOS 9.3.22019 Community Moderator ElectionHow do I fix React.js iOS blank screen?How can I develop for iPhone using a Windows development machine?iPhone App Minus App Store?How do you beta test an iphone app?Starting iPhone app development in Linux?Can I embed a custom font in an iPhone application?How to link to apps on the app storeHow to show “Done” button on iPhone number padSymbolicating iPhone App Crash ReportsiPhone App Icons - Exact Radius?How to develop or migrate apps for iPhone 5 screen resolution?

Is it possible to avoid unpacking when merging Association?

Are small insurances worth it?

Gaining more land

Why do we say ‘pairwise disjoint’, rather than ‘disjoint’?

What would be the most expensive material to an intergalactic society?

Does "Until when" sound natural for native speakers?

Confusion about Complex Continued Fraction

Power Strip for Europe

Are all players supposed to be able to see each others' character sheets?

How exactly does an Ethernet collision happen in the cable, since nodes use different circuits for Tx and Rx?

Can one live in the U.S. and not use a credit card?

Does Christianity allow for believing on someone else's behalf?

How to resolve: Reviewer #1 says remove section X vs. Reviewer #2 says expand section X

Doesn't allowing a user mode program to access kernel space memory and execute the IN and OUT instructions defeat the purpose of having CPU modes?

How do spaceships determine each other's mass in space?

Why couldn't the separatists legally leave the Republic?

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

Is it possible that a question has only two answers?

What's the 'present simple' form of the word "нашла́" in 3rd person singular female?

Can we track matter through time by looking at different depths in space?

Trig Subsitution When There's No Square Root

Is a piano played in the same way as a harmonium?

From an axiomatic set theoric approach why can we take uncountable unions?

Windows Server Data Center Edition - Unlimited Virtual Machines



ReactJS App is showing blank on old iPhone, iOS 9.3.2



2019 Community Moderator ElectionHow do I fix React.js iOS blank screen?How can I develop for iPhone using a Windows development machine?iPhone App Minus App Store?How do you beta test an iphone app?Starting iPhone app development in Linux?Can I embed a custom font in an iPhone application?How to link to apps on the app storeHow to show “Done” button on iPhone number padSymbolicating iPhone App Crash ReportsiPhone App Icons - Exact Radius?How to develop or migrate apps for iPhone 5 screen resolution?










0















Scenario
I created a test app, which was started via npx create-react-app my-app-name ... and then built via npm run build. The reactJS app is working on desktop browsers, but i am getting a blank screen on my iPhone (iOS 9.3.2); On my phone, I have tested on Safari and latest update of Google Chrome.



other tests



  • The mobile emulators work fine

  • The app works fine on iOS 11 + (iPhone 5S tested)

  • The app works on Android 5 +

  • The app works on Edge on Windows mobile 10

from research
- I saw an existing question, the scripts are loaded after the app as you can see in my HTML (below)






<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="/manifest.json" />
<title>Akber Iqbal | About(React)</title>
<link href="/static_about/css/main.314f812b.chunk.css" rel="stylesheet">
</head>

<body><noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/static_about/js/2.c65df5fc.chunk.js"></script>
<script src="/static_about/js/main.cd9a0ba3.chunk.js"></script>
<script>
! function(l) ([])
</script>
</body>

</html>





  • In my code, I have used arrow functions in 2 places only...

in ComponentDidMount()



fetch(stackOverflowURL)
.then(initialRes => initialRes.json())
.then(
arrayRes => this.setState( error: null, isLoaded: true, stackOverflowItems: arrayRes.items[0] );
, errr => this.setState( error: errr, isLoaded: false ); console.log(errr);
);


i also used arrow functions in the render()



 if (this.state.isLoaded) 
const getItems = this.state.aiArticles.map((item, index) =>
return (
<div className="aiArticle" key=index>
<img src=item.imgsrc alt=item.alttext className="img-responsive" />
<h3 className="articleHeading"> <a href=item.articlelink>item.articleheading</a> </h3>
<p>item.publisheddate</p>
</div>)
)
return <div>getItems</div>
else
return <p>Wait for the rest Api to load the articles </p>



Question:
Is there a workaround to get the app to work on old devices?



Screenshots
Safari on iOS 9.3.2Chrome on iOS 9.3.2










share|improve this question
























  • just to test, try some other browser. Any other browser then safari and chrome.

    – Akshay Mulgavkar
    Mar 7 at 5:08











  • @AkshayMulgavkar, any browser you'd recommend? Chrome+Safari dominate the browser market on iPhone, the application should work on these...

    – Akber Iqbal
    Mar 7 at 5:22















0















Scenario
I created a test app, which was started via npx create-react-app my-app-name ... and then built via npm run build. The reactJS app is working on desktop browsers, but i am getting a blank screen on my iPhone (iOS 9.3.2); On my phone, I have tested on Safari and latest update of Google Chrome.



other tests



  • The mobile emulators work fine

  • The app works fine on iOS 11 + (iPhone 5S tested)

  • The app works on Android 5 +

  • The app works on Edge on Windows mobile 10

from research
- I saw an existing question, the scripts are loaded after the app as you can see in my HTML (below)






<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="/manifest.json" />
<title>Akber Iqbal | About(React)</title>
<link href="/static_about/css/main.314f812b.chunk.css" rel="stylesheet">
</head>

<body><noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/static_about/js/2.c65df5fc.chunk.js"></script>
<script src="/static_about/js/main.cd9a0ba3.chunk.js"></script>
<script>
! function(l) ([])
</script>
</body>

</html>





  • In my code, I have used arrow functions in 2 places only...

in ComponentDidMount()



fetch(stackOverflowURL)
.then(initialRes => initialRes.json())
.then(
arrayRes => this.setState( error: null, isLoaded: true, stackOverflowItems: arrayRes.items[0] );
, errr => this.setState( error: errr, isLoaded: false ); console.log(errr);
);


i also used arrow functions in the render()



 if (this.state.isLoaded) 
const getItems = this.state.aiArticles.map((item, index) =>
return (
<div className="aiArticle" key=index>
<img src=item.imgsrc alt=item.alttext className="img-responsive" />
<h3 className="articleHeading"> <a href=item.articlelink>item.articleheading</a> </h3>
<p>item.publisheddate</p>
</div>)
)
return <div>getItems</div>
else
return <p>Wait for the rest Api to load the articles </p>



Question:
Is there a workaround to get the app to work on old devices?



Screenshots
Safari on iOS 9.3.2Chrome on iOS 9.3.2










share|improve this question
























  • just to test, try some other browser. Any other browser then safari and chrome.

    – Akshay Mulgavkar
    Mar 7 at 5:08











  • @AkshayMulgavkar, any browser you'd recommend? Chrome+Safari dominate the browser market on iPhone, the application should work on these...

    – Akber Iqbal
    Mar 7 at 5:22













0












0








0


1






Scenario
I created a test app, which was started via npx create-react-app my-app-name ... and then built via npm run build. The reactJS app is working on desktop browsers, but i am getting a blank screen on my iPhone (iOS 9.3.2); On my phone, I have tested on Safari and latest update of Google Chrome.



other tests



  • The mobile emulators work fine

  • The app works fine on iOS 11 + (iPhone 5S tested)

  • The app works on Android 5 +

  • The app works on Edge on Windows mobile 10

from research
- I saw an existing question, the scripts are loaded after the app as you can see in my HTML (below)






<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="/manifest.json" />
<title>Akber Iqbal | About(React)</title>
<link href="/static_about/css/main.314f812b.chunk.css" rel="stylesheet">
</head>

<body><noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/static_about/js/2.c65df5fc.chunk.js"></script>
<script src="/static_about/js/main.cd9a0ba3.chunk.js"></script>
<script>
! function(l) ([])
</script>
</body>

</html>





  • In my code, I have used arrow functions in 2 places only...

in ComponentDidMount()



fetch(stackOverflowURL)
.then(initialRes => initialRes.json())
.then(
arrayRes => this.setState( error: null, isLoaded: true, stackOverflowItems: arrayRes.items[0] );
, errr => this.setState( error: errr, isLoaded: false ); console.log(errr);
);


i also used arrow functions in the render()



 if (this.state.isLoaded) 
const getItems = this.state.aiArticles.map((item, index) =>
return (
<div className="aiArticle" key=index>
<img src=item.imgsrc alt=item.alttext className="img-responsive" />
<h3 className="articleHeading"> <a href=item.articlelink>item.articleheading</a> </h3>
<p>item.publisheddate</p>
</div>)
)
return <div>getItems</div>
else
return <p>Wait for the rest Api to load the articles </p>



Question:
Is there a workaround to get the app to work on old devices?



Screenshots
Safari on iOS 9.3.2Chrome on iOS 9.3.2










share|improve this question
















Scenario
I created a test app, which was started via npx create-react-app my-app-name ... and then built via npm run build. The reactJS app is working on desktop browsers, but i am getting a blank screen on my iPhone (iOS 9.3.2); On my phone, I have tested on Safari and latest update of Google Chrome.



other tests



  • The mobile emulators work fine

  • The app works fine on iOS 11 + (iPhone 5S tested)

  • The app works on Android 5 +

  • The app works on Edge on Windows mobile 10

from research
- I saw an existing question, the scripts are loaded after the app as you can see in my HTML (below)






<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="/manifest.json" />
<title>Akber Iqbal | About(React)</title>
<link href="/static_about/css/main.314f812b.chunk.css" rel="stylesheet">
</head>

<body><noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/static_about/js/2.c65df5fc.chunk.js"></script>
<script src="/static_about/js/main.cd9a0ba3.chunk.js"></script>
<script>
! function(l) ([])
</script>
</body>

</html>





  • In my code, I have used arrow functions in 2 places only...

in ComponentDidMount()



fetch(stackOverflowURL)
.then(initialRes => initialRes.json())
.then(
arrayRes => this.setState( error: null, isLoaded: true, stackOverflowItems: arrayRes.items[0] );
, errr => this.setState( error: errr, isLoaded: false ); console.log(errr);
);


i also used arrow functions in the render()



 if (this.state.isLoaded) 
const getItems = this.state.aiArticles.map((item, index) =>
return (
<div className="aiArticle" key=index>
<img src=item.imgsrc alt=item.alttext className="img-responsive" />
<h3 className="articleHeading"> <a href=item.articlelink>item.articleheading</a> </h3>
<p>item.publisheddate</p>
</div>)
)
return <div>getItems</div>
else
return <p>Wait for the rest Api to load the articles </p>



Question:
Is there a workaround to get the app to work on old devices?



Screenshots
Safari on iOS 9.3.2Chrome on iOS 9.3.2






<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="/manifest.json" />
<title>Akber Iqbal | About(React)</title>
<link href="/static_about/css/main.314f812b.chunk.css" rel="stylesheet">
</head>

<body><noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/static_about/js/2.c65df5fc.chunk.js"></script>
<script src="/static_about/js/main.cd9a0ba3.chunk.js"></script>
<script>
! function(l) ([])
</script>
</body>

</html>





<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="/manifest.json" />
<title>Akber Iqbal | About(React)</title>
<link href="/static_about/css/main.314f812b.chunk.css" rel="stylesheet">
</head>

<body><noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/static_about/js/2.c65df5fc.chunk.js"></script>
<script src="/static_about/js/main.cd9a0ba3.chunk.js"></script>
<script>
! function(l) ([])
</script>
</body>

</html>






ios iphone reactjs google-chrome






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 7 at 5:21







Akber Iqbal

















asked Mar 7 at 4:51









Akber IqbalAkber Iqbal

2,64031226




2,64031226












  • just to test, try some other browser. Any other browser then safari and chrome.

    – Akshay Mulgavkar
    Mar 7 at 5:08











  • @AkshayMulgavkar, any browser you'd recommend? Chrome+Safari dominate the browser market on iPhone, the application should work on these...

    – Akber Iqbal
    Mar 7 at 5:22

















  • just to test, try some other browser. Any other browser then safari and chrome.

    – Akshay Mulgavkar
    Mar 7 at 5:08











  • @AkshayMulgavkar, any browser you'd recommend? Chrome+Safari dominate the browser market on iPhone, the application should work on these...

    – Akber Iqbal
    Mar 7 at 5:22
















just to test, try some other browser. Any other browser then safari and chrome.

– Akshay Mulgavkar
Mar 7 at 5:08





just to test, try some other browser. Any other browser then safari and chrome.

– Akshay Mulgavkar
Mar 7 at 5:08













@AkshayMulgavkar, any browser you'd recommend? Chrome+Safari dominate the browser market on iPhone, the application should work on these...

– Akber Iqbal
Mar 7 at 5:22





@AkshayMulgavkar, any browser you'd recommend? Chrome+Safari dominate the browser market on iPhone, the application should work on these...

– Akber Iqbal
Mar 7 at 5:22












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55036328%2freactjs-app-is-showing-blank-on-old-iphone-ios-9-3-2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid …


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55036328%2freactjs-app-is-showing-blank-on-old-iphone-ios-9-3-2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

Posting a File and Associated Data to a RESTful WebService preferably as JSON2019 Community Moderator ElectionREST URI convention - Singular or plural name of resource while creating itUploading both data and files in one form using Ajax?How do I upload a file with metadata using a REST web service?REST API - file (ie images) processing - best practicesSpring: JSON data and file in the same requestREST API Put large dataPosting a file and JSON data to Spring rest serviceRESTful Web Service Upload/Download Large Data With JSONREST API Design sending JSON data and a file to the api in same requestPost JSONArray to REST servicePUT vs. POST in RESTParsing values from a JSON file?JavaScript/jQuery to download file via POST with JSON dataHow do I upload a file with metadata using a REST web service?How to POST JSON data with Curl from Terminal/Commandline to Test Spring REST?Separate REST JSON API server and client?what's the correct way to send a file from REST web service to client?How do I write JSON data to a file?What is “406-Not Acceptable Response” in HTTP?REST API - file (ie images) processing - best practices

How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page