apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 987 forks source link

WIP: Modern app template #1162

Closed dpogue closed 2 years ago

dpogue commented 2 years ago

Depends on https://github.com/apache/cordova-ios/pull/1158

Platforms affected

iOS

Motivation and Context

Make the app template project match a modern Xcode-created iOS app project.

Description

Testing

Created an app with npx cordova platform add ~/Coding/cordova-ios. Ran the app successfully on iOS 11, iOS 12, iOS 13, iOS 14, and iOS 15. Also ran the app successfully on macOS with Catalyst.

Unit tests pass.

This need lots of testing to make sure the SceneDelegate stuff isn't interfering and blocking stuff that used to fire on the AppDelegate. Might need to introduce a CDVSceneDelegate in CordovaLib to account for this.

dpogue commented 2 years ago

I'm breaking this up into smaller pull requests for easier review