René's URL Explorer Experiment


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

direct link

Domain: Github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:31ca50ce-a578-11c0-277a-ddb8392f4eb7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB638:142A5A:E2564:142074:6A637066
html-safe-nonce8b413a63a5a387250ffc9e2ec4b5f84f8a591211ba2bede386e3b637f758cb5d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjM4OjE0MkE1QTpFMjU2NDoxNDIwNzQ6NkE2MzcwNjYiLCJ2aXNpdG9yX2lkIjoiNjQ2MzM4NjMwODYwMjcyMDM1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac40c35406be5361f9feb9f0bd5a72cd02216718c0e9001ff33f8f729d23c815fe
hovercard-subject-tagpull_request:3523985208
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/NativeScript/pull/11181/files
twitter:imagehttps://avatars.githubusercontent.com/u/4061767?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4061767?s=400&v=4
og:image:altThis 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee7b5617850fbcd6d10fe2b7c56398444bccb5f3a58a4a18c6d363971295bcd03
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaa341b3f432dc63fa9633042725aec601722a352
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://Github.com/NativeScript/NativeScript/pull/11181/files#start-of-content
https://Github.com/
Sign in https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F11181%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F11181%2Ffiles
Sign up https://Github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://Github.com/NativeScript/NativeScript/pull/11181/files
Reloadhttps://Github.com/NativeScript/NativeScript/pull/11181/files
Reloadhttps://Github.com/NativeScript/NativeScript/pull/11181/files
Please reload this pagehttps://Github.com/NativeScript/NativeScript/pull/11181/files
NativeScript https://Github.com/NativeScript
NativeScripthttps://Github.com/NativeScript/NativeScript
Please reload this pagehttps://Github.com/NativeScript/NativeScript/pull/11181/files
Notifications https://Github.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://Github.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.6k https://Github.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://Github.com/NativeScript/NativeScript
Issues 771 https://Github.com/NativeScript/NativeScript/issues
Pull requests 66 https://Github.com/NativeScript/NativeScript/pulls
Discussions https://Github.com/NativeScript/NativeScript/discussions
Actions https://Github.com/NativeScript/NativeScript/actions
Projects https://Github.com/NativeScript/NativeScript/projects
Wiki https://Github.com/NativeScript/NativeScript/wiki
Security and quality 0 https://Github.com/NativeScript/NativeScript/security
Insights https://Github.com/NativeScript/NativeScript/pulse
Code https://Github.com/NativeScript/NativeScript
Issues https://Github.com/NativeScript/NativeScript/issues
Pull requests https://Github.com/NativeScript/NativeScript/pulls
Discussions https://Github.com/NativeScript/NativeScript/discussions
Actions https://Github.com/NativeScript/NativeScript/actions
Projects https://Github.com/NativeScript/NativeScript/projects
Wiki https://Github.com/NativeScript/NativeScript/wiki
Security and quality https://Github.com/NativeScript/NativeScript/security
Insights https://Github.com/NativeScript/NativeScript/pulse
Sign up for GitHub https://Github.com/signup?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://Github.com/login?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
edusperonihttps://Github.com/edusperoni
mainhttps://Github.com/NativeScript/NativeScript/tree/main
feat/unified-multi-windowhttps://Github.com/NativeScript/NativeScript/tree/feat/unified-multi-window
Conversation 7 https://Github.com/NativeScript/NativeScript/pull/11181
Commits 3 https://Github.com/NativeScript/NativeScript/pull/11181/commits
Checks 6 https://Github.com/NativeScript/NativeScript/pull/11181/checks
Files changed https://Github.com/NativeScript/NativeScript/pull/11181/files
Please reload this pagehttps://Github.com/NativeScript/NativeScript/pull/11181/files
feat: add cross-platform NativeWindow implementation https://Github.com/NativeScript/NativeScript/pull/11181/files#top
Show all changes 3 commits https://Github.com/NativeScript/NativeScript/pull/11181/files
8d9189e feat: add cross-platform NativeWindow implementation edusperoni Apr 13, 2026 https://Github.com/NativeScript/NativeScript/pull/11181/commits/8d9189e2d4a134424ebb9670d18cbb0b09c8af16
995ea5f refactor: Update NativeWindow implementation and lifecycle event hand… edusperoni Apr 13, 2026 https://Github.com/NativeScript/NativeScript/pull/11181/commits/995ea5f11a9e798716a9ed3053b28a9a8f966e65
50f8880 chore: remove unneeded scene config edusperoni Apr 13, 2026 https://Github.com/NativeScript/NativeScript/pull/11181/commits/50f88804aebeb188e26337a81c65fda11ccbff95
Clear filters https://Github.com/NativeScript/NativeScript/pull/11181/files
Please reload this pagehttps://Github.com/NativeScript/NativeScript/pull/11181/files
Please reload this pagehttps://Github.com/NativeScript/NativeScript/pull/11181/files
multiple-scenes.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
application-common.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-74dd81a44a15a91a76f316f55634e635f829da2ae2d8df02fceea55958bae881
application.android.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-c6f1113099638c725b210eda5d070aabe060961bba5b848012f3b6b208c75a88
application.d.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-929b249b5e1609dbd5478cf1d9c18f14fc0677f0bb403bc9d8e6c0b875565726
application.ios.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-258ed120cab9fe891fe8fbf8e0670c59d55e846fc003f8e3497c5d03c4e6914f
index.d.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-f0cc8d94e32e163b7710893abe0baabc50026b7a024e9497cd1599ae401c6912
index.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-1e2ad102aec04f87784d057de42aaf80a1903c032edf9732e84d7fc7dd58c497
index.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-e8d67d253fd21b9f92a0375eed9a910c1433e2c00789ae62512b537abfb12b53
native-window-common.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-ef0fa0207d21cb32d2060d070543a106a7d2a9af6b5f019a4f9bc7ca485c7762
native-window-interfaces.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-3bd580f5cb1a0ba9c17a479dcb1d0170ed7d4e2c0d59c33e378c2646e286763e
native-window.android.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-cab1ae32fccdb1a31694c4d57dc8fbb821375d13a21b3e19981ba1c6384c0f58
native-window.ios.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-9560e27c266ac0c6da692e7bc5377359a73b84c7dcf99e395e49faf0f01a1d46
index.android.ts https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-aac2c6e11b65a628114bb7df638ed7e629e2cbe6d160c2172f37b2a7a9ef3e69
Info.plist https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-b5dd0307e68da6cfbbbc9816f93ae2e1a3d6125fd6b39a5aab9c28dda5089d9f
apps/toolbox/src/pages/multiple-scenes.tshttps://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
View file https://Github.com/NativeScript/NativeScript/blob/50f88804aebeb188e26337a81c65fda11ccbff95/apps/toolbox/src/pages/multiple-scenes.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://Github.com/NativeScript/NativeScript/pull/11181/{{ revealButtonHref }}
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-fc523fa3496df26b4dee59ed9f033ab5e2fd9451bb6b3144c6b912f8cff286fe
packages/core/application/application-common.tshttps://Github.com/NativeScript/NativeScript/pull/11181/files#diff-74dd81a44a15a91a76f316f55634e635f829da2ae2d8df02fceea55958bae881
View file https://Github.com/NativeScript/NativeScript/blob/50f88804aebeb188e26337a81c65fda11ccbff95/packages/core/application/application-common.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://Github.com/NativeScript/NativeScript/pull/11181/{{ revealButtonHref }}
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-74dd81a44a15a91a76f316f55634e635f829da2ae2d8df02fceea55958bae881
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-74dd81a44a15a91a76f316f55634e635f829da2ae2d8df02fceea55958bae881
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-74dd81a44a15a91a76f316f55634e635f829da2ae2d8df02fceea55958bae881
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-74dd81a44a15a91a76f316f55634e635f829da2ae2d8df02fceea55958bae881
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-74dd81a44a15a91a76f316f55634e635f829da2ae2d8df02fceea55958bae881
https://Github.com/NativeScript/NativeScript/pull/11181/files#diff-74dd81a44a15a91a76f316f55634e635f829da2ae2d8df02fceea55958bae881
Please reload this pagehttps://Github.com/NativeScript/NativeScript/pull/11181/files
Please reload this pagehttps://Github.com/NativeScript/NativeScript/pull/11181/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.