Every plugin I install is undefined when I try to utilize it in code example: window.plugins.sim what I am doing wrong? Any working phonenumber plugin? I am new to Phonegap also my weinre no targets or gapdebug not apps showing. SAVE ME Please! I can do screen sharing too.
- 10 Posts
- 0 Reply Likes
- lost
Posted 4 years ago
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@TextNinja,
Since this appears to be your first posting, please answer the following questions.
- is this your first hybrid mobile app?
- are you using phonegap desktop app?
- Are you using CLI, Build or SDK? Please do not assume the answer. Please read the link.
Thanks
Jesse
Since this appears to be your first posting, please answer the following questions.
- is this your first hybrid mobile app?
- are you using phonegap desktop app?
- Are you using CLI, Build or SDK? Please do not assume the answer. Please read the link.
Thanks
Jesse
- 10 Posts
- 0 Reply Likes
- Yes it's my first hybrid mobile app
- Yes I am using phonegap desktop app
- I am using SDK. I just need an app built using html, js, and CSS. I have installed nodejs, git and I am able to add plugins to the project using 'cordova plugin add'. Thanks.
- Yes I am using phonegap desktop app
- I am using SDK. I just need an app built using html, js, and CSS. I have installed nodejs, git and I am able to add plugins to the project using 'cordova plugin add'. Thanks.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@TextNinja,
okay you cannot use PhonegapDesktop App with Phonegap Build
Please read the following unpublished blog post and let me know what you would like to do.
Phonegap Desktop App - What it is and is not
Thanks
Jesse
okay you cannot use PhonegapDesktop App with Phonegap Build
Please read the following unpublished blog post and let me know what you would like to do.
Phonegap Desktop App - What it is and is not
Thanks
Jesse
- 10 Posts
- 0 Reply Likes
That's very good information especially for beginners like me. I never knew Phonegap Desktop App it's a sandbox environment that's why only built in plugins were working but not what I've installed. I am going to use Phonegap Build instead. Thank you so much!
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
- 10 Posts
- 0 Reply Likes
Yes. I need tutorials and I still haven't figure out why I can't debug my app I have made a build with debugging enable but when I click debug button weinre displays no targets. I have even tried weinre locally and added inside the index.html but still target not showing. I haven't found any solution yet your help is appreciated. 
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@TextNinja,
okay. You really don't need a debugger. People using a debugger usually don't understand how Phonegap Works.
First, read the bold sentences in this FAQ
Top Mistakes by Developers new to Cordova/Phonegap
Next, this tutorial still works, but it will need to be updated soon.
An HTML Boilerplate for Phonegap
After that you need to get the plugin working. I cannot find the documentation for you plugin. Can you point me to the URL? If so, I can get you started.
Jesse
okay. You really don't need a debugger. People using a debugger usually don't understand how Phonegap Works.
First, read the bold sentences in this FAQ
Top Mistakes by Developers new to Cordova/Phonegap
Next, this tutorial still works, but it will need to be updated soon.
An HTML Boilerplate for Phonegap
After that you need to get the plugin working. I cannot find the documentation for you plugin. Can you point me to the URL? If so, I can get you started.
Jesse
- 10 Posts
- 0 Reply Likes
I have a basic app working but not the plugin yet.
The plugin I am trying to use is https://github.com/pbakondy/cordova-p... .
How would I know the errors in the codes without a debugger? and after installing the plugin what do I need to do to start using it?
Thanks for your help.
The plugin I am trying to use is https://github.com/pbakondy/cordova-p... .
How would I know the errors in the codes without a debugger? and after installing the plugin what do I need to do to start using it?
Thanks for your help.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@TextNinja,
Either the code you wrote works or it does not. If it does not work, the most likely issues are:
1) improper configuration
2) javascript syntax error (a debugger cannot catch this, the console will)
3) improper use of javascript (often a developer confuses Java sematics, neither the console or the debugger will catch this)
Example code is included with all plugins. Most plugins need one or two lines of code to get the data. Often a callback is needed.
On your plugin, it seems simple enough. If you cannot get it working, let me take a look at your
Jesse
How would I know the errors in the codes without a debugger?
Either the code you wrote works or it does not. If it does not work, the most likely issues are:
1) improper configuration
2) javascript syntax error (a debugger cannot catch this, the console will)
3) improper use of javascript (often a developer confuses Java sematics, neither the console or the debugger will catch this)
and after installing the plugin what do I need to do to start using it?
Example code is included with all plugins. Most plugins need one or two lines of code to get the data. Often a callback is needed.
On your plugin, it seems simple enough. If you cannot get it working, let me take a look at your
config.xml and code.
Jesse
- 10 Posts
- 0 Reply Likes
Thank you so much Jesse I got the plugins to work and the debugger. Like you said, the debugger doesn't really help much because it doesn't show syntax errors like firebug does. Thanks again for your help now I am really to make my very first mobile hybrid app. :)
Related Categories
-
PhoneGap Framework
- 2926 Conversations
- 61 Followers
-
PhoneGap Build
- 15111 Conversations
- 275 Followers
-
Plugins
- 1283 Conversations
- 38 Followers
-
Programming (Others)
- 1167 Conversations
- 23 Followers

