Send a get request to an Ionic app?

Is there a way I can have my server send a get request to an instance of my Ionic app? If so, can someone give me a high level technical flow?

Thanks!

That won’t be possible unless the device is running a server whose port is forwarded if behind NAT.

You should use websockets if you want that kind of functionality. What are you trying to achieve? What backend are you running?

I have a python backend that I want to run a script every X minutes or on a button click on a website that will get the devices location.

In that case you want your clients (devices) to report back to the backend regularly with their location, not the other way around.

The other option if you only want the device to report when you want it to is to keep a websocket connection open between your backend and the device