Proxy libraries for working with device capabilities in cordova