However, promises are supported on iOS 8 and iOS 10.
Steps to reproduce:
- Set up a project's "tiapp.xml" with the below "transpile" setting.
- Build and run the below code on iOS 9.
An exception dialog is displayed stating "Can't find variable: Promise".
- This issue does not happen in iOS 8.1 and 8.4 simulators.
- This issue does not happen in iOS 10.3.1 simulator.
- I verified that this issue happens in iOS 9.0 and 9.3 simulator.
- I've tried setting "tiapp.xml" <transpile> setting true and false. No difference. Always fails on iOS 9.x Setting <transpile> to false surprisingly works on iOS 8.