Hey I m creating an app that run in background which writes its current location details to the firebase database in periodic interval of time (i.e. it will writes for every minute.). Initially i will write the location detail to location.txt file for every minute. After i did the same for for writing to the firebase instead of writing to the text file but, it will write for the first three times only then it won't write. I couldn't figure out how to write it constantly until i stop.
I m yet to upload the code but here it will shows the error (Indentation is required)...
Please help on this.. Thanks in advance..