* fix: dont default to Font.default
This would cause a font to be set for any label even when using default system font.
This will also cause a typeface which is pretty long
* lint: lint fixes
* fix: added null font guards
* fix: Used default bold for TabView
Co-authored-by: Vasko <v.trifonov@gmail.com>
* chore: add guard for ios
* feat(bottom-nav): adding new properties
* feat(tabs): new property implementation
* feat: new feature implementation in android
Implemented selectedItemColor and unSelectedItemColor properties on TabStrip
* chore: added some comments
* chore: change method return type
* fix: setting icon color
* fix: rendering mode setting
* chore: rename variable
* chore: fixed a typo
* chore: updated log in build gradle
* fix: item color setting in android
* fix: tab styling when no css aplied
* chore: private methods renamed
* tests: added selected-item test pages
* chore: renamed test pages
* chore: move css-tree package to the right place
* tests: added new ui tests
* fix: use renamed function
* fix: set item color
* tests: aded automationText attribute
* tests: trying to fix the tests
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
* feat(http): binary upload support
* feat(http): better binary support & XHR support
* fix: linting issue
* chore: moved files from old place to the new one
* chore: Updated NativeScript.api.md
* feat(http): support both ByteBuffer and String
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
Crashlytics:
**Async.java line 181**
**org.nativescript.widgets.Async$Image$DownloadImageTask.doInBackground**
```
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 3601932 byte allocation with 970044 free bytes and 947KB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)
at android.graphics.BitmapFactory.nativeDecodeStream(BitmapFactory.java)
at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:863)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:839)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:877)
at org.nativescript.widgets.Async$Image$DownloadImageTask.doInBackground(Async.java:181)
at org.nativescript.widgets.Async$Image$4.run(Async.java:157)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at org.nativescript.widgets.Async$PriorityThreadFactory$1.run(Async.java:86)
at java.lang.Thread.run(Thread.java:818)
```
Crashlytics
**Async.java line 473**
**org.nativescript.widgets.Async$Http$RequestResult.readResponseStream**
```
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 3000012 byte allocation with 2043950 free bytes and 1996KB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)
at android.graphics.BitmapFactory.nativeDecodeByteArray(BitmapFactory.java)
at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:744)
at org.nativescript.widgets.Async$Http$RequestResult.readResponseStream(Async.java:473)
at org.nativescript.widgets.Async$Http$HttpRequestTask.doInBackground(Async.java:555)
at org.nativescript.widgets.Async$Http$1.run(Async.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at org.nativescript.widgets.Async$PriorityThreadFactory$1.run(Async.java:86)
at java.lang.Thread.run(Thread.java:818)
```
## PR Checklist
- [x] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.
- [x] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
- [x] You have signed the [CLA](http://www.nativescript.org/cla).
- [x] All existing tests are passing: https://github.com/NativeScript/NativeScript/blob/master/DevelopmentWorkflow.md#running-unit-tests.
- [ ] Tests for the changes are included - https://github.com/NativeScript/NativeScript/blob/master/WritingUnitTests.md.
## What is the current behavior?
Uncaught exception resulting in crash. This was introduced in v6.2.0.
## What is the new behavior?
Additional `catch` block for uncaught exception type `OutOfMemoryError`
Fixes:
https://www.telerik.com/account/support-tickets/view-ticket/1436458
* feat: remove Animators and replace with Transitions
* fix: handle disappearing nested fragments for tabs.
Extract TabFragmentImplementation in tab-navigation base for both tabs and bottom navigation
* chore: bump webpack cycles counter
* feat(android-widgets): add androidx.transition:transition as dependency
* chore: fix typescript errors
* fix(frame-android): child already has a parent. Replace removeView with removeAllViews
* fix(tests): wait for fragment before isAdded() check
* fix(bottom-navigation): prevent changeTab logic when fragment manager is destroyed
* chore: apply PR comments changes