Error connecting to realtime database on Android version 5 and 6

The problem was found to be Download Android App has an issue.

This issue was resolved by Thunkable Team.