• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Location request with Firebase messaging

Pumps

Lurker
Hello this is my first post here, my teacher has tasked us with Using Firebase messaging to send a location request to server:

The url for the web service is at the following address:
https://cpsc470amobiledevelopment.appspot.com/messaging


How do I send a location request to a server and once the request is received how, do I get the app to display two buttons (positive and negative) that do individual tasks specific to them?
 
What do you mean "location request"?
Does it mean your application should get GPS coordinates, pack into some string and send message to your project in Firebase?
How you are going to catch your messages on the other side. Web Service?
The link you provided does not open.
May be you are talking about Firebase Analytics, in this case your application send some request from Views and Activities, and Firebase Analytic registers and shows location from where these requests came.

Please give more information.
 
Last edited:
Back
Top Bottom