/
build.settings
61 lines (54 loc) · 2.04 KB
/
build.settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--This is where you will handle orientation, define fonts, Android permissions, iOS settings, plugins and many other stuff.
--You can find more about this file here -> https://coronalabs.com/blog/2014/07/08/tutorial-understanding-build-settings/
settings =
{
--Orientation settings
orientation =
{
default = "landscapeRight", --initial launch orientation
content = "landscapeRight", --locked orientation of the Corona stage, independent of Native UI elements (iOS only)
supported = { landscapeRight }, --table of allowed options for auto-orientation.
--Options are: portrait, portraitUpsideDown, landscapeLeft, landscapeRight
},
--Android settings table. Please refer to the link at the top for more options.
android =
{
--googlePlayGamesAppId = "longAppID", --long App ID number (use yours!)
usesPermissions = {
"android.permission.INTERNET",
},
},
--iOS settings table. Please refer to the link at the top for more options.
iphone =
{
plist =
{
--This is where you define fonts. You can find more about custom fonts here -> http://docs.coronalabs.com/guide/system/customFont/index.html
UIAppFonts =
{
--"BasultoHandLetter-Bold.ttf",
--"BasultoHandLetter-Regular.ttf",
},
},
},
--Corona Plugins. More about what you can use and how you can integrate those are here -> http://docs.coronalabs.com/plugin/index.html
plugins =
{
--[[
["facebook"] =
{
publisherId = "com.coronalabs",
},
-- key is the name passed to Lua's 'require()'
["CoronaProvider.gameNetwork.google"] =
{
publisherId = "com.coronalabs",
supportedPlatforms = { android = true }
},
["plugin.google.play.services"] =
{
publisherId = "com.coronalabs"
},
]]--
},
}