Yes I’m waiting for the facebook “fbinit” event - i’m also making sure that I can get the facebook user before hitting publishInstall()
I’m not passing the app ID - it is set in the build.settings file from here:
https://github.com/coronalabs/samples-coronasdk/tree/master/Networking/Facebook
With the exception that i’m using the v4a version of the plugin.
The build settings are working fine with our iOS devices where we see all sorts of data in FB analytics. In the two projects i’m testing it is the same facebook analytics does not show anything on Android devices and the facebook apps do not show any warnings
Build settings for reference:
-- -- For more information on build.settings, see the Project Build Settings guide at: -- https://docs.coronalabs.com/guide/distribution/buildSettings -- settings = { orientation = { default = "portrait", supported = { "portrait", "portraitUpsideDown" } }, iphone = { plist = { UIApplicationExitsOnSuspend = false, CFBundleURLTypes = { { CFBundleURLSchemes = { "fbXXXXXXXXXXXXXX" -- Replace XXXXXXXXXXXXXX with your Facebook App ID } } }, FacebookAppID = "XXXXXXXXXXXXXX", -- Replace XXXXXXXXXXXXXX with your Facebook App ID UILaunchStoryboardName = "LaunchScreen", CFBundleIconFiles = { "Icon-40.png", "Icon-58.png", "Icon-76.png", "Icon-80.png", "Icon-87.png", "Icon-120.png", "Icon-152.png", "Icon-167.png", "Icon-180.png", }, LSApplicationQueriesSchemes = { "fb", -- Needed for the facebook-v4.isFacebookAppEnabled() API "fbapi", "fbauth2", "fb-messenger-api", "fbshareextension", }, }, }, android = { facebookAppId = "XXXXXXXXXXXXXX", -- Replace XXXXXXXXXXXXXX with your Facebook App ID }, window = { titleText = { default = "Facebook3", }, }, plugins = { ["plugin.facebook.v4a"] = { publisherId = "com.coronalabs" }, }, }
I’ve just tested the newest version 2018.3255 - and it works now
Thank you all for your help!