Error connecting to realtime database on Android version 5 and 6

I have an app that connects to realtime db.
It works well with Android 9 and 10 phone.

But when comes to Android 5 and 6, it gives the following error:

o.default.get(this.settings).database is not a function. (In ‘o.default.get(this.settings).database()’, ‘o.default.get(this.settings).database’ is undefined)

Seeking assistance from whom may have the solutions to it.

Screenshot 2020-05-06 at 7.18.31 PM

HI @tehhanvoon :wave:

Thanks for the thorough feedback -

Have you tested this on 4 different physical devices, or are you using an emulator?

Hi Dom,

Thanks for the swift response.
Indeed I did test on 4 different units of phone (Huawei-Android 10, Samsung-Android 9, Vivo-Android 5 and Oppo-Android 6).

I found the behaviour of issue.

I ran the iQuickReg.staff app on Android 9 and 10 using Thunkable Live, which is working fine. But once i download and installed the iQuickReg.public as APK on these Android 9 and 10 phone, it failed.

At the same time, I download and installed the iQuickReg.public as APK on these Android 5 and 6 phone, it failed too.

Refer to the image below, on the left is the app on Thunkable Live which is successfully Sign in. On the right is the installed APK of the same app which failed to Sign in.

Do you have any idea what could possibly be happening?

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

This issue was resolved by Thunkable Team.