qaul.net icon indicating copy to clipboard operation
qaul.net copied to clipboard

Support for old android devices

Open cinorid opened this issue 3 years ago • 7 comments

Currently, qaul.net required at least API level 26 (Android 8.0). is there any chance of making this compatible with older devices?

cinorid avatar Oct 02 '22 05:10 cinorid

The reason we fixed the version to Android 8 (API level 26), is because of the yet to be activated BLE feature. There was a significant change in the Android API then. So former versions wouldn't support BLE. Would this still be helpful?

Our own studies showed the most people are using Android 8 and above. Do you have different experiences and statistics?

MathJud avatar Oct 05 '22 17:10 MathJud

according to these statistics (https://gs.statcounter.com/android-version-market-share/mobile-tablet/iran), Android 7, 6, and 5 together are about 10 percent of Android mobile phones.

cinorid avatar Oct 06 '22 17:10 cinorid

@MathJud I changed the minSdk field to check compatibility with older Android versions. https://github.com/Cinorid/qaul.net/commit/27a2c54d49dc3ef776abcc981afd82fdfa5038b7

I was able to install and run the app on Android 7.0 devices and connect to other peers using WiFi or internet nodes. But the app stopped on Android 4.4 and 5.0 devices.

cinorid avatar Nov 08 '22 09:11 cinorid

Hi @MathJud Any estimation on BLE activation?

cinorid avatar Nov 10 '22 13:11 cinorid

@Cinorid We are working on activating it and hope to have it usable within the next two weeks.

MathJud avatar Nov 10 '22 13:11 MathJud

@MathJud I changed the minSdk field to check compatibility with older Android versions. Cinorid@27a2c54

I was able to install and run the app on Android 7.0 devices and connect to other peers using WiFi or internet nodes. But the app stopped on Android 4.4 and 5.0 devices.

We will need to go through all our (Flutter) dependencies to check if we have any version restrictions on them, which I guess is the case, according to your test outcome. The GUI framework flutter itself supports Android from version 4.4 .

MathJud avatar Nov 10 '22 13:11 MathJud

@MathJud

We are working on activating it and hope to have it usable within the next two weeks.

Good news, I'll test it and trying to make it compatible for older devices.

cinorid avatar Nov 10 '22 13:11 cinorid