Skip to content

Instantly share code, notes, and snippets.

@mattmcegg
Created November 1, 2019 23:07
Show Gist options
  • Save mattmcegg/299ebc1bc47ab31fb92d3ad7ff84ee77 to your computer and use it in GitHub Desktop.
Save mattmcegg/299ebc1bc47ab31fb92d3ad7ff84ee77 to your computer and use it in GitHub Desktop.
settings = {
plugins =
{
["CoronaProvider.gameNetwork.apple"] =
{
publisherId = "com.coronalabs"
},
},
orientation =
{
default = "landscapeRight",
},
iphone =
{
xcassets = "Images.xcassets",
plist=
{
UIPrerenderedIcon=true,
UIStatusBarHidden=true,
NSCalendarsUsageDescription = "",
NSAppTransportSecurity = { NSAllowsArbitraryLoads=true },
NSPhotoLibraryUsageDescription = "This app does not access the photo library.",
NSCameraUsageDescription = "This app does not use the camera.",
UILaunchStoryboardName = "LaunchScreen",
},
},
android =
{
usesPermissions =
{
-- Required by the MapView to fetch its contents from the Google Maps servers.
"android.permission.INTERNET",
-- Optional permission used to display current location via the GPS.
"android.permission.ACCESS_FINE_LOCATION",
-- Optional permission used to display current location via WiFi or cellular service.
"android.permission.ACCESS_COARSE_LOCATION",
"com.google.android.c2dm.permission.RECEIVE",
},
googlePlayGamesAppId = "XXXXXXXXX",
usesFeatures =
{
-- If you set permissions "ACCESS_FINE_LOCATION" and "ACCESS_COARSE_LOCATION" above,
-- then you may want to set up your app to not require location services as follows.
-- Otherwise, devices that do not have location sevices (such as a GPS) will be unable
-- to purchase this app in the app store.
{ name = "android.hardware.location", required = false },
{ name = "android.hardware.location.gps", required = false },
{ name = "android.hardware.location.network", required = false },
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment