OK, this is weird and I thought I would post it here before filing a bug report to see if anyone has a clue as to the cause.
Using Corona SDK 2459, I was modifying the content of an existing app’s build.settings file today and came across this weird experience - if I inject the following into the android = section:
usesFeatures = {
{ name=“android.hardware.camera”, required = false },
{ name=“android.hardware.location”, required = false },
{ name=“android.hardware.location.gps”, required = false },
}
the application is forced into portrait orientation in the Simulator! If I comment just that block out, the app runs as expected in the Simulator. Weird or what?
I’ve attached the entire build.settings for reference.
Is this something syntactically wrong with the way I’m injecting usesFeatures? (Note: I copied and pasted that block from the documentation here: http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#androidsettings )
Note: I’m running Mac OS X 10.9.5