I have updated my game to a current version and updated also the plugins, including the Facebook V4 plugin. After the new version is installed on a device, the app asks for permission to access the location. See the attached picture
Apple has reject the latest version of the app. They say it’s not necessary that the app needs the access to the player’s location.
Legal - 5.1.5
Your app uses location data for features that are not relevant to location.
Is it possible to use the Facebook V4 plugin so that it does not require access to the location?
Otherwise the app must publish without this plugin.
My build.settings:
["plugin.facebook.v4"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true, android=true, ["android-kindle"]=true }, }, iphone = { plist = { NSAppTransportSecurity = { NSAllowsArbitraryLoads=true }, NSLocationAlwaysUsageDescription = { "" }, NSLocationWhenInUseUsageDescription = { "" }, UIBackgroundModes = {"remote-notification"}, UIStatusBarHidden = true, UIApplicationExitsOnSuspend = false, CFBundleDisplayName = "BrickItOut 2", FacebookAppID = "xxxxxxxxxxxxxxxx", CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, LSApplicationQueriesSchemes = { "fb", -- Needed for the facebook-v4.isFacebookAppEnabled() API "fbapi", "fbauth2", "fb-messenger-api", "fbshareextension" }, CFBundleURLTypes = { { CFBundleURLSchemes = { "fbxxxxxxxxxxx", } } }, }, },