I created a very basic app where the app listens to what the user is saying and then prints it out. When I am connected to the internet, it play the "record start" sound to let users know that the recognition has started and then after some time "record end" sound to let them know that the recognition has ended.
When I am offline, the app plays the "record start" sounds and then instantly plays the "record end" sound. In other words, it does not record anything. How can I make the app usable in offline mode?