Title: feat: add cross-platform NativeWindow implementation by edusperoni · Pull Request #11181 · NativeScript/NativeScript · GitHub
Open Graph Title: feat: add cross-platform NativeWindow implementation by edusperoni · Pull Request #11181 · NativeScript/NativeScript
X Title: feat: add cross-platform NativeWindow implementation by edusperoni · Pull Request #11181 · NativeScript/NativeScript
Description: This is a draft POC implementation. The goal is mostly to discuss the approach and refine it. We introduce a new class (NativeWindow) which will handle most multi-window functions. We slowly deprecate 'launch' event and other Application events in favor of the window events. Ideally we also add something like: View.getNativeWindow() so you can get the NativeWindow of a specific view. All plugins will have to adapt to this new API, but we'll provide backwards compatibility. In sum, we the following concept: Application: the full context. This is where JS lives. This is the browser "window" NativeWindow: A browser tab or multi-window. Multiple windows live in the same JS context. The developer can choose how to handle this. Example from my angular background: Every window can be a fully new app bootstrapApplication(...) ("root" services are per-window, "platform" services are shared) Bootstrap a single application and every window is a different createComponent ("root" services are shared, navigation has to be similar to modal navigation)
Open Graph Description: This is a draft POC implementation. The goal is mostly to discuss the approach and refine it. We introduce a new class (NativeWindow) which will handle most multi-window functions. We slowly deprec...
X Description: This is a draft POC implementation. The goal is mostly to discuss the approach and refine it. We introduce a new class (NativeWindow) which will handle most multi-window functions. We slowly deprec...
Opengraph URL: https://github.com/NativeScript/NativeScript/pull/11181
X: @github
Domain: Github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:31ca50ce-a578-11c0-277a-ddb8392f4eb7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B638:142A5A:E2564:142074:6A637066 |
| html-safe-nonce | 8b413a63a5a387250ffc9e2ec4b5f84f8a591211ba2bede386e3b637f758cb5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjM4OjE0MkE1QTpFMjU2NDoxNDIwNzQ6NkE2MzcwNjYiLCJ2aXNpdG9yX2lkIjoiNjQ2MzM4NjMwODYwMjcyMDM1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 40c35406be5361f9feb9f0bd5a72cd02216718c0e9001ff33f8f729d23c815fe |
| hovercard-subject-tag | pull_request:3523985208 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/NativeScript/NativeScript/pull/11181/files |
| twitter:image | https://avatars.githubusercontent.com/u/4061767?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4061767?s=400&v=4 |
| og:image:alt | This is a draft POC implementation. The goal is mostly to discuss the approach and refine it. We introduce a new class (NativeWindow) which will handle most multi-window functions. We slowly deprec... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e7b5617850fbcd6d10fe2b7c56398444bccb5f3a58a4a18c6d363971295bcd03 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | aa341b3f432dc63fa9633042725aec601722a352 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width