tylervz opened a new issue #1080: URL: https://github.com/apache/cordova-ios/issues/1080
# Bug Report ## Problem Since upgrading to cordova-ios 6.2.0 from 5.1.1 I'm facing several issues when running my app, which uses the [OpenUI5 framework](https://openui5.org/releases/), on iOS 12. I have created a sample app to demonstrate the issues: https://github.com/tylervz/ui5-cordova-ios-sample-app ### What is expected to happen? Launch the app on an iOS device (emulator or actual device) running iOS 12.4. I believe the issues would happen with any 12.x version of iOS; 12.4 is highest so I've been testing with that on an emulator. Press the Show Today's Date button. Instead of showing a toast with today's date, the page appears to refresh. This is the [JavaScript line](https://github.com/tylervz/ui5-cordova-ios-sample-app/blob/1f9861f681fdae250cd77a0f499d99d0cfdc0420/www/controller/Home.controller.js#L186-L188) that's not executing as expected: ``` DateFormat.getDateTimeInstance({ pattern: "yyyy-MM-dd HH:mm:ss.S" }); ``` Press the Filter icon button at the top right of the home page. Instead of showing the Dialog with a `sap.m.DatePicker`, the page appears to refresh. If you were to remove the `DatePicker` from the dialog and the corresponding code in the controller, the dialog would open fine on iOS 12. Press the Go To Detail Page button. The app crashes rather than showing the page with a `sap.ui.unified.Calendar`. If you run the app on Android or a different iOS version, the app behaves as expected (with a couple exceptions noted in my README for iOS 11). Additionally, if you checkout the `working` branch, you can run the app on iOS 12.4 and navigate to the Detail Page without the app crashing because the page does not have the `sap.ui.unified.Calendar` control on it. ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> Clone my sample app. git clone [email protected]:tylervz/ui5-cordova-ios-sample-app.git cd ui5-cordova-ios-sample-app cordova plaftorm add ios cordova build ios open platforms/ios/HelloWorldUI5.xcodeproj Then run the application from XCode using an emulator running iOS 12.4 ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> The app displays issues on an iOS 12.4 iPhone 8 emulator. However it runs fine on the following devices: iOS 11.3 iPhone 8 emulator iOS 13.5 iPhone 8 emulator iOS 14.4 iPhone 8 emulator Android 8.0.0 (Samsung Galaxy S7) with Chrome 84.0.4147.125 (OK). ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> OpenUI5 version: 1.80.0 Cordova version: 10.0.0 cordova-ios version: 6.2.0 macOS 10.15.7 Xcode 12.4 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
