I have implemented the geocoding library some months ago and it was working fine, I could get the location successufully but now, I am having some Service not available error I wonder why this error occured now!
I added the google map API key in the AndroidManifest.xml and the ACCESS_FINE_LOCATION is added too!
Months ago, I was testing with Samsung galaxy s9+, but nowadays, I am using Android 8.1 (oreo)
Can someone assist me? I want to know what I am doing wrong!
Please check the following before submitting a new issue.
Please select for which platform(s) you need help
Your question
I have implemented the geocoding library some months ago and it was working fine, I could get the location successufully but now, I am having some Service not available error I wonder why this error occured now!
`Future _getAddressFromLatLng(Position position) async {
} `
I added the google map API key in the AndroidManifest.xml and the ACCESS_FINE_LOCATION is added too! Months ago, I was testing with Samsung galaxy s9+, but nowadays, I am using Android 8.1 (oreo)
Can someone assist me? I want to know what I am doing wrong!
Error:
I/flutter (14829): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14829): │ #0 LocationProvider._getAddressFromLatLng (package:stemir/src/provider/location_provider.dart:96:14) I/flutter (14829): │ #1 <asynchronous suspension> I/flutter (14829): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14829): │ ⛔ Platform Exception: PlatformException(IO_ERROR, Service not Available, null, null) I/flutter (14829): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Version
3.0.0