Ionic run ios: working on IOS9 but not IOS8.4

Hi guys,

I’m having an issue and I don’t know why.

I’m running xcode 7 to build the ios app, It works perfectly on ios9, (I updated the domain issue). but now is not working on 8.4 devices. Before this it was working well.

In iOS 8.4 only shows apps background and the only console log that I see is this:

2015-09-25 14:41:00.387 app[90924:7147481] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/user/Library/Developer/CoreSimulator/Devices/78FF7289-DB7D-4DD5-A282-B72A5E056A72/data/Containers/Data/Application/E15AB1DD-57D2-48FA-AABA-3E76C452E09B/Library/Cookies/Cookies.binarycookies
2015-09-25 14:41:00.457 app[90924:7147481] Apache Cordova native platform version 3.8.0 is starting.
2015-09-25 14:41:00.458 app[90924:7147481] Multi-tasking -> Device: YES, App: YES
2015-09-25 14:41:00.459 app[90924:7147481] Unlimited access to network resources
2015-09-25 14:41:00.665 app[90924:7147481] Resetting plugins due to page load.
2015-09-25 14:41:00.987 app[90924:7147481] Finished load of: file:///Users/user/Library/Developer/CoreSimulator/Devices/78FF7289-DB7D-4DD5-A282-B72A5E056A72/data/Containers/Bundle/Application/E96B7723-6D86-4C15-BD23-5B0BF1BB8986/app.app/www/index.html

Thank you very much.

I have the same issue. Where you able to resolve it?

Yes!, I tried to debug in terminal, and I realised than i was using a javascript function that was not suported already in 8.4 and yes at 9

what type of function was it? and did you include any library to fix it?

window.navigator.language.startsWith("es")

to fix I changed for:

window.navigator.language.substring(0,2) == "es"

startsWith was not supported in iOS8.4

is that in a library or your own code? I am just trying to determine where that is.

my own code. it is not a library.