AppsFlyer Extras

cabagomez.com Corona Plugins / Attribution Analytics

Description

# AppsFlyer Extras: AppsFlyer sandbox testing functions for Corona.

Instructions:

1. Activate the Apps Flyer Extras plugin:
2. Add both appsflyer plugin and the extras plugin to your build settings.

plugins = {
        
        ["plugin.appsflyer"] =
            {
                    publisherId = "com.coronalabs",
            
            },
        ["plugin.appsFlyerExtras"] =
            {
                    publisherId = "com.cabagomez",
                    supportedPlatforms = { iphone=true } 
            },

},

3. Reference the plugin.

local appsFlyerExtras = require( "plugin.appsFlyerExtras" )


2. Initialize your AppsFlyer plugin like you normally would and following the directions in the AppsFlyer documentation.

local function appsflyerListener( event )
    
end


appsflyer.init( appsflyerListener,
    {
        appID = "", -- Your AppId (just the numbers)
        devKey = "", -- Your DevKey
        enableDebugLogging = true,
        hasUserConsent = true
    }
)

3. When testing reciepts in sandbox call the functions with either true or false before validating the receipt.

appsFlyerExtras.setUseReceiptValidationSandbox(true)
 

4. You can also call setUseUninstallSandbox function:

appsFlyerExtras.setUseUninstallSandbox(true) 
 

Please Note:
1. I am in no way associated with CoronaLabs and/or AppsFlyer.
2. AppsFlyer Extras is not a standalone plugin. It requires the official AppsFlyer plugin created and supported by Corona.
3. This plugin is only useful when testing your iOS app before releasing it to the store. These functions should not be called on a production build.
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.

Price
Free
Activate

Additional information

Aug 30 2019

Sep 21 2018

1.1

Bug Fixes.

Show history

iOS

Analytics