Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
akhileshThapliyal opened this issue Nov 8, 2023 · 1 comment
Open

Comments

@akhileshThapliyal
Copy link

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 ([email protected])
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
@breautek
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants