Embedded Cordova in Apple's VisionOS App (VisionOS Platform)
Opened this issue · 1 comments
Bug Report
I am exploring to port Cordova WebView into my existing VisionOS Application. I want to reuse the existing functionality that I have built in my previous hybrid applications and leverage all the features of the CDVViewController, as part of the Cordova offerings.
Problem
While configuring the embedded view approach it is giving me build errors. In addition to this, I also observed that Assets.frameworks isn't available as part of visionOS SDK.
https://cordova.apache.org/docs/en/12.x/guide/platforms/ios/webview.html
What is expected to happen?
I should be able to leverage CDVViewController and al the features which cordova offers as part of the iOS platform in visionOS platform as well
VisionOS SDK Project with Cordova iOS Embedded View
VisionDemo.zip
Cordova Project
MyVisionOSApp.zip
Environment, Platform, Device
Xcode Beta 15.1 beta 2
Vision OS 1.0 Beta
Version information
Cordova Platform: iOS
Cordova Cli: 12.0.0 (cordova-lib@12.0.1)
Cordova-ios: 7.0.1
Checklist
- [ 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
I don't know all the challenges involved but Asset Kit is definitely one of them.
It was deprecated in iOS 9 which is why there is a lack of support in VisionOS. It was replaced by PhotoKit, which does have a VisionOS implementation