Hey @Rob, I fixed it. I moved a plugins table code on the top of a settings table in build.settings file. When it’s at the first place - before Android or iPhone settings, then social plugin works fine. If I move it down in the table (exact same code) - it doesn’t load the plugin library. Strange thing Anyway, it works now.
This works fine:
settings = { plugins = { -- key is the name passed to Lua's 'require()' ["CoronaProvider.native.popup.social"] = { -- required publisherId = "com.coronalabs", }, }, android = { versionCode = "1" }, androidPermissions = { "android.permission.VIBRATE", "android.permission.INTERNET", "android.permission.WRITE\_EXTERNAL\_STORAGE", }, iphone = { components = {}, plist = { UIAppFonts = { "Moon Flower Bold.ttf", }, CFBundleIconFiles = { "iTunesArtwork.png", "Icon.png", "Icon@2x.png", "Icon-40.png", "Icon-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png" }, UIPrerenderedIcon = true, UIStatusBarHidden = true, UILaunchImageFile = "Default", }, orientation = { default = "portrait", supported = { "portraitUpsideDown", "portrait" } }, }, }
this doesn’t work:
settings = { android = { versionCode = "1" }, androidPermissions = { "android.permission.VIBRATE", "android.permission.INTERNET", "android.permission.WRITE\_EXTERNAL\_STORAGE", }, iphone = { components = {}, plist = { UIAppFonts = { "Moon Flower Bold.ttf", }, CFBundleIconFiles = { "iTunesArtwork.png", "Icon.png", "Icon@2x.png", "Icon-40.png", "Icon-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png" }, UIPrerenderedIcon = true, UIStatusBarHidden = true, UILaunchImageFile = "Default", }, plugins = { -- key is the name passed to Lua's 'require()' ["CoronaProvider.native.popup.social"] = { -- required publisherId = "com.coronalabs", }, }, orientation = { default = "portrait", supported = { "portraitUpsideDown", "portrait" } }, }, }