69 Commits

Author SHA1 Message Date
991445461b feat: iOS 26 types with improvements (ActionBar, Switch) + .ns-{platform}-{sdkVersion} css root scoping (#10775)
This provides for better ability to target platform > sdk > majorVersion specific features.
For example, iOS 26 does not render titles when a background color is set on the actionbar. this allows that style to be overridden only on iOS 26 if desired.
2025-08-07 12:06:10 -07:00
86524229bc fix(android): improved handling for nested frames (#10713) 2025-07-20 20:52:55 -07:00
bca3452722 feat(ios): improved handling for navigation events (#10757) 2025-07-11 16:13:20 -07:00
1b72912f81 fix(core): corrected Frame navigation event types (#10697) 2025-02-13 16:49:58 -08:00
03cca58712 fix(core): safety-checks to prevent potential navigation exceptions (#10683)
Plus coding conventions and notes updates. [skip ci]
2025-01-31 13:59:26 -08:00
5f8fb2c36a fix(ios): frame backstack disposal handling (#10672) 2025-01-22 14:22:36 -08:00
24ad6e45b1 docs(core): fix types & improve jsdoc comments (#10620) 2025-01-12 12:38:28 -08:00
750d2ee455 fix(core): frame ignored event listeners in xml markup (#10646) 2024-11-18 19:50:21 -08:00
779d79285d feat(core): ability to embed into platform host projects (#10465) 2024-07-01 16:47:33 -07:00
9e472d7874 docs(core): update comments for on, once, addEventListener and removeEventListener (#10545) 2024-05-23 08:26:03 -07:00
5324e508ba feat(android): devtools for elements & network requests (#10506) 2024-04-07 10:27:42 -07:00
01d537bf15 feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478) 2024-04-05 17:07:16 -07:00
d67d297e37 feat(ios): allow custom navigationBar and toolbar on frame (#10495) 2024-04-02 12:29:09 -07:00
40b2a6a6db chore: use __ANDROID__ and __IOS__ throughout (#10446)
Standardizes usage for more macro style removal during bundling for target platforms.
[skip ci]
2023-11-25 08:34:25 -08:00
48b1856d6c fix(core): inheritable property changes backstack propagation (#10438)
[skip ci]
2023-11-25 08:31:50 -08:00
22c21b7e06 fix(core): page frame reference not unset on native view disposal (#10417) 2023-10-22 19:50:48 -07:00
bd8e1b8e79 fix(application): explicitly pass rootView to initRootView (#10345)
fixes occasional crashes when resuming the app.
2023-07-18 17:47:50 +02:00
f64355ba7a refactor: improved core barrel exports and Application class (#10286)
BREAKING CHANGES:

`Application.orientation` is no longer a function.

Migration: Remove `()` from the `Application.orientation()` call:
```diff
import { Application } from "@nativescript/core";

-console.log(Application.orientation());
+console.log(Application.orientation);
```


`Application.systemAppearance` is no longer a function.

Migration: Remove `()` from the `Application.systemAppearance()` call:
```diff
import { Application } from "@nativescript/core";

-console.log(Application.systemAppearance());
+console.log(Application.systemAppearance);
```
2023-05-25 07:45:39 -07:00
f4b2722bf4 feat(transitions): support zIndex on ios shared elements + support page props on android (#10261) 2023-04-17 08:54:09 -07:00
59369fbc19 feat(core): Shared Element Transitions (#10022) 2023-03-28 20:04:29 +02:00
2f4c318276 fix: global declarations fix (#10247) 2023-03-23 10:55:38 -07:00
7edd21a688 fix(android): dialogs activity usage (#10246) 2023-03-22 18:20:01 -07:00
4e62b00ddb fix(core): Frame to Page property propagation (#10225) 2023-03-02 08:39:32 -08:00
485fb61947 fix(core): Observable event types consistency (#10181) 2023-01-31 07:42:09 -08:00
0632215793 chore: eslint cleanup (#10160) 2023-01-09 09:40:20 -08:00
d138ac000d fix(ios): prevent transitionCoordinator usage during modal presentation (#10153)
closes https://github.com/NativeScript/NativeScript/issues/10115
2023-01-03 15:01:21 -08:00
a4f28b8317 fix(ios): navigatingTo event handling (#10120) 2022-12-28 09:23:10 -08:00
b147612e06 test: standardized jest unit testing (#10047) 2022-11-28 14:32:25 -08:00
6a9484aaa8 fix(android): prevent flashing activity on app start (#9190) 2022-11-23 22:20:57 -08:00
6148955335 fix(ios): frame navigatingTo event (#10096) 2022-11-18 09:21:03 -08:00
0f7e4ed0f3 fix(ios): tab page navigation when showing dialog messages (#10075) 2022-11-07 17:48:02 -08:00
ca3d9bdc13 fix(android): potential navigation crash (#9996) 2022-08-19 18:59:47 -07:00
286d36b03b fix(android): FragmentCallbacksImplementation memory leak (#9977) 2022-07-27 11:15:51 -07:00
59f923528d fix(android): FragmentClass memory leak (#9973)
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2022-07-26 14:52:48 -07:00
38142a6aeb fix(core): navigatingToEvent allows access to resolvedPage now (#9954)
BREAKING CHANGE:

When using `navigatingToEvent` event.entry, the `backstackEntry` object is now returned which has an `entry` property on it if you still need it.
2022-07-09 10:05:29 -07:00
957af32859 fix(ios): memory leak after using the 'presentViewControllerNavigation' (#9934) 2022-07-09 09:02:45 -07:00
665009b863 fix(live-sync): navigation history is now maintained (#9889) 2022-07-09 09:02:45 -07:00
58a720699f fix(core): android wrong background state + current value accessors (#9883) 2022-07-09 09:02:45 -07:00
ac2e944fd3 fix(android): fragment creation loaded/unloaded protection 2022-03-07 09:51:06 -08:00
6b41268a08 fix(android): edge cases and compatibility with fragments 1.2.x (#9782) 2022-03-01 12:32:39 -08:00
9b5d125f42 fix(android): NullPointerException on navigation (#9669)
closes #8441
2022-03-01 12:32:39 -08:00
902a4c6afc fix(android): nested frames were sometimes not recreated (#9725)
BREAKING CHANGE:

AndroidFragmentCallbacks now requires onResume as well

Migration steps:
specify onResume on custom fragment implementations
2022-03-01 12:32:38 -08:00
90b8718138 fix(android): only attach if activity is CREATED (#9552) 2021-09-18 13:27:21 -07:00
ffab4c3165 feat: Frame replacePage by entry (#9460)
* feat: Frame replacePage by entry

* feat(webpack): improved svelte HMR (#9497)

* update svelte config to use svelte-loader

* handle null config

* fix: worker support in .svelte files & update snapshots

* fix after merge

Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>

* feat(webpack): use svelte-loader and fallback to svelte-loader-hot

Allows running older projects

* feat: allow overwriting replacePage transition

Co-authored-by: farfromrefuge <martin.guillon@akylas.fr>
Co-authored-by: halfnelson <dpershouse@gmail.com>
2021-09-08 16:12:11 -07:00
6fc239dc56 fix(ios): resiliency to frame controller viewDidDisappear 2021-09-08 16:11:49 -07:00
e00f9772d8 chore: add guard around getLifecycle 2021-09-08 16:07:39 -07:00
e7b30af394 fix(android): prevent potential crash when app goes to background (#9347) 2021-09-08 16:07:39 -07:00
2dd2970c7d fix(android): dont dispose fragment on onloaded (#8793) 2021-09-08 16:07:39 -07:00
37c0731a8a fix(android): onSaveInstanceState should not crash when no rootView is set (#9447) 2021-09-08 16:07:39 -07:00
3e98d1e934 revert: feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation (#8791)
This reverts commit e498c9d5bc71bced194af694a95ec71a9037fda9.
2021-09-08 16:07:39 -07:00