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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...