7e5314ef37
fix(core): android fix for transitions not starting
2022-01-29 17:46:34 +01:00
7fa5f290cc
Merge branch 'master' of github.com:NativeScript/NativeScript
2021-09-30 09:23:34 +02:00
90b8718138
fix(android): only attach if activity is CREATED ( #9552 )
2021-09-18 13:27:21 -07:00
e7608500cb
chore: better comment
2021-09-17 16:58:05 +02:00
e3e5dea2be
Merge branch 'master' of github.com:NativeScript/NativeScript
...
# Conflicts:
# package.json
# packages/core/bundle-entry-points.ts
# packages/core/color/color-common.ts
# packages/core/color/index.d.ts
# packages/core/globals/index.ts
# packages/core/package.json
# packages/core/ui/core/bindable/index.ts
# packages/core/ui/core/properties/index.ts
# packages/core/ui/core/view/index.android.ts
# packages/core/ui/frame/index.android.ts
# packages/core/ui/styling/style-scope.ts
# packages/ui-mobile-base/android/gradle/wrapper/gradle-wrapper.properties
# packages/webpack5/package.json
# packages/webpack5/src/configuration/base.ts
2021-09-16 10:16:45 +02: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
e17e46974b
feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation ( #8791 )
...
Changes the behavior of android fragment transactions to use `add` instead of `replace` on forward navigation.
BREAKING CHANGE:
Changes the internal behavior of Android navigation:
* while navigating forward, the page navigated from is not unloaded anymore
* events order is changed in the sense that now `unloaded` happens after `navigatedFrom` instead of before
There are multiple plus sides to this:
* no more black views on navigation when using opengl (maps, ...)
* navigation is faster, especially the navigation back! No longer need to recreate the page anymore. Navigation forward also gets faster as we no longer unload the previous page
* navigatedFrom event happens faster
* this the default behavior used by most of the android native apps
2021-09-08 16:07:39 -07:00
b7b9d7c259
fix(frame): improve weakref guards ( #9518 )
2021-08-19 22:15:18 -07:00
2f630dc464
fix(android): do not call exitEvent on activity restart ( #9517 )
2021-08-18 09:09:50 -07:00
00b0794746
fix: tsc errors fix
2021-08-10 16:14:35 +02:00
c945997332
fix(core): android broken navigation after go back to root on navDepth > 2
2021-07-22 17:09:35 +02:00
971d8eeddf
Merge branch 'master' of github.com:NativeScript/NativeScript
2021-06-09 09:51:06 +02:00
d3bc4d5b82
fix(core): guard unstable page/frame init contexts under async conditions ( #9428 )
2021-05-30 12:02:38 -07:00
3ae12184e5
Merge branch 'master' of github.com:NativeScript/NativeScript
...
# Conflicts:
# .eslintrc.json
# packages/core/ui/core/bindable/index.ts
# tsconfig.eslint.json
2021-05-05 10:17:27 +02: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
d551693726
fix(android): prevent possible crash when app goes to background
2021-04-20 12:11:38 +02:00
4019f001d3
chore: lint
2021-04-20 12:11:15 +02:00
e6598aee0f
Merge branch 'master' of github.com:NativeScript/NativeScript
...
# Conflicts:
# apps/automated/src/test-runner.ts
# apps/automated/src/ui/bottom-navigation/bottom-navigation-navigation-tests.ts
# apps/ui/src/bottom-navigation/events-page.ts
# apps/ui/src/main-page.ts
# apps/ui/src/test-page-main-view-model.ts
# package.json
# packages/core/color/color-common.ts
# packages/core/color/index.d.ts
# packages/core/ui/action-bar/index.android.ts
# packages/core/ui/bottom-navigation/index.android.ts
# packages/core/ui/core/view/index.ios.ts
# packages/core/ui/core/view/view-helper/view-helper-common.ts
# packages/core/ui/index.ts
# packages/core/ui/styling/background.android.ts
# packages/core/ui/tab-navigation-base/tab-strip-item/index.ts
# packages/webpack/jasmine-config/reporter.ts
2021-04-08 16:36:02 +02:00
a67fb69687
chore: typing cleanup
2021-04-06 11:18:36 -07:00
56a3f9bd3c
fix: prevent error if navigationTransition is null or undefined
2021-03-12 21:29:31 +01:00
b80b37a939
Merge branch 'master' of github.com:NativeScript/NativeScript
...
# Conflicts:
# .gitignore
# package.json
2021-03-08 17:30:57 +01:00
ac7f041dea
fix(core): AndroidTransitionType symbol export handling ( #9252 )
...
BREAKING CHANGE:
AndroidTransitionType is now a static member of the Transition class.
BEFORE:
```
import { AndroidTransitionType } from '@nativescript/core/ui/transition';
```
AFTER:
```
import { Transition } from '@nativescript/core';
Transition.AndroidTransitionType.enter; // etc.
```
2021-02-27 13:16:39 -08:00
a4d7674aba
fix(android): rewrote the transition system
...
to allow it work correctly with GLSurfaceView and GLTextureView
2021-02-20 21:28:27 +01:00
aa71042acd
Merge branch 'android_start_flash_fix' of github.com:Akylas/NativeScript
2021-02-08 10:18:59 +01:00
0555eccd69
Merge branch 'master' of github.com:NativeScript/NativeScript
...
# Conflicts:
# package.json
# packages/core/global-types.d.ts
# packages/core/platforms/ios/Podfile
# packages/core/ui/styling/background.android.ts
# packages/core/ui/styling/style-scope.ts
# packages/ui-mobile-base/ios/build.sh
2021-02-08 10:09:12 +01:00
6da7d90e25
fix(page): frame getter for custom Frames ( #9195 )
2021-02-04 07:55:16 -08:00
f80e6c6be6
fix(android): prevent “flashing” activity on app start
...
This was due to a change made a while back to fix an issue with resetRootView.
The consequence was that we were waiting for the frame to be “attachedToWindow” to load the first frame page.
That PR make it so that we apply that check/fix only when the activity was reset. Thus it wont happen on app start
2021-02-03 21:50:53 +01:00
5fe27428e0
feat(android): FlexboxLayout support for isPassThroughParentEnabled ( #8798 )
2021-01-29 13:03:27 -08:00
28061e3d39
fix(ios): navigation via swipe crash fix ( #9132 )
2021-01-29 12:10:51 -08:00
8570d4396c
some action bar fixes
2021-01-05 10:40:21 +01:00
ca6d82f54c
chore: lint
2020-12-22 09:30:28 +01:00
061df698ed
Merge branch 'color_update' of github.com:Akylas/NativeScript
...
# Conflicts:
# packages/core/color/color-common.ts
# packages/core/data/observable/index.ts
2020-12-02 16:59:10 +01:00
bd7c686aaf
feat(core): allow app to start without a root view ( #9056 )
2020-11-19 17:02:32 -08:00
cf96e7252c
feat(frame): add navigatingTo and navigatedTo events ( #9025 )
2020-11-12 20:51:03 -08:00
e0b90396bc
Merge branch 'frame_nav_events' of github.com:Akylas/NativeScript
...
# Conflicts:
# apps/automated/src/test-runner.ts
# packages/core/css/parser.ts
# packages/core/global-types.d.ts
# packages/core/ui/bottom-navigation/index.android.ts
# packages/core/ui/styling/style-scope.ts
# packages/core/ui/tabs/index.android.ts
# packages/core/ui/tabs/index.ios.ts
2020-11-12 10:02:51 +01:00
6851c5c40e
lint fix
2020-11-12 10:00:40 +01:00
4449d7628d
add frame navigation events
...
very practical when you want to know the state of the navigation at higher level.
Like a drawer menu
2020-11-12 09:58:25 +01:00
c1f231d88e
chore: fix eslint issues ( #9017 )
2020-11-11 08:46:36 -08:00
7fadab1dc8
Merge branch 'master' of github.com:NativeScript/NativeScript
...
# Conflicts:
# package.json
# packages/core/tsconfig.lib.json
# packages/core/ui/frame/index.android.ts
# packages/core/ui/tabs/index.ios.ts
2020-10-28 09:46:54 +01:00
e6fc8784e1
fix: android cleanup after new fragment handling
2020-10-27 21:00:10 +01:00
2243660080
feat(core): TypeScript 4 + cleanup ( #8967 )
2020-10-19 09:28:05 -07:00
99bb067420
fix(android): BottomNavigation error on back press (application exit) ( #8970 )
2020-10-18 15:44:27 -07:00
ae726846d9
Merge branch 'master' of github.com:NativeScript/NativeScript
...
# Conflicts:
# packages/core/package.json
# packages/core/ui/tabs/index.android.ts
2020-09-30 17:46:22 +02:00
a55bcd8561
fix(android): fragment onPause ( #8919 )
2020-09-30 07:38:20 -07:00