Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Where is iOS flurry plug-in and a Desktop player plug-in (even if a stub) — Gideros Forum

Where is iOS flurry plug-in and a Desktop player plug-in (even if a stub)

edited April 2014 in General questions
Well, my efforts on Android are not working...

So I decided to maybe work on Android, or just code something else.

The thing is that now the app does not work on desktop, since even a calling a require "flurry" causes it to fail, since there is no stub plug-in.

So where I find those?

The only reason I knew Gideros has flurry at all, is because it was on the manual, but I am looking everywhere on the site and I cannot find any download, beside the ones for Android that people put on the forums... Is flurry on Gideros actually just a test that was not supposed to be used or something? I visited the Gideros Labs page, the Developer Tools page, and lots of other pages, and searched on Google, and I cannot find those downloads.
I make games for children: http://www.kidoteca.com

Comments

  • ar2rsawseenar2rsawseen Maintainer
    @speeder_kidoteca
    Usually all plugins are in Gideros installation directory/All Plugins directory, but as I said the last version Gideros 2014.01 was an exception.
    If there is All Plugins directory or it is empty, you can find the files attached to the first post of the version announcement:
    http://giderosmobile.com/forum/discussion/4340/new-version-gideros-2014-01/p1

    Unfortunately Flurry does not have Desktop support, so there is no plugin for that, but to overcome your problem, usually some thing like this is used:
    local platform = string.lower(application:getDeviceInfo())
     
    if platform == "ios" or platform == "android"then
        require "flurry"
    end
     
    --then any where were you need to use flurry you can check
     
    if flurry then
        flurry.logEvent()
    end
     
    --or make a global function
    -- and use it every where
    function logEvent()
        if flurry then
            flurry.logEvent()
        end
    end
  • I see...

    Not very nice. But I made my own analytics API anyway (when I am on desktop logEvent instead prints to the console... later I might make a makeshift debug API that will log to a file or to a internal company server...)
    I make games for children: http://www.kidoteca.com
Sign In or Register to comment.