Hello, imports have been updated, it's now import * as Permissions from 'expo-permissions'; import * as Location from 'expo-location'; instead of import { Permissions, Location } from 'expo'; Thank's for your tutorial !
The location you got was San Fransisco. So does that mean while testing the location will always be San Fransisco because thats where they are based, but once you build the app and it actually runs on a phone the location will be the users real location?
I got a error when executing this code: "[Unhandled promise rejection: Error: Location provider is unavailable. Make sure that location services are enabled.]" What do i do?
This is what fixed for me: I had to first use the new imports that Ajeddig F. commented above (had to install those via npm). Then I changed where it said 'const {status} = await Permissions.askAsync.....' and changed to it 'const { status } = await Location.requestForegroundPermissionsAsync();
Hello, imports have been updated, it's now
import * as Permissions from 'expo-permissions';
import * as Location from 'expo-location';
instead of
import { Permissions, Location } from 'expo';
Thank's for your tutorial !
nice
expo-managed :)
Hello Paul , thanks for this video ..can you please tell me how to display this location in a mapView
I'm interested in a video about Firebase in the context of React Native(Cloud Messaging mostly, but Realtime database, etc would be nice). Thank you!
You saved my life bro !
thanks, saved my time but imports have been updated also
Hi, do you have an idea how to get the direction ? .. in your case the heading value is "-1"
Hey Paul! Will you upgrade your great videos on udemy for Ionic 4? Thanks
I've got a lot of Ionic 4 content coming in the near future!
Hi Paul. Are you excited about Flutter?
Absolutely. Once I get IonicWorkshop and Learn Ionic 4 From Scratch off the ground, I'm looking forward to getting a Flutter app out on the store.
The location you got was San Fransisco. So does that mean while testing the location will always be San Fransisco because thats where they are based, but once you build the app and it actually runs on a phone the location will be the users real location?
That’s correct. My emulator’s location is set to San Fransisco. :)
hello..i have try this code but syntaxError occur semi colol missing in componentWillMount() can you halp me ...?
how we show the current location in mapview?
I got a error when executing this code: "[Unhandled promise rejection: Error: Location provider is unavailable. Make sure that location services are enabled.]"
What do i do?
Hello, what do you use to simulate the smartphone on the right side?
That's the iPhone emulator within Xcode. It's simply attached to the right side of the screen. :)
@@paulhalliday Thank you.
y como se puede obtener solo la latitude y longitude
Hi ! what font type do you use on your vscode ?
m8 why the fuck would you want to use that font are you ok??
Hey!!!!!!!!! i know im a year late. But what if i want to get the location as a link to send to someone
you can use react native share (inbuilt library) (write me if you need help)
@@milanscienceacc3041 hello i need help
@@emmanueltweneboah7008 how can i help you?
Sir i am facing error Possible Unhandled Promise Rejection (id :2):TypeError :Undefined is not an Object(evaluating '_expoPermissions.defaultAsync')
I am facing the same error. Did you get any solns?
hey getting the same errors for Async section of code did anyone figure it out yet?
Having the same error .
@@bijay4victory did you using expo?
This is what fixed for me: I had to first use the new imports that Ajeddig F. commented above (had to install those via npm). Then I changed where it said 'const {status} = await Permissions.askAsync.....' and changed to it 'const { status } = await Location.requestForegroundPermissionsAsync();
How do i convert longitude and lat to street address?
You have to do reverse geocode
thank's broo