Platform.ready


#1

Should platform.ready be called every time I call into a native plugin?
For example when dealing with reading and writing data with sqlite plugin.


#2

My understanding is that it’s a one-time event, so once it’s fired you are guaranteed that the platform is ready. Therefore, only the first time you interact with the plugin (such as opening the database) needs to be guarded by platform.ready(); it is not needed for further interaction.


#3

Thanks @rapropos. I thought so.