apache / cordova

Apache Cordova
https://cordova.apache.org/
584 stars 61 forks source link

Embedded Cordova in Apple's VisionOS App (VisionOS Platform) #448

Open akhileshThapliyal opened 5 months ago

akhileshThapliyal commented 5 months ago

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

Error

image

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