Commit Graph

832 Commits

Author SHA1 Message Date
Dimitris-Rafail Katsampas
89fa6ec84d fix(android): layout change listeners are ignored when using addEventListener (#10597) 2024-08-05 15:07:37 -07:00
Dimitris-Rafail Katsampas
8877becdf9 fix(color): four-digit hex color parse failure (#10593) 2024-08-05 15:05:27 -07:00
Eduardo Speroni
423a2d2dce fix(core): include everything but core.aar in android platforms (#10592) 2024-07-25 17:37:16 -03:00
Igor Randjelovic
a703d9a7a1 chore: cleanup log (#10586) 2024-07-14 09:34:08 -07:00
Nathan Walker
174a1279c5 chore: 8.8.2 next 2024-07-12 11:03:24 -07:00
Eduardo Speroni
4c705967d2 fix(android): targetSdk 34 registerBroadcastReceiver (#10585) 2024-07-12 10:56:29 -07:00
Nathan Walker
1e2ad3dc6b chore: 8.8.1 next 2024-07-11 08:25:06 -07:00
Nathan Walker
f1efcfd9ee release: @nativescript/core 8.8.0 2024-07-11 08:23:43 -07:00
Eduardo Speroni
6041b2d083 fix(gestures): lowercase gesture handling and add deprecation notice when using non-string events (#10581) 2024-07-10 19:05:10 -07:00
Osei Fortune
41f938c5ee fix(winter-cg): crypto (#10580) 2024-07-10 18:20:51 -07:00
Nathan Walker
2bfe8b38e3 fix(crypto): error expectation 2024-07-10 08:36:49 -07:00
Osei Fortune
f7679d725a feat(winter-cg): crypto, atob, btoa (#10577) 2024-07-10 07:46:06 -07:00
Nathan Walker
9541b1b68c fix(embed): use factory only when it's available (#10579)
When embedding via 'ns embed ios', the .swift symbols may not be available and are not needed. This can be revisited in the future with project settings for embedded projects.
2024-07-09 14:40:40 -07:00
Nathan Walker
7f2d51e7d0 revert: "perf: improve attribute selectors by adding single listeners (#10384)" 2024-07-04 10:33:45 -07:00
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
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
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
Alireza Sharghi
632a348e9a fix(android): transition state handling (#10528) 2024-04-24 09:10:00 -07:00
Nathan Walker
eedd00842e chore: 8.7.3 next 2024-04-23 09:38:49 -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
Nathan Walker
e234ca6052 chore: 8.7.2 next 2024-04-15 12:39:44 -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
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
0b725c887a chore: 8.7.1 next 2024-04-08 09:02:22 -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
Eduardo Speroni
9ca490250e feat(ios): allow disabling text animations (#10505) 2024-04-03 15:59:10 -07:00