Plugin import not working

Hi,

I am trying to make it so that when users are prompted to rate my app the native popup appears without leaving the app.

I have done this with a native popup for the App Store,

local appPage = { iOSAppId = "1062628473" } native.showPopup( "appStore", appPage )

However, I have been receiving errors no matter what I do (even when downloading the plugin).

Here are the plugins that I have in my build.settings:
 

 plugins = { ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } }, ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } }, ["CoronaProvider.native.popup.activity.appStore"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } }, },

However, once I build the app I get this error:

eTebVTp.png

Yet, when I run the app in the simulator it prompts me to install the following plugin:

WARNING: CoronaProvider.native.popup.activity is not configured in build.settings

Any help is greatly appreciated.

You don’t need this block of code in your build.settings

["CoronaProvider.native.popup.activity.appStore"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } },

Try removing that.

Hi Rob,

I removed that block and it fixed that issue. However, I am now having problems with the imports of Gamecenter.

I have configured this in my build.settings,

 plugins = { ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } }, },

but have this error in the Corona Console:

WARNING: CoronaProvider.gameNetwork.gamecenter is not configured in build.settings

When building the app to the simulator I get the pink screen with the large popup stating the error (where the app ultimately becomes unresponsive and crashes).

Is there anything I am doing wrong with this? I haven’t touched this block since my last update where I did not have this problem.

Thanks

Most plugins and things like GameCenter only work on devices. You can’t test them in the simulator. Build for a device and run there. Do you get the same message?

You don’t need this block of code in your build.settings

["CoronaProvider.native.popup.activity.appStore"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } },

Try removing that.

Hi Rob,

I removed that block and it fixed that issue. However, I am now having problems with the imports of Gamecenter.

I have configured this in my build.settings,

 plugins = { ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } }, },

but have this error in the Corona Console:

WARNING: CoronaProvider.gameNetwork.gamecenter is not configured in build.settings

When building the app to the simulator I get the pink screen with the large popup stating the error (where the app ultimately becomes unresponsive and crashes).

Is there anything I am doing wrong with this? I haven’t touched this block since my last update where I did not have this problem.

Thanks

Most plugins and things like GameCenter only work on devices. You can’t test them in the simulator. Build for a device and run there. Do you get the same message?