react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

activity string is at `MotionActivityEvent.type`

Open chrisdrackett opened this issue 4 years ago • 3 comments

chrisdrackett avatar Jul 09 '21 23:07 chrisdrackett

Why not set the actual types instead of string?

 'still' | 'on_foot' | 'walking' | 'running' | 'in_vehicle' | 'on_bicycle'

I raised my own PR that changes both erros: https://github.com/transistorsoft/react-native-background-geolocation/pull/1524

Wunsz avatar Aug 16 '22 10:08 Wunsz

any update here?

tsachit avatar Dec 30 '22 06:12 tsachit

There hasn't been any movement on this since August last year so I took the liberty of creating a new PR that resolves the union type comment. Please see #1624.

david-gettins avatar Jan 16 '23 16:01 david-gettins