added the ios app key to the config.xml file and updated the plugin code