Standardise with cordova plugins