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

"JVM already initialised" #69

Open
StefanPofahl opened this issue Jun 29, 2023 · 2 comments
Open

"JVM already initialised" #69

StefanPofahl opened this issue Jun 29, 2023 · 2 comments

Comments

@StefanPofahl
Copy link

Is it possible to test upfront to the command:
Taro.init()
if JVM needs to be initialized?

@mkitti
Copy link
Collaborator

mkitti commented Jul 15, 2023

You could check Taro.JavaCall.isloaded() before invoking Taro.init()

@StefanPofahl
Copy link
Author

Hi Mark,
thank you for your tip. Currently I am on vacation. I will try once I am back home again. :-) Regards Stefan

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