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
- Functions not executing after usage rese...
Hi team, Last month my project hit 100% usage and functions stopped working (expected). Now the new month has started and usage has reset, requests are going ...
- Functions never end and always fail (sta...
Hi ! I'm using Appwrite Cloud Pro and function execution from appwrite website is KO. Deploying starter function template, execution is always Failed and the ...
- My function executions console if overwh...
It seems the requests are getting processed correctly but it is using a older version of the backend. And it seems the cron requests done an hour ago are shown ...