Cordova "failed to fetch plugin" error
Try the following:
cordova plugin add https://github.com/t2wu/cordova-plugin-geofence.git#t2wu --nofetch
If it doesn't work. Do the following step:
Remove all platform (
cordova platform rm android
) and (cordova platform rm ios
)Remove all plugins
cordova plugin rm plugin-name
.If step2 failed, then delete all plugins using a file manager from directory
<projectroot>/plugins
Add all plugins
Add https://github.com/t2wu/cordova-plugin-geofence.git#t2wu
Add all platform.