OpenSeizureDetector / Android_Pebble_SD

The main OpenSeizureDetector Android App, that is published on the Android Play Store.
http://openseizuredetector.org.uk
GNU General Public License v3.0
9 stars 14 forks source link

Version 4.x requires Android V8 or higher #32

Closed jones139 closed 2 years ago

jones139 commented 2 years ago

The WebApiConnection class uses a 'consumer' structure that is only available in later versions of Java, so it will not work on Android Version 7 or lower. Some existing OSD users have Android Version 6 so it would be good to maintain compatibility with these older devices - it also fits with the OSD goal of providing the lowest cost seizure detector by supporting old hardware.

jones139 commented 2 years ago

Removed use of Consumer class which allowed us to set back to min SDK of 23 (=Android 6) No point going lower because Garmin Connect needs Android 7.

Fixed by 4b67646eea56c3ceb8a31c5741c6789f3e0ec20b