Facebook big change in Corona - moved to plugins for iOS

With new release 2014.2189 there is info in changelog:

  • iOS: Move Facebook to a plugin because it uses advertisingIdentifier which will cause apple to reject any apps with it

Does that mean that now, we cannot use facebook on iOS with free developer accounts?   :frowning:

Hi @piotrz55,

I don’t think this changes anything in terms of Facebook usage within Corona. You do, however, need to include it as a plugin now (same as other plugins) in your build.settings file:

[lua]

settings = {

    plugins =

    {

        [“facebook”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone = true },

        },

    },

}

[/lua]

This has been documented in various places since build #2165, when we had to pull FB out and make it a plugin.

Best regards,

Brent

Hi @piotrz55,

I don’t think this changes anything in terms of Facebook usage within Corona. You do, however, need to include it as a plugin now (same as other plugins) in your build.settings file:

[lua]

settings = {

    plugins =

    {

        [“facebook”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone = true },

        },

    },

}

[/lua]

This has been documented in various places since build #2165, when we had to pull FB out and make it a plugin.

Best regards,

Brent