Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing phones property #10

Open
SimonBowyer opened this issue May 21, 2014 · 8 comments
Open

Missing phones property #10

SimonBowyer opened this issue May 21, 2014 · 8 comments
Assignees
Labels

Comments

@SimonBowyer
Copy link

I am trying to use the plugin in a phonegap app using phonegap build. I have referenced the plugin in my config.xml as :<gap:plugin name="com.badrit.contactpicker" /> 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
Copy link
Owner

I will check it

@mohamed-salah
Copy link
Collaborator

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

@SimonBowyer
Copy link
Author

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
Copy link
Owner

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

@SimonBowyer
Copy link
Author

@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
Copy link

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

@hazemhagrass
Copy link
Owner

mmmm. I will check it ASAP

@shebkhan
Copy link

shebkhan commented Mar 2, 2016

Hi.

any luck on fixing the issue

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants