Social popup build error for Android?

My app tries to use the new social popup, so I have following code in my build.settings

  plugins =     {         ["CoronaProvider.native.popup.social"] =         {             publisherId = "com.coronalabs",         },     },

There is no problem in building iOS version, however, when I build Android version, following error shows up:

A device build error occurred on the server.  BuildID: 5236e67a6274e  Error: Get plugin failed.  Publisher: com.coronalabs  Plugin: CoronaProvider.native.popup.social

I know the social popup does NOT support Android yet, but do I need to comment out the plugin code in build.settings every time I need to build for Android version?

Or any better way? Thanks.

Try this:

[lua]

plugins = 

}

    [“CoronaProvider.native.popup.social”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone = true },

        },

},

[/lua]

Naomi

@Naomi

It works. It’s exactly what I need. Thanks a lot.

How long has the “supportedPlatforms” table worked? I’ve never seen any mention of it before, but it’s extremely useful.

Try this:

[lua]

plugins = 

}

    [“CoronaProvider.native.popup.social”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone = true },

        },

},

[/lua]

Naomi

@Naomi

It works. It’s exactly what I need. Thanks a lot.

How long has the “supportedPlatforms” table worked? I’ve never seen any mention of it before, but it’s extremely useful.