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

When using a front-end framework for multi-end development, an error occurred when compiling the Android app using this plugin #5768

Open
cjh1129434866 opened this issue Dec 8, 2023 · 0 comments

Comments

@cjh1129434866
Copy link

I use a domestic framework for hybrid development of apps called uniapp. I can use your plug-in to run normally on the h5 terminal, but there is a blank screen on the Android terminal and error information is reported on the terminal.
I think the plugin uses the window object on the browser side, so the error is reported on the Android side. Can the official solve this problem?

The error message is as follows:

**reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'location' of undefined

at getAbsoluteUrl (app-service.js:16233:19)**

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