25 Commits

Author SHA1 Message Date
4e62b00ddb fix(core): Frame to Page property propagation (#10225) 2023-03-02 08:39:32 -08:00
0632215793 chore: eslint cleanup (#10160) 2023-01-09 09:40:20 -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
286d36b03b fix(android): FragmentCallbacksImplementation memory leak (#9977) 2022-07-27 11:15:51 -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
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
2f630dc464 fix(android): do not call exitEvent on activity restart (#9517) 2021-08-18 09:09:50 -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
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
99bb067420 fix(android): BottomNavigation error on back press (application exit) (#8970) 2020-10-18 15:44:27 -07:00
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00