Hello, I wanted to know is it possible to get user's latitude and longitude through appwrite SDK?
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
@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
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?
I mean to use appwrite functions to send FCM, I need to upgrade to the paid plans of Firebase right?
FCM is free
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
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
But, when I trigger an appwrite function, a function in firebase will also trigger right?
no
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
Thank you for the clarification and the example ππ
[SOLVED] latitude, longitude and current city
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)
Recommended threads
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...