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

Pako "unknown compression method" when loading a .xkt file inside a WKWebView on iOS #166

Open
jstart opened this issue Jan 17, 2024 · 0 comments

Comments

@jstart
Copy link

jstart commented Jan 17, 2024

I am trying to use xeokit within a web view in a native iOS application. The sdk is propery loaded into the safari/webkit view and displays the controls and UI as expected. However, when window.bimViewer.loadProject is called, when the SDK attempts to decompress the xkt, I receive the error "unknown compression method". The pako library is minified and included inside the SDK so I am not sure of a clear way to use breakpoints and debug the decompression code.

Any suggestions on better ways to debug this or examples of integrating the viewer inside a native iOS application?

Stacktrace:
image

Current view when loading:
Simulator Screenshot - iPhone 15 Pro Max - 2024-01-16 at 11 25 54

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

1 participant