Error when trying to use Kiip plugin

Got it, haha. Well you can only develop Corona plugins on a mac so… :wink:

We will get in touch with Corona to see why that is happening. It should find the plugin regardless, as their are simulator stubs in place. It finds them from our testing.

Thanks for pointing out that Chartboost issue, we will check that out also.

Cheers !

Sorry to spam you with messages, but I’ve now moved onto my amazon builds and when I try to build an apk I get the following error message:

A device build error occurred on the server. BuildID: 53bd5f207494d Error: Get plugin failed. Publisher: com.gremlininteractive Plugin: plugin.chartboost

I’ve defined my chartboost plugin as:

["plugin.chartboost"] = { publisherId = "com.gremlininteractive", supportedPlatforms = { iphone = true, android = true, ["android-kindle"] = true }},

and I also have the amazon ads one defined as:

["plugin.amazonAds"] = { publisherId = "com.deleurapps", supportedPlatforms = { ["android-kindle"] = true } },

I’m guessing I don’t get an error for the amazonads one because it just doesn’t get that far.

I’m not sure if it’s a Corona error, a plugin error, or my error. Perhaps [“android-kindle”] is no longer needed, and just “android” will suffice?

Edit: In fact it doesn’t seem to be working for any Android builds at all, only iOS.

Edit 2: It seems that adding [“android-kindle”] = true was the cause, it didn’t seem to like that even when setting the target store to google play.

Something definitely seems wrong with the Android builds. I thought it was because I’d included the android-kindle platform, but that doesn’t seem to have fixed it.

When I try and build any android build which include the chartboost plugin in its build.settings file, I get the same error:

--- A device build error occurred on the server. BuildID: 53bd7265baedc Error: Get plugin failed. Publisher: com.gremlininteractive Plugin: plugin.chartboost ---

I’ve just gone back and looked more closely at the plugin details…it doesn’t work on Android at all yet does it?

Aha, my bad. I thought we were talking about the Kiip plugin. Sorry, lots of moving parts.

You are correct, the Chartboost plugin isn’t available yet for Android. We are working on it and should have it released at the end of the week (that’s the plan).

Yes sorry, I probably made it more complicated by throwing another plugin into this topic.  

When you say end of the week do you mean this week (i.e. this weekend) or the end of next week?  

We’re hoping to submit to Google on Tuesday, and it would be great if we were able to have the Chartboost stuff in there by then.

Also, I notice that Chartboost also supports the Amazon app store, which is something that many of the ad providers don’t do. Do you think it’s likely that this would be implemented as well?  

I presume it’s actually the same calls with a “store” argument or something provided since it’s Android. It would be great to have this if it’s not too much trouble.

The Android version of the Chartboost plugin will support all stores that Chartboost supports for Android.

Once it’s available it’s just a matter of setting up your app for Amazon in Chartboost’s dashboard to get the App-ID and SIG specific for Amazon.

Ok thanks, I’ve already set those up so that’s good to hear.

And thinking about it that makes perfect sense, it will return Amazon or Google ads based on the ID+sig provided.

This is just pure speculation at the moment, but I think Admob might be able to target different stores (Google/Amazon/Samsung) with the same set-up. I believe their SDK queries which store apps are available on the device and shows ads for the ones it finds.

As said I’m not 100% certain about this, but I’m going to conduct a test to see if this is true or not. I hope so, as it would open up another advertising platform for those stores.

We had real problems with Admob, which I’ve reported to Corona but haven’t heard anything back yet (another user reported they had experienced the same issue). It was preventing Facebook login from working for some reason.  

 How does it work.?

If the players complete the first level, I show a reward.

and will appear a kiip pop up.

is it possible to show the pop up without the button "show me a reward?

[lua]

– Button to save a moment

local saveMomentButton = widget.newButton

{

defaultFile = “images/button.png”,

    overFile = “images/button_on.png”,

    fontSize = 15,

    width = 150, 

    height = 40,

    labelColor =

    {

    default = { 1 },

    over = { 1 },

    },

    label = “Show me a reward!”,

    onRelease = function( event )

    – Save a kiip moment

    kiip.saveMoment

    {

    momentName = “A Super Prize!”,

    value = 5,

    listener = function( event )

    – Print the event table items

    for k, v in pairs( event ) do

     print( k, “:”, v )

    end

    end,

    }

    end

}

saveMomentButton.x = display.contentCenterX

saveMomentButton.y = display.contentCenterY

[/lua]

You would just call the function that the sample has attached to the button:

kiip.saveMoment { momentName = "A Super Prize!", --call this whatever you want value = 5, listener = function( event ) -- Print the event table items for k, v in pairs( event ) do print( k, ":", v ) end end, }