Commit Graph

7613 Commits

Author SHA1 Message Date
farfromrefuge
7e9be32e28 fix(android): prevent error while opening modal from background (#10570)
It is a known android "issue" that you cant commit/show a fragment while in background. The reason is, as explained [here](https://medium.com/@113408/avoid-fragment-illegalstateexception-can-not-perform-this-action-after-onsaveinstancestate-ba76ae4f00fe) or [here](https://stackoverflow.com/questions/15729138/on-showing-dialog-i-get-can-not-perform-this-action-after-onsaveinstancestate), that `onSaveInstanceState` is already called so any operation before activity start would be with state loss.
There are 2 solutions in this case:
* use `commitAllowingStateLoss`, `dismissAllowingStateLoss` ... but then you loose state ... This is what we are doing in N in many cases. We can do this with `show` too but we would need to override the `DialogFragment.show` method.
* delay the action until the activity is resumed.

This PR uses the second solution. We could add an option to `showModal` to use the first solution. The user experience is different. Solution 1:  when the app is resumed the modal is already shown and layed out. Solution 2: you see the modal opening on app resume
2024-07-03 12:23:01 -07:00
Nathan Walker
80f3ff2042 feat(ios): SF Symbol scale support via iosSymbolScale (#10569) 2024-07-02 16:26:40 -07:00
Nathan Walker
893b858b80 feat(types-ios): iOS 18 (#10558) 2024-07-02 11:54:49 -07:00
Nathan Walker
71dfa15606 chore: 8.8.0 preview for next 2024-07-02 11:16:11 -07:00
Nathan Walker
c736f72fce feat(config): embed options for existing platform host projects (#10568) 2024-07-02 09:37:46 -07:00
Vladimir Mutafov
779d79285d feat(core): ability to embed into platform host projects (#10465) 2024-07-01 16:47:33 -07:00
Dimitris-Rafail Katsampas
9fd361c2e6 feat(core): css media query support (#10530) 2024-07-01 09:28:59 -07:00
farfromrefuge
6dd441d6ba perf(android): gridlayout with less JNI calls (#10402) 2024-07-01 09:20:14 -07:00
farfromrefuge
7036f12b5c fix(android): prevent error on navigation back after using page transition (#10439) 2024-06-28 16:15:40 -07:00
Dimitris-Rafail Katsampas
4abcb216da feat(android): background color/image handling improvements (#10451) 2024-06-28 15:07:10 -07:00
Eduardo Speroni
bb83addb5c perf: improve attribute selectors by adding single listeners (#10384) 2024-06-28 14:55:12 -07:00
apburgess
b8fff3833e feat(webpack): allow custom 'projectName' on Xcode project name from config (#10550) 2024-06-28 14:43:16 -07:00
Nathan Walker
c2f5e614da chore: 8.8.0 next 2024-06-28 14:24:15 -07:00
Dimitris-Rafail Katsampas
2fb4f23670 feat(core): css-what parser for CSS selectors + support for :not(), :is(), and :where() Level 4 and ~ (#10514) 2024-06-28 13:57:29 -07:00
farfromrefuge
88a047254b fix(android): dont add to parent from _setupAsRootView (#10554) 2024-06-28 13:44:36 -07:00
Eduardo Speroni
12dd329ed1 fix(action-bar): provide correct page during navigation when title change occurs (#10563) 2024-06-27 19:21:29 -07:00
Eduardo Speroni
d678915234 feat(core): add sys:// support for SF Symbol usage on images with effects (#10555) 2024-06-26 15:34:24 -07:00
farfromrefuge
84e1a67d6d fix(view): modal stack tracking (#10557) 2024-06-16 12:40:40 -07:00
Jamie Birch
9e472d7874 docs(core): update comments for on, once, addEventListener and removeEventListener (#10545) 2024-05-23 08:26:03 -07:00
Jamie Birch
9be392fbb0 fix(core): drop support for plural event/gesture names (#10539) 2024-05-06 18:20:28 -07:00
Jamie Birch
d323672b29 fix(core): handle GestureObservers same as event listeners (#10538) 2024-05-06 17:50:01 -07:00
Jamie Birch
3b77fffad5 fix(core): stop accepting GestureTypes enum as an eventName (#10537) 2024-05-06 11:04:53 -07:00
Nathan Walker
415ff34660 chore: nx migrate plus keep lock files (#10536) 2024-05-06 10:20:01 -07:00
Jamie Birch
4a7e40d129 fix(core): clean up event handling in ViewCommon (#10534) 2024-05-02 00:03:08 -07:00
Jamie Birch
53e958e623 fix(core): clean up event handling in Observable (#10531) 2024-05-02 00:02:01 -07:00
apburgess
a91bb7dc18 chore: remove obsolte webpack(4) scripts and add webpack5 test script (#10526) 2024-05-01 14:27:27 +02:00
Alireza Sharghi
632a348e9a fix(android): transition state handling (#10528) 2024-04-24 09:10:00 -07:00
Nathan Walker
256b2ad801 docs: added SolidJS starter (#10523) [skip-ci] 2024-04-23 09:48:08 -07:00
Nathan Walker
eedd00842e chore: 8.7.3 next 2024-04-23 09:38:49 -07:00
Nathan Walker
b47457d860 release: @nativescript/core 8.7.2 8.7.2-core 2024-04-23 09:38:03 -07:00
Dimitris-Rafail Katsampas
03268cc60b fix(android): ListView tap handling after setting children as focusable (#10522) 2024-04-19 09:06:32 -07:00
Igor Randjelovic
fc55717825 release: @nativescript/webpack 5.0.21 [skip-ci] 5.0.21-webpack 2024-04-16 20:30:17 +02:00
Igor Randjelovic
825ba7a280 release: @nativescript/webpack 5.0.20 [skip-ci] 5.0.20-webpack 2024-04-16 14:22:03 +02:00
Igor Randjelovic
ccee8e8166 fix: detect core version before including inspector_modules on android (#10520) 2024-04-16 14:20:14 +02:00
Nathan Walker
e234ca6052 chore: 8.7.2 next 2024-04-15 12:39:44 -07:00
Nathan Walker
2641903538 release: @nativescript/core 8.7.1 8.7.1-core 2024-04-15 12:39:10 -07:00
Nathan Walker
7e1cb19084 fix(android): image tintColor setter (#10516)
closes https://github.com/NativeScript/NativeScript/issues/10515
2024-04-15 12:02:18 -07:00
farfromrefuge
92b2ff83a0 fix: regression fix for #10482 (#10518)
where `WebView` would have `setFocusable` set to false `isUserInteractionEnabled` was true.
This would prevent input with keyboard to work in `WebView`

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2024-04-15 10:29:12 -07:00
Igor Randjelovic
adb4e9d419 fix(webpack): set exitCode if the configuration failed (#10327)
fixes #10314
2024-04-15 19:24:59 +02:00
Igor Randjelovic
7787ce9449 feat: initial devtools package implementation (#10484) 2024-04-15 19:21:48 +02:00
Dimitris-Rafail Katsampas
873f711a6b revert: "fix(android): proper change of input interaction mode programmatically (#10434) (#10512)
This reverts commit 07d2129f9c.
2024-04-14 17:07:25 -07:00
Nathan Walker
2b0f2678ba release: @nativescript/webpack 5.0.19 [skip-ci] 5.0.19-webpack 2024-04-08 10:56:54 -07:00
Nathan Walker
0273c67abe chore: use separate platform test verification badges in readme 2024-04-08 10:41:48 -07:00
Nathan Walker
0b725c887a chore: 8.7.1 next 2024-04-08 09:02:22 -07:00
Nathan Walker
9bc9eb7e57 release: @nativescript/types 8.7.0 2024-04-08 09:01:24 -07:00
Nathan Walker
28a948a51c release: @nativescript/core 8.7.0 8.7.0-core 2024-04-08 08:42:01 -07:00
Nathan Walker
ae62725510 fix: inspector_modules 2024-04-07 19:35:01 -07:00
Osei Fortune
5324e508ba feat(android): devtools for elements & network requests (#10506) 2024-04-07 10:27:42 -07:00
Nathan Walker
7806cc46f4 chore: 8.7.0 next 2024-04-07 10:26:41 -07:00
Nathan Walker
01d537bf15 feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478) 2024-04-05 17:07:16 -07:00