Code Monkey home page Code Monkey logo

Comments (13)

felixkrautschuk avatar felixkrautschuk commented on June 1, 2024 1

@bradmartin I made one more investigation and I found out, that the animation works on Mode.Indeterminate for Android 4 devices, if you define backgroundColor OR color in the options, not both at the same time 😄

from nativescript-loading-indicator.

bradmartin avatar bradmartin commented on June 1, 2024

Can you try a different Mode value?

from nativescript-loading-indicator.

Sunderik avatar Sunderik commented on June 1, 2024

tried to change the modes, but all have no animation

from nativescript-loading-indicator.

Giovanni2293 avatar Giovanni2293 commented on June 1, 2024

Hello, im having this same issue. Im trying to find the option where is a circle animation instead of a bar. Actually the bar works with animation (mode:indeterminate) but i need a Circle, how can i achieve that? because the only circle option is the one reported here and it doesn't have animation. Thank you

from nativescript-loading-indicator.

alonstar avatar alonstar commented on June 1, 2024

I have the same issue, too. I'm using nativescript 6.0.1 + angular 8.2

from nativescript-loading-indicator.

felixkrautschuk avatar felixkrautschuk commented on June 1, 2024

I have the same issue using NS 6.1 without Angular, but for me the issue occurs only on Android 4 devices

from nativescript-loading-indicator.

bradmartin avatar bradmartin commented on June 1, 2024

Must be an Android version issue. I've got this working fine in a NS 6.1 angular app running on Android 21+

from nativescript-loading-indicator.

bradmartin avatar bradmartin commented on June 1, 2024

Maybe there is an API being used internally not available on lower Android version. Can anyone confirm the results across different Android OS versions

from nativescript-loading-indicator.

felixkrautschuk avatar felixkrautschuk commented on June 1, 2024

@bradmartin I re-tested this behaviour using the demo app on multiple Android devices and emulators and Mode.Indeterminate works as expected on our test devices with Android 5, 6, 7, 8, 9 and Q, but it does not work on Android 4.2, 4.3 and 4.4 devices and emulators (it just shows a circle without any animated spinner)

from nativescript-loading-indicator.

bradmartin avatar bradmartin commented on June 1, 2024

that's good to know 👍 - no promises from me on when I can look at it. However, that seems to indicate some API we're using internally in the android side doesn't work on Android 4x so we should be able to find a workaround or... drop support 😄. Hate to but ugh when it comes to that old of Android 🙃

from nativescript-loading-indicator.

bradmartin avatar bradmartin commented on June 1, 2024

If you have an idea to propose a fix, be glad to help sort thru it for a PR with you 👍

from nativescript-loading-indicator.

edrick27 avatar edrick27 commented on June 1, 2024

i have the same problems when i run the APP get this error
node_modules/@nstudio/nativescript-loading-indicator/index.d.ts(77,10): error TS2304: Cannot find name 'UIView'

from nativescript-loading-indicator.

bradmartin avatar bradmartin commented on June 1, 2024

@edrick27 your issue is that your app is looking in node_modules when it shouldn't be analyzing those type defs. skipLibCheck: true should be in your tsconfig, if not, add it so your app doesn't check libs (node_modules).

from nativescript-loading-indicator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.