-
Notifications
You must be signed in to change notification settings - Fork 1k
fix: vue 3 log warning causes error on iOS #6993
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
fix: vue 3 log warning causes error on iOS #6993
Conversation
core/native-bridge.ts
Outdated
return String(msg); | ||
} | ||
catch (e) { | ||
return '??'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably return a blank string, if that will also avoid the error. Or perhaps an error message to the console and a blank string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, seems I left the ?? as was not sure what should be returned. I'm definitely ok with empty string unless there is any better suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you run |
I managed to quickly sync, do the |
@markemer I addressed your suggestions |
Co-authored-by: Mark Anderson <[email protected]> Co-authored-by: jcesarmobile <[email protected]>
fixes #6615
not sure what exactly should be returned when
String
throws error