Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it. #150
Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
Hello,
I am using app grouping (wants to navigate from option of my ios application side menu bar to an ionic application)
IOS Native Application I used this code for app-grouping:
let userDefaults = UserDefaults(suiteName: "group.com.ppp.XYS")
then I want to use this plugin with this command on my ionic project:
$ ionic cordova plugin add cordova-plugin-app-preferences $ npm install --save @ionic-native/app-preferences@4
But I am getting this error:
Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.