cph-cachet / flutter-plugins

A collection of Flutter plugins developed by CACHET
527 stars 625 forks source link

[Health] Avoid Health connect read data in background crash #977

Closed thegamenicorus closed 2 weeks ago

thegamenicorus commented 3 weeks ago

Added the logic that skips reading data from Health Connect in the background (see reading limitation) and preventing the app from crashing with error:

android.os.RemoteException: com.softconstruct.vigohealth must be in foreground to read the following data types []