Resolved: The code worked. It was a typo in one of the APIKey that caused the data not to show up. About UDID issue, I’m not 100% sure, though.
I added Flurry to my game and I have a few questions.
- I added the following – and I thought this should be enough to get the activity reported. However, I am not seeing any data on Flurry site, even though the game was launched (on Nook) with this code yesterday. What am I doing wrong?
-- build.settings
androidPermissions =
{
"android.permission.INTERNET"
},
-- main.lua
local analytics = require "analytics"
-- with the actual API Key I generated on Flurry site
-- Note: I created API Key for iPhone, iPad, Android (for GooglePlay),
-- Android (for Nook) and Android (for Kindle)
if (\_G.isApple == true) then
if system.getInfo( "model" ) == "iPad" then
analytics.init( "APIKey for iPad" )
else
analytics.init( "APIKey for iPhone" )
end
elseif (\_G.isNook == true) then
analytics.init( "APIKey for Nook" )
elseif (\_G.isKindle == true) then
analytics.init( "APIKey for Kindle" )
else
analytics.init( "APIKey for GooglePlay" )
end
analytics.logEvent("Game Launched")
- I believe UDID issue has been sorted with the latest public release (840), and there should be no issue including Flurry. That said, I’d appreciate some sort of confirmation regarding this. I searched Corona Labs website (as well as old Ansca site), but I couldn’t find definitive answer.
I’d so appreciate any and all help.
Naomi
[import]uid: 67217 topic_id: 27940 reply_id: 327940[/import]
