* 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>
* 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
Adding android typings for API levels from 17 to 27
BREAKING CHANGES:
There is no longer added `I` prefix in the names of the interfaces. For example `android.view.IMenuItem` is now `android.view.MenuItem`. This matches the original name of the interface in the android framework.
* feat(tabview): add tab text font size property
* chore(tabview): set tab font size default value
* chore(tabview): move font implementation to widget
* chore(tabview): fix font size get return type
* feat(ios): Added support for css gradients.
* feat(android): Added support for css gradients.
* fix: Fixed gradient borders on ios
* fix(gradient): added backgroundGradient to View and Style.
* fix(ios-gradients): fixed ios gradients covering view content.
* test(gradient): Added ui app tests for background gradients.
* test(gradient): Added a test ensuring background gradient property is applied to style.
* style(gradient): Fixed tslint errors.
* fix(gradient): Removed the background-gradient property and added the gradient to background-image.
* style: fixed a consecutive blank line tslint error.
* fix(tests): fixed the bug that was causing tests to fail.
* chore(linear-gradient): fix equality comparer
* test(gradient): add linear gradients test app
* chore(tslint): update with latest tslint rules
* Do not depend on current device screen while calculating Image Asset size.
* Scale the image asset to the exact requested size.
* Process image assets natively, pass keepAspectRatio based on the stretch property and Asset options.
* Fixed the splashscreen resource name as it cannot be read when containing a dot.
* Updated the Image Asset scale and rotate logic based on the Native one.
* Make the ImageAsset size more important than the Image decode size as its more specific.
* Fixed tslint errors.
* Added filePath support in the ImageAsset constructor for iOS in order to unify it with the Android implementation, support for relative files and file not found support errors.
* Added unit tests for ImageAssets.
* Added a sample app for UI testing of image-view with ImageAsset src.
* chore: apply PR comments
Fixed broken unit-tests
ios layout now run only for the innermost viewcontoller
ios layout for viewcontrollers now implemented with constraints
Added ios11 safeAreas layout support
onMeasure back for frame and tab-view so that they won't throw exception if measure is called on them
Page parents layout updated after page is layout so that inner layout flags are correct
* cache page on forward navigation
Still some failing navigation tests
* Current page is kept alive when navigating forward
Refactoring code and removing all hacks and flags
Remove one module circular reference
* Disable Page recycling because when there is transition between pages the nativeView stays animated (e.g. when transition is Fade the hidden page nativeView stays with Alpha 0)
Disable recycling if there is native anitmation
* Fix failing tests on ios & android API17
Fix wrong urls in http tests
Made some timer tests async
* Animations are not stored in BackstackEntry instead of Fragment because fragments could die (activity die) and recreated and we lose animations.
* Fix android crash when activity is recreated.
Refactoring transitionListener.
* backgroundImage property now use Fetcher & Cache as Image component
Fix GridLayout tests on iPhone Plus - actualLength wasn’t rounded
ImageCache is closed when activity is stopped
* Fix reset of background drawable.
* additional check for drawable
* imageCache init cache on activity Started
* fix padding on text-view & text-field
text-base is now snapshotable
view.android is now snapshotable
* createNativeView returns the nativeView for android
Fix image tests
Implement test for image loaded from res://
EffectivePaddings updated when nativeView have some from its native theme
This implements the option to have http.request() not follow server's 3xx redirection replies
but instead return the exact redirection code and headers.
* on iOS, it uses a different NSURLSession instance for non-following request,
with a NSURLSessionTaskDelegate implementing URLSessinTaskWillPerformHTTPRedirection...
* on Android, it just passes the option on to org.nativescript.widgets.Async.Http;
so this requires the respective commit in tns-core-modules-widgets to work
Items now appear, but they should initially shrink and they don't
Add 15-ish tests for flexbox layout
Port reasonable flexbox test set
Fixing issues, adding unit tests
Moved from .tsx to .ts and used our ui/builder.parse
* Change image.android to use the new image.Cahce class from widgets.
* fix npm scripts
* npm tsc will compile all so no need for npm run dev-tsc-tests
* fix tslint error
* image-tests use memory only cache.
* fix exception in image.android
* Change image-tests so that Image won't be GC immediately.
* Change cacheMode to enum