While experimenting with Ionic, I discovered a peculiar issue when building an app on iOS 9 and using ...args
in my function arguments - it resulted in a white screen in Ionic.
Interestingly, the app functioned properly in the browser, but both emulator and device displayed a white screen. Making a simple adjustment by changing ...args
to args and modifying my function resolved this issue.
This raised the question for me - are ...args
not supported in iOS 9? And if they aren't, is there a reference where I can identify which functions are permissible and which are not?
I often find myself putting in significant effort only to realize during compilation that what worked in the browser isn't functioning correctly on the actual device (similar to the arrow functions from ECMAScript 6 example, where switching from () => {}
to function () {}
fixes the issue).
Could it be possible that I am making a mistake in my implementation within Ionic/Angular/JavaScript? Your insights are greatly appreciated. Thank you.