Commit Graph

860 Commits

Author SHA1 Message Date
farfromrefuge
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
Nathan Walker
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
Janos Hrubos
27492219e6 fix(ios): tabview background color with appearance api in iOS 15+ (#9617) 2022-03-01 12:32:39 -08:00
Kinshuk Dua
aa1c631e6f fix(android): text-transform: capitalize behavior (#9598)
closes #7059
2022-03-01 12:32:39 -08:00
William Sedlacek
66d8afffc1 feat(android): tab view icon rendering mode (#9605)
Co-authored-by: wSedlacek <wsedlacekc@gmail.com>
2022-03-01 12:32:39 -08:00
Nathan Walker
08028dd9f4 chore: 8.2.0-alpha.8 2022-03-01 12:32:39 -08:00
Nathan Walker
1fb687df55 perf(ios): prevent crash with image release 2022-03-01 12:32:39 -08:00
Nathan Walker
fbefea4dba perf(ios): autoreleasepool for image extensions 2022-03-01 12:32:39 -08:00
Nathan Walker
3cf5833423 chore: cleanup image handling 2022-03-01 12:32:39 -08:00
Nathan Walker
9d3977ea4f perf(ios): uifont and formatted string optimizations plus uiimage scaling (#9761) 2022-03-01 12:32:39 -08:00
Igor Randjelovic
19d8869f1d fix(ios): UIImage memory leaking after Image is disposed (#9777) 2022-03-01 12:32:39 -08:00
Nathan Walker
47d45463a8 chore: 8.2.0-alpha.7 2022-03-01 12:32:39 -08:00
Eduardo Speroni
a1ba1f6d03 fix(ios): force layout of view when changing the safe area insets (#9773) 2022-03-01 12:32:39 -08:00
Eduardo Speroni
e59f3ff669 fix(android): prevent error when detaching from unloaded ScrollView (#9666) 2022-03-01 12:32:39 -08:00
Dimitris - Rafail Katsampas
608bb1ed24 fix(core): animation iteration correct for android css animations and iOS rotation (#9628)
closes #7712

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2022-03-01 12:32:39 -08:00
Osei Fortune
9b5d125f42 fix(android): NullPointerException on navigation (#9669)
closes #8441
2022-03-01 12:32:39 -08:00
felixkrautschuk
dbaf203a59 fix(android): a11y - do not provide content description for TextView elements (#9673)
Android accessibility services automatically announce the text itself as the description (see https://developer.android.com/guide/topics/ui/accessibility/apps#describe-ui-element)

If an a11y property is provided, the content description should also be set for TextView elements to keep the support for Labels/Buttons that only have a font icon as text and therefore need to have an accessibilityLabel.

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>

closes #9588
2022-03-01 12:32:39 -08:00
Dimitris - Rafail Katsampas
57cc4edc8c fix(core): parse template literal syntax with nested identifiers as expression. (#9744) 2022-03-01 12:32:39 -08:00
Nathan Walker
b79a019a63 chore: 8.2.0-alpha.6 2022-03-01 12:32:39 -08:00
Nathan Walker
44fd5f2b1d chore: cleanup touchmanager 2022-03-01 12:32:39 -08:00
Nathan Walker
2be1ada3da chore: cleanup background styling handling 2022-03-01 12:32:39 -08:00
Nathan Walker
a70b55e3de chore: 8.2.0-alpha.5 2022-03-01 12:32:39 -08:00
Igor Randjelovic
dde9e02cac feat: improved background handling (#9615) 2022-03-01 12:32:39 -08:00
Nathan Walker
6c06c77618 fix(core): Application handling of nativeApp instance 2022-03-01 12:32:39 -08:00
Nathan Walker
5bba70e57d chore: 8.2.0-alpha.4 2022-03-01 12:32:39 -08:00
Nathan Walker
f10cffcb02 fix: ensure android can access native app instance before bootstrap 2022-03-01 12:32:39 -08:00
Nathan Walker
d1dc7883f8 chore: 8.2.0-alpha.3 2022-03-01 12:32:39 -08:00
Nathan Walker
d7916d77a1 feat: touch animations demo in toolbox 2022-03-01 12:32:39 -08:00
Nathan Walker
26953ec1f2 feat(ui): TouchManager for ease in adding interactivity 2022-03-01 12:32:39 -08:00
Nathan Walker
d756eb5574 feat(root-layout): support gradient colors on shade cover (#9626)
Co-authored-by: William Juan <williamjuan027@gmail.com>
2022-03-01 12:32:39 -08:00
Ruslan Lekhman
388d7eaa7d feat(core): support RGB alpha notation (#9699)
Functional notation: rgb[a](R G B[ / A])
CSS Colors Level 4 adds support for space-separated values in the functional notation.
See https://www.w3.org/TR/css-color-4/#rgb-functions

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2022-03-01 12:32:39 -08:00
Dimitris - Rafail Katsampas
2cbb135250 feat(bindable): allow "global" context for expressions inside bindings (#9734) 2022-03-01 12:32:39 -08:00
Nathan Walker
65eb4e2add chore: adjust Application ios/android getters 2022-03-01 12:32:39 -08:00
Nathan Walker
4aca7eba11 chore: 8.2.0-alpha.1 2022-03-01 12:32:39 -08:00
Nathan Walker
168a169726 feat(gestures): GestureEvents.gestureAttached added to modify native recognizers when needed 2022-03-01 12:32:39 -08:00
Nathan Walker
c41e7027e4 fix(time-picker): correction for super.disposeNativeView 2022-03-01 12:32:39 -08:00
Nathan Walker
f038e6ba66 feat(core): add event when disposeNativeView is called 2022-03-01 12:32:39 -08:00
Dimitris - Rafail Katsampas
90ceed15d3 feat: new expression parser for xml bindings (#9729) 2022-03-01 12:32:39 -08:00
Nathan Walker
a518249958 fix: application instance creation occurs only within Application.run 2022-03-01 12:32:38 -08:00
Dimitris - Rafail Katsampas
3d03f8f06a fix: qualifier matcher did not support multiple qualifiers for a single file. (#9720) 2022-03-01 12:32:38 -08:00
Nathan Walker
98132e693b chore: 8.2.0-alpha.0 2022-03-01 12:32:38 -08:00
Eduardo Speroni
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
Igor Randjelovic
61ff7e4762 feat(webpack): read nativescript.config.ts main if set before fallback to package.json (#9769)
implements #9658

BREAKING CHANGES:

Possibly breaking if a project has a main field set in the nativescript.config.ts - since after this lands, this value will be used instead of package.json main.

The impact is likely very small, the steps to migrate:

    (Option A) remove main from nativescript.config.ts if set
    (Option B) update main to the correct path in nativescript.config.ts if set incorrectly
2022-02-18 13:39:04 +01:00
Ikko Ashimine
c6bfc05bb7 chore(core): fix typo in timer readme.md (#9634) 2021-12-23 15:03:11 -08:00
Nathan Walker
9c6c84b107 chore: nx migrate latest (#9709) 2021-12-21 18:24:24 -08:00
Igor Randjelovic
a88cacab89 chore(migrate): apps/* to webpack5 (#9606) 2021-12-21 09:47:33 -08:00
Osei Fortune
e72980c85b chore: add WebView disableZoom typing 2021-12-04 22:52:51 -04:00
Adam Bird
37cc612263 types: cli and hooks types for config (#9625) 2021-11-29 19:17:43 +01:00
Juan de Dios Martínez Vallejo
483217934c fix(ios): box-shadow and border-radius (#9612)
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2021-10-29 18:43:14 -07:00
Nathan Walker
7c75966b3b chore(release): @nativescript/core@8.1.5 2021-10-28 16:17:35 -07:00