Phonegap plugin for IOS and Android