Can I access isCordova value in preFetch
My program’s database is websql on the desktop and sqlite on cordova.
and I want to initialize database in prefetch function.
But I can not use ‘this.$q.platform.is.cordova’ in prefetch function.
Is there any way to detect platform is cordova or not in prefetch function?
if (process.env.MODE === 'cordova')
Thank you very much for quick reply!
It works well!