Skip to content

path.getTotalLength on IOS does not work #1336

@vydimitrov

Description

@vydimitrov

Hey, first of all thanks for the great project.

I came across an issue when I try to get path's total length with getTotalLength on IOS. It always returns 0. It works just fine on Android.

I created small demo with Expo Snack to test it. Please refer to the link below:
https://snack.expo.io/@vydimitrov/gettotallength

  1. First check it on Android device and you will see the total length is printed on the screen.
  2. Change device to IOS and you will see the the length never changes, it is always 0 as the initial value.

It seems that the issue was first reported here - #986 and PR was created to fix it here - #1135. However there seems to be an issue with the IOS implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions