is facebook plugin missing from latest builds?

I had to move beyond 2731 due to OS update on my mac. However, I’ve tried builds 2775, 2774, 2770 and for each I get an error when trying to launch my app on the simulator that the library for facebook plug in is missing.

Can you please post (at least) the “plugins” table section of your build.settings?

Thanks,

Brent

The problem is not there. It works in latest public build (2731), I’ve tried several working games on the sim and all came with this error. The plugin was not downloaded to my PC.

Here it is:

 plugins = { ["plugin.advertisingId"] = { publisherId = "com.coronalabs" }, ["facebook"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.analytics.flurry"] = { publisherId = "com.coronalabs", }, ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", },--the AdMob v2 plugin --apple only ["CoronaProvider.ads.iads"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, --amazon only --["plugin.amazon.iap"] = { publisherId = "com.amazon", supportedPlatforms = { ["android-kindle"]=true }, }, --google only --["CoronaProvider.gameNetwork.google"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true }, }, --["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true }, }, },

No one else has this problem? no one uses Facebook plugin? or do I need to switch to the beta v4 version?

I can’t build for iOS with the new builds because of this issue. My app is waiting for 3 days now for a resolution and the new daily builds don’t seem to address it.

We are seeing this issue too. Using the latest daily build that was released today. We have our build.settings structured as per the docs exactly and require the module as such ‘require(“plugin.facebook.v4”)’ - but still when we run the app on the device it throws an error popup saying module “v4.lu” could not be found. We’ve tried with previous builds until iOS 9.1 no longer is supported and it doesn’t work on either one of them.

Hi rune7,

 

Starting with daily build 2747, we’ve removed the simulator stub for the old Facebook plugin from Corona SDK. This is to encourage developers to upgrade to the Facebook-v4 plugin.

 

If you do a device build of your project, it should still build successfully with the latest daily build.

 

If you need the old Facebook plugin stub for testing in the Corona Simulator, reverting to any daily build prior to 2747 is always an option.

 

Assuming you can’t revert to an earlier daily build because of the OS update you mentioned, you’ll need to upgrade to the Facebook-v4 plugin. In most cases, upgrading should be as simple as:

  • Changing require(“facebook”) to require(“plugin.facebook.v4”)

  • Changing [“facebook”] = { publisherId = “com.coronalabs” }, to [“plugin.facebook.v4”] = { publisherId = “com.coronalabs” },

  • Adding the following to the android table of your build.settings: 

    android = { facebookAppId = “XXXXXXXXXX”, – Replace XXXXXXXXXX with your Facebook App ID },

If you’re using Corona Enterprise, there are additional steps you’ll have to take which are detailed here.

Thanks Ajay,

Due to the lack of response till now I’ve already moved to v4, currently with no success but I hope it will eventually work out. for some reason the exchange is a bit different on v4 which causes problems with the old logic.

It should be noted on the builds summary page that facbook old plugin is no longer supported on the simulator. I was looking for that info and couldn’t find one. Its also worthwhile to move the v4 from beta to release, as I and many others do not usually use beta versions if a stable version is available. 

Can you please post (at least) the “plugins” table section of your build.settings?

Thanks,

Brent

The problem is not there. It works in latest public build (2731), I’ve tried several working games on the sim and all came with this error. The plugin was not downloaded to my PC.

Here it is:

 plugins = { ["plugin.advertisingId"] = { publisherId = "com.coronalabs" }, ["facebook"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.analytics.flurry"] = { publisherId = "com.coronalabs", }, ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", },--the AdMob v2 plugin --apple only ["CoronaProvider.ads.iads"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, --amazon only --["plugin.amazon.iap"] = { publisherId = "com.amazon", supportedPlatforms = { ["android-kindle"]=true }, }, --google only --["CoronaProvider.gameNetwork.google"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true }, }, --["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true }, }, },

No one else has this problem? no one uses Facebook plugin? or do I need to switch to the beta v4 version?

I can’t build for iOS with the new builds because of this issue. My app is waiting for 3 days now for a resolution and the new daily builds don’t seem to address it.

We are seeing this issue too. Using the latest daily build that was released today. We have our build.settings structured as per the docs exactly and require the module as such ‘require(“plugin.facebook.v4”)’ - but still when we run the app on the device it throws an error popup saying module “v4.lu” could not be found. We’ve tried with previous builds until iOS 9.1 no longer is supported and it doesn’t work on either one of them.

Hi rune7,

 

Starting with daily build 2747, we’ve removed the simulator stub for the old Facebook plugin from Corona SDK. This is to encourage developers to upgrade to the Facebook-v4 plugin.

 

If you do a device build of your project, it should still build successfully with the latest daily build.

 

If you need the old Facebook plugin stub for testing in the Corona Simulator, reverting to any daily build prior to 2747 is always an option.

 

Assuming you can’t revert to an earlier daily build because of the OS update you mentioned, you’ll need to upgrade to the Facebook-v4 plugin. In most cases, upgrading should be as simple as:

  • Changing require(“facebook”) to require(“plugin.facebook.v4”)

  • Changing [“facebook”] = { publisherId = “com.coronalabs” }, to [“plugin.facebook.v4”] = { publisherId = “com.coronalabs” },

  • Adding the following to the android table of your build.settings: 

    android = { facebookAppId = “XXXXXXXXXX”, – Replace XXXXXXXXXX with your Facebook App ID },

If you’re using Corona Enterprise, there are additional steps you’ll have to take which are detailed here.

Thanks Ajay,

Due to the lack of response till now I’ve already moved to v4, currently with no success but I hope it will eventually work out. for some reason the exchange is a bit different on v4 which causes problems with the old logic.

It should be noted on the builds summary page that facbook old plugin is no longer supported on the simulator. I was looking for that info and couldn’t find one. Its also worthwhile to move the v4 from beta to release, as I and many others do not usually use beta versions if a stable version is available.