Thanks Rob. My project’s build.setting and config lua are as follos.
build.setting
–
settings = { orientation = { default = "portrait", supported = { "portrait", } }, iphone = { plist = { UIStatusBarHidden = true, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend -- iOS app URL schemes: CFBundleURLTypes = { { CFBundleURLSchemes = { "----myFacebookUrlScheme-----", -- example scheme for facebook } } } } }, android = { permissions = { { name = ".permission.C2D\_MESSAGE", protectionLevel = "signature" }, }, usesPermissions = { "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.INTERNET", "android.permission.GET\_ACCOUNTS", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.google.android.c2dm.permission.RECEIVE", ".permission.C2D\_MESSAGE", "android.permission.BIND\_REMOTEVIEWS" }, }, }
config.lua
application = { content = { width = 640, height = 960, scale = "letterBox", fps = 30, --[[imageSuffix = { ["@2x"] = 2, } --]] }, -- Push notifications notification = { iphone = { types = { "badge", "sound", "alert" } }, google = {projectNumber = "----myProjectNumber---"} } }
in actuality, I set projectNumber I got Google Apis.