Some days ago I started a new topic because I couldn't get the device plugin to work (see Cannot get cordova-plugin-device to work).
Since I experimented a lot with the GitHub-repository that I used before actually using my first plugin, I thought that something may have gone wrong and decided to delete and reupload the app - which made the plugin work.
Now, I tried to add two new plugins (flashlight and device-orientation) which didn't want to work as well.
Neither Update code → Pull latest nor Rebuild all did the trick. Again, I had to delete and reupload the app to make the plugins work at all.
Is this behavior normal or is this a bug?
I simply don't see the benefit in deleting the whole app if I just want to add a plugin.
Thanks and best regards,
Do you have Hydration enabled?
If so, disable it whenever you have a config change.
If not, please post your config, AND confirm that you have both index.html and config.xml in the same directory of your repo.
Yes, I have Hydration enabled as it's much more comfortable.So Hydration doesn't consider config changes if I understood correctly!?
Exactly. Config changes are ignored with Hydration switched on.