Adding Phonegap Api Client