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

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived