4c705967d2
fix(android): targetSdk 34 registerBroadcastReceiver ( #10585 )
2024-07-12 10:56:29 -07:00
779d79285d
feat(core): ability to embed into platform host projects ( #10465 )
2024-07-01 16:47:33 -07:00
9fd361c2e6
feat(core): css media query support ( #10530 )
2024-07-01 09:28:59 -07:00
01d537bf15
feat(visionos): ui-mobile-base supporting xros plus improvements to window handling ( #10478 )
2024-04-05 17:07:16 -07:00
73709125c4
fix(ios): live-sync handling for plain js/ts apps ( #10500 )
2024-04-02 12:35:39 -07:00
d34a4395ec
chore: InitRootViewEventData description ( #10479 )
2024-01-21 10:32:36 -08:00
82e9c67d33
feat(core): initRootView event ( #10442 )
...
launchEvent is not triggered at the same moment on iOS and Android.
iOS is firing after setting the rootView while Android is firing before.
Consequently if you need an event for when the rootView is set (to read/write root css variables) you need this event.
[skip ci]
2023-11-25 11:04:01 -08:00
bbede5d795
feat(visionos): Vision Pro support ( #10392 )
2023-09-28 17:55:40 -07:00
7c2938d2ac
chore: TypeScript 5.2 with Nx 16.8.1 ( #10380 )
2023-09-09 08:55:39 -07:00
a959a797df
feat(ios): addDelegateHandler to add App Delegate handlers ( #10371 )
2023-09-01 20:37:31 -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
08049340b5
fix(application): restore AndroidApplication.on etc. ( #10336 )
2023-07-10 09:45:12 +02:00
5359153a11
fix(application): wrap native classes in initialisers ( #10335 )
...
fixes : #10334
2023-07-10 09:44:45 +02:00
09037196d8
fix: trigger css update when setting root classes ( #10328 )
...
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2023-06-23 09:20:10 -07:00
029ed4fe5d
fix(Application): getNativeApplication wrong ActivityThread ( #10326 )
...
fixes #10325
2023-06-23 09:16:54 -07:00
c278430240
fix(core): unhandled error typings ( #10320 )
...
NativeScriptError type def used to come from packages/core/global-types.d.ts now comes from packages/core/application/application-interfaces.ts, so fixed there now.
2023-06-22 12:19:56 -07:00
0873894a27
fix: early access to context and packageName ( #10321 )
2023-06-22 11:46:08 -07:00
7f09b925bd
fix(Application): orientation & systemAppearance root classes
2023-06-19 21:43:08 +02:00
e430555cb2
fix(Application): inBackground handling & missing once
( #10307 )
2023-06-14 13:09:41 -07:00
ab5fa941bc
refactor: Application barrel changes without breaking changes ( #10311 )
2023-06-13 09:29:39 -07: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
2f4c318276
fix: global declarations fix ( #10247 )
2023-03-23 10:55:38 -07:00
ee92512746
fix(ios): embed systemAppearance handling ( #10219 )
2023-02-20 21:03:59 -08:00
0183f7e643
fix(ios): sdk embedding ( #10216 )
2023-02-15 21:33:26 -08:00
25d780f41c
chore: cleanup
2023-02-14 16:17:22 -08:00
9179ff861d
fix(ios): embedding sdk ( #10211 )
...
Disable setting main window content
When NS app is embedded main window should not be updated because it belongs to the parent app.
2023-02-13 23:05:41 -08:00
485fb61947
fix(core): Observable event types consistency ( #10181 )
2023-01-31 07:42:09 -08:00
a69a9d6921
fix(ios): embedder usage of window ( #10167 )
2023-01-13 18:02:44 -08:00
f3a5c16530
fix(android): application fallback for startActivity
( #10062 )
2022-11-07 08:28:09 -08:00
8987babb08
feat(application): expose inBackground
and suspended
( #9897 )
...
For IOSApplication to be like AndroidApplication
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
7ff7233737
feat(core): maxLines support for all text components ( #9884 )
2022-07-09 09:02:45 -07:00
b553a900d7
feat: background/foreground events ( #9763 )
...
On android `suspend/resume` was not doing what was expected.
In particular it was called while showing dialogs. This adds new `background` and `foreground` events which will fire expectedly and consistently for ios and android.
2022-03-01 12:32:39 -08:00
b292495506
feat(ios): allow dynamic ProMotion frame refresh rate changes ( #9775 )
...
see: https://developer.apple.com/documentation/quartzcore/optimizing_promotion_refresh_rates_for_iphone_13_pro_and_ipad_pro
2022-03-01 12:32:39 -08:00
6c06c77618
fix(core): Application handling of nativeApp instance
2022-03-01 12:32:39 -08:00
f10cffcb02
fix: ensure android can access native app instance before bootstrap
2022-03-01 12:32:39 -08:00
a518249958
fix: application instance creation occurs only within Application.run
2022-03-01 12:32:38 -08:00
4ee1acb05c
chore: fix color tests
2021-09-08 16:07:39 -07:00
f053001dc1
feat(android): provide ability to get registered broadCastReceiver ( #9467 )
2021-07-12 11:35:26 -07:00
dac36c6801
fix(a11y): add missing application event for fontScaleChanged ( #9396 )
2021-05-13 08:42:55 -07:00
0d4ccba60a
chore: combine prettier with eslint ( #9348 ) ( #9360 )
...
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
2021-05-02 10:11:37 -07:00
21da31562c
chore: Enums > CoreTypes
...
Cleanup type symbol usage by consolidating to manage in one spot. This makes them easier to use as well by providing a single rollup of all the common type symbol's used throughout core.
2021-04-06 11:18:36 -07:00
d88cef3b48
chore: message handling
2021-04-06 11:18:36 -07:00
2f81d606fc
chore: silence unnecessary throw message
2021-04-06 11:18:36 -07:00
733050995c
fix(core): type collisions with namespace ( #8809 )
2021-04-06 11:18:36 -07:00
d5a8a25aba
feat(core): first class a11y support ( #8909 )
2021-04-06 11:18:36 -07:00
bd7c686aaf
feat(core): allow app to start without a root view ( #9056 )
2020-11-19 17:02:32 -08:00
c1f231d88e
chore: fix eslint issues ( #9017 )
2020-11-11 08:46:36 -08:00
2243660080
feat(core): TypeScript 4 + cleanup ( #8967 )
2020-10-19 09:28:05 -07:00
03f1f3d5f5
chore: format and fix ci build
2020-09-25 15:58:39 -07:00