mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-06 09:31:11 +08:00
Summary: As specifications says, the Position error must be an object with code and message attributes. Right now it is a string. If not, we can't know what kind of error is. Another issue is that the message must be exactly "No available location provider." Specifications: https://developer.mozilla.org/en/docs/Web/API/PositionError Closes https://github.com/facebook/react-native/pull/13140 Differential Revision: D4774922 Pulled By: ericvicenti fbshipit-source-id: f956af051461e9f8d6435496283e54b3c4dc8ef5