Hey All,
I'm working on a blog post for next month. My plan is to circulate this more widely than my regular blog posts. I'm going to try and get this on Cordova forums, Ionic, Angular and others. It is entitled
Top Mistakes by Developers new to Cordova, Phonegap, and Phonegap Build
I still need to fill in the details of the top list. Any feedback appreciated.
== Top Mistakes by Developers new to Phonegap/Cordova ==
#1 Does not read the docs.
#2 Does not follow the blogs.
#3 In the code, did not listen for the 'deviceready' event.
#4 When designing the app, thinks phonegap works like a website.
#5 Not setting "phonegap-version" in config.xml.
#6 Forgot to add the plugin to config.xml.
#7 Using an online example for ''phonegap CLI'' and then using ''phonegap Build''.
#8 Not adding the new "white-list" and "white-list plugin" parameters in config.xml.
#9 Not realizing the ''Cordova'' and ''Phonegap'', while similar are different.
Frustrating Issues for the Volunteers
#1 In theory, phonegap works with a varitey of IDEs, but it also supports a CLI (Command Line Interface). This creates multiple issues. The largest is the environment is not setup correctly. This happens most often with MS Windows, but it also happens with Linux. Not so much on iOS (any more).
#2 Plugins don't work. There is not much we can do expect help you understand the configuration as defined by the author of the plugin. Too often the plugin becomes neglectware and we are both stuck. In this case, choose another plugin.
#3 It is easy to get confused when looking at the ''Phonegap'' documentation and NOT REALIZE that there is documentation for ''Phonegap '''Build'''''
#4 The documentation is a mess. Luckily the leading edge documentation is mostly correct.
#5 Some APIs have shifted over time because of political issues. File, File Storage, and File Transfer is the classic example of this issue. Please read the documentation carefully.
#6 The definition for using config.xml is different for ''Cordova'', ''Phonegap'', and ''Phonegap Build''. Although they are very similar, they are different. Please read the documentation.
I'm working on a blog post for next month. My plan is to circulate this more widely than my regular blog posts. I'm going to try and get this on Cordova forums, Ionic, Angular and others. It is entitled
Top Mistakes by Developers new to Cordova, Phonegap, and Phonegap Build
I still need to fill in the details of the top list. Any feedback appreciated.
== Top Mistakes by Developers new to Phonegap/Cordova ==
#1 Does not read the docs.
#2 Does not follow the blogs.
#3 In the code, did not listen for the 'deviceready' event.
#4 When designing the app, thinks phonegap works like a website.
#5 Not setting "phonegap-version" in config.xml.
#6 Forgot to add the plugin to config.xml.
#7 Using an online example for ''phonegap CLI'' and then using ''phonegap Build''.
#8 Not adding the new "white-list" and "white-list plugin" parameters in config.xml.
#9 Not realizing the ''Cordova'' and ''Phonegap'', while similar are different.
Frustrating Issues for the Volunteers
#1 In theory, phonegap works with a varitey of IDEs, but it also supports a CLI (Command Line Interface). This creates multiple issues. The largest is the environment is not setup correctly. This happens most often with MS Windows, but it also happens with Linux. Not so much on iOS (any more).
#2 Plugins don't work. There is not much we can do expect help you understand the configuration as defined by the author of the plugin. Too often the plugin becomes neglectware and we are both stuck. In this case, choose another plugin.
#3 It is easy to get confused when looking at the ''Phonegap'' documentation and NOT REALIZE that there is documentation for ''Phonegap '''Build'''''
#4 The documentation is a mess. Luckily the leading edge documentation is mostly correct.
#5 Some APIs have shifted over time because of political issues. File, File Storage, and File Transfer is the classic example of this issue. Please read the documentation carefully.
#6 The definition for using config.xml is different for ''Cordova'', ''Phonegap'', and ''Phonegap Build''. Although they are very similar, they are different. Please read the documentation.
Be the first to post a reply!
