Skip to content

bug: Gauge needle rotation animation isn't working on the platform/make-compatible-for-android branch #2

Description

@cwnicoletti

Describe the bug

The rotation of the gauge should be animated for the platform/make-compatible-for-android branch, but even though the code is all there and should be working correctly, it is not.

To Reproduce

Steps to reproduce the behavior (android):

  1. Create an empty expo project
  2. git clone https://github.com/cwnicoletti/react-native-gauge into root of empty expo project
  3. git checkout platform/make-compatible-for-android
  4. cd to react-native-gauge/src
  5. npm install
  6. Delete react-native-gauge/src/node_modules/
  7. Delete react-native-gauge/node_modules/
  8. expo start
  9. Start android emulator
  10. Press a
  11. Observe the non-animated gauge :(

Steps to reproduce the behavior (ios):

  1. Create an empty expo project
  2. git clone https://github.com/cwnicoletti/react-native-gauge into root of empty expo project
  3. git checkout platform/make-compatible-for-android
  4. cd to react-native-gauge/src
  5. npm install
  6. Delete react-native-gauge/src/node_modules/
  7. Delete react-native-gauge/node_modules/
  8. expo start
  9. Download/Open Expo Go app
  10. Tap current project in Expo Go app
  11. Observe the non-animated gauge :(

Expected behavior

I'm expecting the gauge needle to behave exactly like it does on the main README page, for both iOS and Android.

Smartphone

  • Device: Pixel 2

  • OS: Android 9.0

  • Version: 28

  • Device: IPhone 12

  • OS: iOS

  • Version: 15.2.1

Additional context

I've opened a stackoverflow question as well: https://stackoverflow.com/q/71212765/11938071

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions