I’m trying to lock the Orientation only to Portrait but doesn’t work I have this code in .unoproj:
{
"BuildDirectory": ".build",
"CacheDirectory": ".cache",
"RootNamespace": "$(QIdentifier)",
"ReferenceUnoCore": true,
"Version": "0.0.0",
"VersionCount": 1,
"Title": "$(Name)",
"Copyright": "Copyright (C) 2015",
"Publisher": "[Publisher]",
"Mobile": {
"KeepAlive": true,
"ShowStatusbar": true,
"RunsInBackground": true,
"Orientations": "Portrait"
},
"Android": {
"ApplicationLabel": "$(Title)",
"VersionCode": "$(VersionCount)",
"VersionName": "$(Version)",
"Description": "$(Description)",
"Icons": {
"LDPI": "$(Icon)",
"MDPI": "$(Icon)",
"HDPI": "$(Icon)",
"XHDPI": "$(Icon)",
"XXHDPI": "$(Icon)",
"XXXHDPI": "$(Icon)"
}
},
"iOS": {
"Icons": {
"iPhone_29_2x": "$(Icon)",
"iPhone_29_3x": "$(Icon)",
"iPhone_40_2x": "$(Icon)",
"iPhone_40_3x": "$(Icon)",
"iPhone_60_2x": "$(Icon)",
"iPhone_60_3x": "$(Icon)",
"iPad_29_1x": "$(Icon)",
"iPad_29_2x": "$(Icon)",
"iPad_40_1x": "$(Icon)",
"iPad_40_2x": "$(Icon)",
"iPad_76_1x": "$(Icon)",
"iPad_76_2x": "$(Icon)"
}
},
"HTML": {
"Title": "$(Title)",
"Favicon": "$(Icon)"
},
"InternalsVisibleTo": [],
"Packages": [
"Fuse.Animations",
"Fuse.BasicTheme",
"Fuse.Controls",
"Fuse.Designer",
"Fuse.Drawing",
"Fuse.Drawing.Primitives",
"Fuse.Effects",
"Fuse.Elements",
"Fuse.Entities",
"Fuse.Gestures",
"Fuse.Navigation",
"Fuse.Shapes",
"Fuse.Triggers",
"Fuse.Reactive",
"FuseCore",
"Uno.Collections",
"Uno.Geometry",
"Uno.Data.Xml",
"Uno.Data.Json",
"Uno.Net.Http",
"Fuse.Native"
],
"Projects": [],
"Includes": [
"*"
],
"Excludes": []
}
But doesn’t work…