I need help to clarify some doubts with the “build settings”.
This is my “build.settings”
-- -- For more information on build.settings, see the Project Build Settings guide at: -- https://docs.coronalabs.com/guide/distribution/buildSettings -- settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", "portraitUpsideDown" }, }, -- -- Android section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.CAMERA", "android.permission.WRITE\_EXTERNAL\_STORAGE", }, }, -- -- iOS section -- iphone = { xcassets = "Images.xcassets", plist = { UIStatusBarHidden = false, UILaunchStoryboardName = "LaunchScreen", NSCameraUsageDescription = "This app would like to access the camera.", NSPhotoLibraryUsageDescription = "This app would like to access the photo library.", }, }, -- -- Plugins section -- plugins = { }, -- -- Project section -- excludeFiles = { -- Exclude unnecessary files for each platform all = { "Icon.png", "Icon-\*dpi.png", "Images.xcassets", }, android = { "LaunchScreen.storyboardc", }, }, }
Now, in the guide of “Signing and Building”, which I do not know if it is updated, it specifies that I have to add “versionCode” and also I must add “usesFeatures”. My question is whether it is necessary and mandatory?
* My app only uses the internet to access a url by pressing a button and also uses a button to go to the user’s
default email application and be able to communicate with technical support. In the documents of “system.openURL ()” it does not specify that you have to add anything in the “build.settings” unless it is to make a call.
* My app uses the camera to take a photo and also accesses the photo library to be able to select an image via media.capturePhoto() and media.selectPhoto() respectively. In the documents it says that I must add “android.permission.CAMERA” and “android.permission.WRITE_EXTERNAL_STORAGE” to the “usesPermissions” table of the “build.settings” as shown in the above code.
Should I also add the “versionCode” and “usesFeatures” table to the “build.settings”?
Thanks in advance
DoDi