Sometimes, the calcy intent gets sent a bit too early, which causes the error message "Error: are you on the right screen? [...]". This does not outputs anything to the logcat, which in turn makes the script loop endlessly waiting for some stdout which will never happen, as the intent is never run again.
IMO, there should a timeout that raises CALCY_SCAN_INVALID after, say 10 seconds of listening to the logcat and no matches found. I have no idea how that could be done tho' :sweat_smile:
Sometimes, the calcy intent gets sent a bit too early, which causes the error message "Error: are you on the right screen? [...]". This does not outputs anything to the logcat, which in turn makes the script loop endlessly waiting for some stdout which will never happen, as the intent is never run again.
IMO, there should a timeout that raises CALCY_SCAN_INVALID after, say 10 seconds of listening to the logcat and no matches found. I have no idea how that could be done tho' :sweat_smile: