Corona plugin to register TapjoyInstalls
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Images.xcassets
LaunchScreen.storyboardc
.gitattributes
.gitignore
Icon-hdpi.png
Icon-ldpi.png
Icon-mdpi.png
Icon-xhdpi.png
Icon-xxhdpi.png
Icon-xxxhdpi.png
Icon.png
LICENSE
README.md
build.settings
config.lua
main.lua

README.md

Tapjoy - Install: Register installs on Tapjoy.

Instructions:

  1. Add the Tapjoy plugin to the build settings:
plugins =
{
    ["plugin.tapjoyInstall"] =
    {
        publisherId = "com.cabagomez"
    },
},

  1. Refrence the plugin:
local tapjoyInstall = require "plugin.tapjoyInstall"
  1. Create a function to recieve the listerner event:
local tapJoyListerner = function(event)
	-- Event will let you know if connection was successful.
end
  1. Init the plugin:
tapjoyInstall.init(
    tapJoyListerner, -- Tapjoy Listerner. Required.
    {
        key=<replace with your key>, -- Your Tapjoy Key. Required.
        isDebug=false -- Optional debug param. Defaults to false if not present.
    } -- Table with options.
    )
  1. Only two distinct events are returned: Passed init:
{
  "name":"tapjoyInstallEvent",
  "phase":"init",
  "isError":false
}

Failed init:

{
  "name":"tapjoyInstallEvent",
  "phase":"init",
  "isError":true
}

Please Note:

  1. I am in no way associated with CoronaLabs and/or Tapjoy.
  2. Tapjoy Install is not a monitization plugin. There are no funtions to show or display ads of any types.
  3. If you are using Appodeal you will need to comment out Tapjoy as a module.
  4. It has been tested with the current public build: 2018.3326
  5. As the license states: I am providing this plugin as-is with no support. Use at your own risk.