The app was crashing because the user was stopping the track before the track id was generated
Thatswhy in org.envirocar.storage/dao/EnvirocarDBImpl there was a null exception coming as we were trying to convert null track id to string
Changes done
Added a null check in org.envirocar.storage/dao/EnvirocarDBImpl to prevent the app from crashing
Fixes #908
The app was crashing because the user was stopping the track before the track id was generated Thatswhy in org.envirocar.storage/dao/EnvirocarDBImpl there was a null exception coming as we were trying to convert null track id to string
Changes done
Added a null check in org.envirocar.storage/dao/EnvirocarDBImpl to prevent the app from crashing
Testing
https://user-images.githubusercontent.com/85510030/163068801-daded0d2-aa65-4fcb-b072-9bf195b437eb.mov