Hi,
I am having a problem with a runtime error on iOS. The error is:
module 'CoronaProvider.native.popup.activity' not found:resource (CoronaProvider.native.popup.activity.lu) does not exist in archive.
In build.settings I have:
plugins = { ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms={"iphone"} },
In my code, in a handleButtonEvent, I have:
if (system.getInfo("environment") == "device") then local platformName = system.getInfo("platformName") if platformName == "Android" then share\_on\_android() else share\_on\_ios() end end
The share_on_ios() function has:
function share\_on\_ios () local itemsToShare = { { type = "image", value = { filename = "social\_media.png", baseDir = system.DocumentsDirectory } }, { type = "url", value = "http://www.gameforkstudio.com" }, } local options = { items=itemsToShare, listener=popupListener } local activity = require( "CoronaProvider.native.popup.activity" ) native.showPopup( "activity", options ) end
Is there anything else I need to add to my code to include the popup plugin into the app?
Thanks.