Fix livesync for android

We are using non-consecutive numbers in our enum to distinguish project types, but the old code uses consecutive ones.

Fix: Use named constants instead of hard-coded numbers. We must resolve the constants inside the method, instead of constructor injection, because these imports are available only in the Cordova CLI.

The meat of the bugfixing code is in the shared lib. Here we update it to a version containing the fix.

Fixes bug #273415