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

support for htmlapps using controller status for accelerator UI. #234

Open
kvfasil opened this issue Sep 19, 2023 · 0 comments
Open

support for htmlapps using controller status for accelerator UI. #234

kvfasil opened this issue Sep 19, 2023 · 0 comments
Assignees
Labels
accelerator-ui Tasks associated with supporting accerator UI

Comments

@kvfasil
Copy link
Contributor

kvfasil commented Sep 19, 2023

[] check the URL contain arguments "rippleController=true".
eg : https://x1box-app.xumo.com/index.html?rippleController=true
[] if it is present spawn a green thread(tokio::spawn) then subscribe controller event through BrowserRequest. (statechange)
[] Add a new enum in BrowserRequest for ControllerLifecycleEvents. Add logic in thunder_browser to use wait_for_plugin_activation and listen to a browser's status of activation. Add a timeout here to make sure we dont wait endlessly this timeout should be equal to check for Ready timeout unsubscribe and cleanup
[] If status is Activated

        let request = LifecycleManagementRequest::Ready(app_id);

[] If status is Deactivated/Suspended

        let request = LifecycleManagementRequest::Close(app_id, Done);

https://rdkcentral.github.io/rdkservices/#/api/WebKitBrowserPlugin

@kvfasil kvfasil added the accelerator-ui Tasks associated with supporting accerator UI label Sep 19, 2023
@kvfasil kvfasil linked a pull request Nov 10, 2023 that will close this issue
2 tasks
@kvfasil kvfasil linked a pull request Jan 9, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accelerator-ui Tasks associated with supporting accerator UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant