Rank 3: Container
Hello, I wanted to know is it possible to get user's latitude and longitude through appwrite SDK?
Votes
1
Replies
19
Participants
Unknown
Messages
20
Rank 3: Container
Hello, I wanted to know is it possible to get user's latitude and longitude through appwrite SDK?
Rank 3: Container
latitude, longitude and current city
no. to do that, you need the device to share it's GPS location and you typically need to ask for permission for that. That's something done client-side outside the scope of Appwrite.
The only thing Appwrite can determine is from their IP which can provide the users country. take a look at the sesison object: https://appwrite.io/docs/models/session
Rank 3: Container
@Steven thankyou.
I have another question, when can we expect pushNotification for both iOS and Android with appwrite?
we're working on it and i don't have any estimates, but you can already do it with Appwrite Function and FCM
Rank 3: Container
Thankyou. But I think using FCM with appwrite functions requires the upgraded plan. Please correct me if I am wrong.
what do you mean? why?
Rank 3: Container
I mean to use appwrite functions to send FCM, I need to upgrade to the paid plans of Firebase right?
FCM is free
Rank 3: Container
Yes it is, but I am asking that I need to upgrade from the free plan right?
not that im aware. i've never used it though
Rank 3: Container
I think using cloud functions requires me to upgrade from free plan to a paid plan, although functions and FCM is free.
Firebase Cloud Functions requires an upgrade, yes. Appwrite Functions do not
Rank 3: Container
But, when I trigger an appwrite function, a function in firebase will also trigger right?
no
Rank 3: Container
Oh wow!!! So please let me summarize everything.
What you suggest is, I could use FCM with Appwrite functions even in Firebase's free plan?
Here's an example using dart: https://github.com/open-runtimes/examples/tree/main/dart/send_push_notification
Rank 3: Container
Thank you for the clarification and the example 😁😁
[SOLVED] latitude, longitude and current city
Moderator
Nope, 100% free.
Probably you have heard that Flutterflow requires having the paid plan to send them. It's because it uses firebase functions (which require the paid plan)