Issues with Localhost Connectivity in Offline Mode for AppSheet Application

Hello AppSheet Community,

I'm currently facing a challenge with implementing offline functionality in my AppSheet application, which is used for production declarations and generating prints. To address the need for offline operations, I've set up a local server on my tablet using PHP via Termux. The idea is that when the internet connection drops, the app should still be able to send POST requests to this local server.

However, I'm encountering an issue where AppSheet doesn't seem to reach the localhost IP of my tablet. I've attempted to configure the app to send POST requests to the local server's IP address within the network, but it appears that the app still requires an active internet connection to function properly.

Here are the specific points of concern:

- AppSheet's Offline Capabilities: Does AppSheet inherently require an internet connection for API interactions, or is there a way to configure it to work fully offline with a local server?
- Localhost Access: When using the IP address of my tablet within the network, AppSheet does not seem to connect. Is there a specific configuration or workaround to enable this connection in offline mode?
- Possible Restrictions: Could there be any intermediary in AppSheet that mandates an internet connection even for local API calls?
I'm looking for guidance on whether this setup is feasible with AppSheet and, if not, potential reasons or alternative approaches to achieve offline functionality with local server access.

Any help or insights would be greatly appreciated!

Thank you.

Solved Solved
0 1 354
1 ACCEPTED SOLUTION

Steve
Platinum 5
Platinum 5

@Cristo_Rojas wrote:

Does AppSheet inherently require an internet connection for API interactions


Yes. API connections are made by AppSheet servers, not by the client app.

View solution in original post

1 REPLY 1

Steve
Platinum 5
Platinum 5

@Cristo_Rojas wrote:

Does AppSheet inherently require an internet connection for API interactions


Yes. API connections are made by AppSheet servers, not by the client app.

Top Labels in this Space