-
Notifications
You must be signed in to change notification settings - Fork 12
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
[SDL 0240] WebEngine support for SDL JavaScript #90
Comments
@theresalech @crokita @nickschwab after some review of the SDL-0240 proposal and the current state of According to this, we would like to ask, what additionally expected as the solution to the current issue? Also, at first glance, it seems this js example could be adjusted to be used as an example for this proposal. All that is needed is just replace the hardcoded host, port, and protocol (ws/wss) of WebSocket initialization to use corresponding values from the URL's GET parameters. The second question is: could this adjustment be the solution of the current issue, would it be a good idea to put this WebEngine example into this repository, e.g., in |
@vladmu Yeah, that example JS app uses a websocket client connection, which connects to the java proxy program in the same directory that routes the packets via TCP so that we could test functionality. That idea sounds correct, in that the JS app could pull in those parameters from the URL and override the defaults. Both options sound feasible, whether it's making the JS app compatible with WebEngine as well, or just putting the WebEngine JS app in its own folder. I'm tempted to say the latter option is better, and to make the directory |
@vladmu while you're working on this implementation, as the manager layers are not yet complete, we were hoping to confirm that this feature will be implemented in the LifecycleManager in a way which provides flexibility to easily relocate to the manager layers once they're ready. Can you please let us know? Thank you! |
@theresalech I'm not sure what changes in the LifecycleManager do you mean, because as I said before, I see all required things for WebEngine are already in the library? I've prepared the PR with working example for WebEngine. What additionally expected here except this example, and WebSocket Client and sdl.js package existing in library? |
@vladmu According to the proposal (0240):
My interpretation of this is that a new public method would need to be offered in the JavaScript API to attempt to register the application using the contents of the manifest file, rather than requiring a developer to manually parse out pieces of the manifest to send in an RAI request within their app logic. For example, in a completely finished state being integrated into SdlManager, a developer might do something like this:
|
@nickschwab Thank you for the detailed explanation. Currently, the library doesn't have |
Proposal markdown file has been updated per the revisions included in accepted Evolution Proposal SDL 0240 Revisions - WebEngine support for SDL JavaScript. These revisions change the |
Proposal: WebEngine support for SDL JavaScript
Review: smartdevicelink/sdl_evolution#767
Steering Committee Decision:
locales
in themanifest.json
file, use standard (RFC 5646), and convert locale strings when necessary.The text was updated successfully, but these errors were encountered: