ok, thanks Rob.
i’m using pollfish for a long time … it’s good but not what i expected … and payments are quick even if they reached only 40 USD
anyway this code is working fine
first in build.settings:
plugins = { ["plugin.pollfish"] = { publisherId = "com.coronalabs" }, },
in your lua file
local pluginPollfish = require( "plugin.pollfish" ) local pollfishOptions={}
local function adPollyListener( event ) if ( event.phase == "init" ) then -- Successful initialization pluginPollfish.load({customMode=true}) elseif ( event.phase == "loaded" ) then isSurveyLoaded=true --this flag can tell your timer to show a button for users to start survey or just show the button directly depends on your code pluginPollfish.show()--this line of code shows survey elseif ( event.phase == "completed" ) then --do something like reward your user pluginPollfish.init( adPollyListener, { developerMode=false,apiKey="your api key" } ) -- initiate again for more surveys elseif ( event.phase == "closed" or event.phase == "failed" ) then pluginPollfish.init( adPollyListener, { developerMode=false,apiKey="your api key" } ) -- initiate again for more surveys end end
if tonumber(user\_Gender)==1 then pollfishOptions={ gender="male" } else pollfishOptions={ gender="female" } end pluginPollfish.init( adPollyListener, { developerMode=false,apiKey="your api key" } ) pluginPollfish.setUserDetails(pollfishOptions) -- this is claimed to provide better user experience from pollfish to send surveys for suitable --people depending on age, gender ...etc. if you had this info in your app
hope this helps
Thank you so much. This is helping… not using it exactly as you have it, but setting a variable in the ‘loaded’ phase and checking it when I want to load a survey seems to be working better than checking the isLoaded() function.
I am still not able to totally prevent the icon from loading (so I just hide() it right away) and I cannot set the location of the icon - so it seems like the pollfish.load() is still a problem. But I am moving on.
Thanks again. I will post any progress.
glad i could help
please follow this link … i think it will solve your remaining problems … i had the same problems by the way… but follow instructions to resolve them
Hi All;
I’m contemplating trying Pollfish in an app. But before I do, I have a couple of questions:
#1 – Mainly for Rob Miracle. Back in August, in a thread concerning Appodeal, you said “Because we have dropped support for Pollfish. I would think the plugin would still build for those using it, but we might have done something disabling it for new people to use in the past few days.” A couple of months have passed. Since the Pollfish plugin is still available in your marketplace, I assume that changed and all is OK now. Correct?
#2 – I have the same question as Sonyallc. Anyone using Pollfish and getting decent revenue from it? As compared to simpler Incentivized Video Interstitials?? Just trying to figure out if it is worth trying.
Thanks for any info or thoughts.
Steve
removed last post. Was thinking this was a different account.
Thanks Rob. Just wanted to double check because of what was said in August.
Best;
Steve
I stopped using them because I didn’t feel like giving people an option to fill 0 revenue survey’s and because the privacy policy they wanted me to add to my game description scared some people off. I actually made more money out of the referral program (not sure if it is still available). I helped somebody out and they used my link and I am not sure what they were doing but this person’s users filled 1000s of survey’s which resulted in my getting a few hundred dollars.