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

jsi::runtime::evaluateJavaScript can not evaluate javascript with "this object" #23665

Closed
kang-nanhu opened this issue Feb 27, 2019 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot. Type: Discussion Long running discussion.

Comments

@kang-nanhu
Copy link

In my case,i need evaluate some dynamic javascript. In react-native version before 0.58,i can get JSGlobalContextRef instance and call JSEvaluateScript with this.Now,javascript api is encapsulated into jsi. It is a good idea,but jsi::runtime::evaluateJavaScript function omit "this object" parameter. In my case , i need evaluate javascripts with specific "this object" parameter.

@kang-nanhu kang-nanhu added the Type: Discussion Long running discussion. label Feb 27, 2019
@cpojer
Copy link
Contributor

cpojer commented Mar 19, 2019

Please note this issue tracker is not a help forum (as stated in issue template).

We recommend using StackOverflow where there are community incentives to help others or our Discord channel for questions.

@cpojer cpojer closed this as completed Mar 19, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Mar 19, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot. Type: Discussion Long running discussion.
Projects
None yet
Development

No branches or pull requests

3 participants