Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.4.0
-
Xubuntu 13.10 x86_64, cordova 3.4.0-0.1.3
Description
After creating an empty cordova project (cordova create bacon com.bacon Bacon), running cordova platform add android, and adding
<preference name="orientation" value="landscape" />
and then running cordova prepare, the following error is shown among the output.
[ReferenceError: a is not defined]
As a second side effect, bigger than just a logged error, the orientation preference isn't working as expected: the android:screenOrientation isn't set according to what's in the config.xml (it isn't set at all, by the way).
PS: I've checked case sensitivity, and I've checked all possible values [default, landscape, portrait].