wearable-learning-cloud-platform / wlcp-issues

0 stars 0 forks source link

Backwards Compatibility for Android Versions #251

Open apoh3 opened 2 years ago

apoh3 commented 2 years ago

The app needs to work for Android 7+. Android 8+ has no issues. For Android 7, DateTimeFormatter does not work.

apoh3 commented 2 years ago

Solution: Whenever DateTimeFormatter is currently used, check the SDK version to determine if DateTimeFormatter can be used. If the SDK version is greater than Nougat/Android 7 then continue using DateTimeFormatter . Otherwise, use SimpleDateFormat.

This logic has been tested for Androids 7 to 11.

apoh3 commented 2 years ago

Testing Scenarios

There are no testing scenarios for external testers at this moment. We are waiting to test android compatibility to after studies have completed for the summer.

Scenario 1

n/a

Steps for testing n/a

Expected behavior n/a

Screenshots n/a


Additional context

n/a