Unable to Build with Flurry Plugin in Daily Build 1203 / Missing Documentation

The daily build 1203 release notes indicate that Flurry was moved to a plugin.  However, the documentation on how to include the plugin is missing, and I’m getting an error when I try to build with it.

I assume the usage would be like this:

[lua]

– snippet from build.settings

    plugins =

    {   

        [“CoronaProvider.analytics.flurry”] =

        {

            publisherId = “com.coronalabs”,

        },

    },

[/lua]

[lua]

– snippet from .lua file using analytics

local analytics = require(“analytics”)

analytics:setCurrentProvider(“flurry”)

analytics.init(flurryAppID)

analytics.logEvent(“Event”)

[/lua]

However, when building with this setup in daily build 1203, I receive “Build Error #5, Error: You are not currently subscribed to the following plugins   com.coronalabs:CoronaProvider.analytics.flurry.”  I’m a Pro subscriber.

Thanks!

  • Andrew

Same error for me when trying to build for device.

I’m curious if anyone has been able to get this to work?

In the meantime, I’ve filed a bug report for it.

  • Andrew

Same here.  I could not build with daily build 1203.

Naomi

Edit:  And I thought all sorts of Android fixes that came in for 1203 might be really good for Android version of my app…  Reverting back to 1202 now.

Same here - getting “ERROR: Could not load provider (flurry) due to the following reason: module ‘CoronaProvider.analytics.flurry’ not found:resource (CoronaProvider.analytics.flurry.lu) does not exist in archive”

The issue has been fixed and its applicable to build 1203.  Like aukStudios said, if you add the following to your build.settings then the plugin will be included.

settings = { plugins = { -- key is the name passed to Lua's 'require()' ["CoronaProvider.analytics.flurry"] = { -- required publisherId = "com.coronalabs", }, }, }

The documentation will be updated in a few minutes.

Thanks dchan, I just tried it again using build 1203 with the approach from my original post, and it’s working now.

  • Andrew

Thanks dchan!!

Thanks, but I still don’t see any updated documentation on this.  Is it just me?

http://docs.coronalabs.com/daily/plugin/flurry/index.html

The docs you are looking at is for the public release.  At that time flurry wasn’t a plugin so the changes aren’t reflected in those docs.  You need to look at the daily docs.

This one doesnt say it is a plugin… :-/

http://docs.coronalabs.com/daily/api/library/analytics/index.html

Same error for me when trying to build for device.

I’m curious if anyone has been able to get this to work?

In the meantime, I’ve filed a bug report for it.

  • Andrew

Same here.  I could not build with daily build 1203.

Naomi

Edit:  And I thought all sorts of Android fixes that came in for 1203 might be really good for Android version of my app…  Reverting back to 1202 now.

Same here - getting “ERROR: Could not load provider (flurry) due to the following reason: module ‘CoronaProvider.analytics.flurry’ not found:resource (CoronaProvider.analytics.flurry.lu) does not exist in archive”

The issue has been fixed and its applicable to build 1203.  Like aukStudios said, if you add the following to your build.settings then the plugin will be included.

settings = { plugins = { -- key is the name passed to Lua's 'require()' ["CoronaProvider.analytics.flurry"] = { -- required publisherId = "com.coronalabs", }, }, }

The documentation will be updated in a few minutes.

Thanks dchan, I just tried it again using build 1203 with the approach from my original post, and it’s working now.

  • Andrew

Thanks dchan!!

Thanks, but I still don’t see any updated documentation on this.  Is it just me?

http://docs.coronalabs.com/daily/plugin/flurry/index.html

The docs you are looking at is for the public release.  At that time flurry wasn’t a plugin so the changes aren’t reflected in those docs.  You need to look at the daily docs.