terikon / cordova-plugin-photo-library

Maintainer needed. Please contact if you're using this library in your project
MIT License
149 stars 295 forks source link

Using “requireCordovaModule” to load non-cordova module “glob” is not supported #195

Open CharlesOnAir opened 3 years ago

CharlesOnAir commented 3 years ago

Hello,

As no solution has been brought to the previous issue, I allow myself to open a new one.

This problem: "Using“ requireCordovaModule ”to load non-cordova module“ glob ”is not supported", has been around for months and months, and no solution.

Thank you.

FrancescoPaiola commented 2 years ago

Same problem. Just found this. Please update dependency to cordova-plugin-add-swift-support.

If you want to temporary solve the problem replace every "context.requireCordovaModule" with "require" into add-Swift-support.js which is in the directory "plugins/cordova-plugin-add-swift-support"