Square point of sale sdk onActivityResult() returns null data


I had a system with Square reader integrated for payments using the Square point of sale SDK. The system is required to be left running all the time.

The system worked fine for the first two weeks. However, on day 14, when the Square app is called, the onActivityResult() returns null data.

The issue was temporarily resolved by clicking on the reader button once.

Is there a way to solve the issue permanently?


Unfortunately, there isn’t a way to programmatically communicate to the reader to wake it up or get the status and pressing the button manually is currently the only solution.

Would there be other reasons that onActivityResult() returns null considering the system has been kept running for 2 weeks?