More about the mobile app development
There are many things other than writing an application logic, which we have to know while developing mobile apps with MeteorJS. Let's see what are they.
Accessing plugin methods
To access the plugin methods, we should wait until the application starts. It is good to write the plugin accessing code inside the Meteor.startup
callback. However, this is not mandatory. If you know for sure that you are going to access the plugin methods only after the startup, then you need not write them under the startup callback. In the preceding application that we developed, we called the navigator.contacts.list
method in the template's onCreated
callback because we knew that the application would have been started by the time, the execution reaches the onCreated
callback.
Debugging
Knowing how to debug an application is very important for developers. While developing hybrid applications for a mobile, it is a little hard to debug. This doesn't mean we can't debug. Moreover...