Skip to content

Updating from old sdk, RewardInfo is no longer working and make surveys unavailable #9

@00christian00

Description

@00christian00

Hi, I just updated from an old sdk on an app I am developing and noticed I wasn't receiving anymore surveys on the test app.
I pinpointed the issue on the setting of RewardInfo in the params.
My code was like this and had to comment out the param in question:

 Pollfish.Params pollfishParams = new Pollfish.Params(apiKey)
     .OfferwallMode(offerwallMode)
     .ReleaseMode(releaseMode)
     .UserProperties(userProperties)
     .ClickId(clickId)
     .Signature(signature)
     .IndicatorPadding(indicatorPadding)
     .IndicatorPosition(indicatorPosition)
     .RequestUUID(requestUUID)
    // .RewardInfo(rewardInfo) NO LONGER WORKS, MAKE SURVEYS UNAVAILABLE
     .RewardMode(true);

There is no error displayed, just the sdk never returns any poll. I don't need the param, just pointing out to you guys for other people, because it wasn't easy to find the culprit without errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions