hazemhagrass / ContactPicker

ContactPicker plugin for Cordova / PhoneGap
22 stars 18 forks source link

Missing phones property #10

Open SimonBowyer opened 10 years ago

SimonBowyer commented 10 years ago

I am trying to use the plugin in a phonegap app using phonegap build. I have referenced the plugin in my config.xml as : When I try to reference contactInfo.phones as in the example, I get an error: phones is undefined. Looking at the directory of plugings on the phonegap website, phones is not listed as a property.

hazemhagrass commented 10 years ago

I will check it

mohamed-salah commented 10 years ago

I checked that and it's working fine and added an example to test it

SimonBowyer commented 10 years ago

Thanks for your replies. How do I get at the working version? I've followed the instructions on the Phonegap web site here https://build.phonegap.com/plugins/362 and do get the error as described.

I'm assuming there are different versions as the documentation link on Phonegap (https://github.com/hazemhagrass/ContactPicker/blob/10e8d966f5d44788c875dc9a2e96fd27a72a4396/README.md) doesn't show the phones collection but the github documentation does show the property (https://github.com/hazemhagrass/ContactPicker).

I'm using a Windows PC + Phonegap Build to develop our app.

hazemhagrass commented 10 years ago

@SimonBowyer Kindly check the latest code: https://github.com/hazemhagrass/ContactPicker

SimonBowyer commented 10 years ago

@hazemhagrass The problem I'm having is that the Phonegap install instructions seems to use a version that doesn't have the phones property. I have tried to add the github zip file to my project with no success. It probably doesn't help things that I am using a 3rd party dev tool for Visual Studio so not directly building with phonegap build. I have tried to add all the files to my project and tried merging the plugin.xml with my config.xml but nothing works. There is no error when I attempt to use the plugin but no contact picker displays so I guess something is wrong with my configuration.

Is there anyway of getting the simple Phonegap version updated to include the phones property? Then I can just refer to the plugin in my config.xml file as before.

hepaestus commented 8 years ago

I have the same problem. When Adobe PhoneGap builds the app it does not have the phones functionality. Thanks, Pete.

hazemhagrass commented 8 years ago

mmmm. I will check it ASAP

shebkhan commented 8 years ago

Hi.

any luck on fixing the issue

thanks