pollfish.*

Type Library
Revision Release 2024.3703
Keywords ads, advertising, Pollfish
Platforms Android, iOS

Overview

Pollfish is a survey platform that delivers online surveys through mobile apps. It can be used along with any other ad platform to bring an extra source of revenue. You can also create internal surveys for free and ask questions to your app's users to improve your application.

Registration

Before you can use this plugin, you must register with Pollfish.

Syntax

local plugin = require( "plugin.pollfish" )

Functions

Events

Project Settings

To use this plugin, add an entry into the plugins table of build.settings. When added, the build server will integrate the plugin during the build phase.

settings =
{
    plugins =
    {
        ["plugin.pollfish"] =
        {
            publisherId = "com.coronalabs"
        },
    },
}
Note

For Android, the following permissions/features are automatically added when using this plugin:

  • "android.permission.INTERNET"

In addition, if you wish to receive highly-targeted surveys in your app and increase your chances for higher revenue, you can include any or all of the following permissions:

  • "android.permission.ACCESS_WIFI_STATE"
  • "android.permission.READ_PHONE_STATE"
  • "android.permission.ACCESS_NETWORK_STATE"
  • "android.permission.ACCESS_FINE_LOCATION"
  • "android.permission.ACCESS_COARSE_LOCATION"

Support