PLATFORM-1365 # prioritise use of cordova.offline when available