Can't build with native.showPopup plugin?

Hi!

I’m trying to build an android app with some sample code provided by the corona website. The build, made with 2018.3301, fails with the following error:

Android build failed (5) after 3 seconds

Aug 01 05:34:24.951 ERROR: Build Failed: A device build error occurred on the server. 

                    

                    Error: Get plugin failed. 

                    

                    Plugin: CoronaProvider.native.popup.activity 

                    Publisher: com.coronalabs 

                    User Account: dev2@xxx.net

                    

                    BuildID: 5b617e9ea2330

                    

                    Error code: 5

Is this a corona-side problem? I have attached a project exhibiting the problem, and screenshots of my build options/the error window. How can I get this working? Will it work on any target app store, or just Google Play?

Thanks!

Simon

Is this still an issue? I just did a build of an app that uses that plugin and it worked fine.

Rob

Hi! My build still fails on Android using my provided project.

Using my sample code posted above, On iOS, it works fine. On Android, when I remove the [“CoronaProvider.native.popup.activity”] entry from the plugins table, it succeeds – so it is definitely this that is causing the fail.

The activity plugin is an iOS-only plugin. You have to use the “social” plugin on Android.

You can include the “supportedPlatforms” key to make sure it’s not being fetched on Android builds:

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

Rob

Thanks! That was the solution.

Is this still an issue? I just did a build of an app that uses that plugin and it worked fine.

Rob

Hi! My build still fails on Android using my provided project.

Using my sample code posted above, On iOS, it works fine. On Android, when I remove the [“CoronaProvider.native.popup.activity”] entry from the plugins table, it succeeds – so it is definitely this that is causing the fail.

The activity plugin is an iOS-only plugin. You have to use the “social” plugin on Android.

You can include the “supportedPlatforms” key to make sure it’s not being fetched on Android builds:

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

Rob

Thanks! That was the solution.