BREAKING CHANGE:
Method push will now handle arguments just like Array.prototype.push.
Certain existing methods will now return ObservableArray instance instead.
Callback arguments that contained an array argument themselves will now contain an ObservableArray argument.
* fix(android): nested frames were sometimes not recreated (#9748)
Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>
* feat: testID property for use with e2e testing without interfering with a11y
* feat: better testID support along a11y
wip
* fix: make sure we have a defined id
* feat: --env.e2e to enable testID
* chore: return if using testID
* chore: cleanup
Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
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>
* fix(android/application): org.nativescript.widgets.Utils::getDrawable
* chore: fix spacing
* fix(android/application): do not load empty path
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
* test: Add tests for empty image sources
* chore: add a few more test cases
These make the app crash without the fix in place
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
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