Skip to content

Location

themindstorm edited this page Apr 11, 2020 · 1 revision

Getting user location

iOS

Go to ios/Runner/Info.plist, and add

<key>NSLocationWhenInUseUsageDescription</key>
<string>This app needs access to location when open.</string>

as a child to the <dict> tag.

Android

Go to android/app/src/main/AndroidManifest.xml, then add

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

as a child of the <manifest> tag.

Permission

  • coming soon
Clone this wiki locally