Last active
January 2, 2020 22:39
-
-
Save marchbold/efd2aee18528596c56c0 to your computer and use it in GitHub Desktop.
Setup of the Expansion Files ANE with licensing and salt values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static const BASE64_PUBLIC_KEY : String = "YOUR_LICENSING_PUBLIC_KEY"; | |
public static const SALT : Vector.<int> = Vector.<int>( [ 1, 43, -12, -1, 54, 98, -100, -12, 43, 2, -8, -4, 9, 5, -106, -108, -33, 45, -1, 84 ]); | |
... | |
ExpansionFiles.init( "APP_KEY" ); | |
trace( "ExpansionFiles Supported: " + ExpansionFiles.isSupported ); | |
trace( "ExpansionFiles Version: " + ExpansionFiles.service.version ); | |
if (ExpansionFiles.isSupported) | |
{ | |
ExpansionFiles.service.setup( BASE64_PUBLIC_KEY, SALT ); | |
} | |
// com.distriqt.ExpansionFiles |
from where we find the app_key?
ExpansionFiles.init( APP_KEY )
The app key is no longer required. More information here: https://airnativeextensions.com/knowledgebase/faq/9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://airnativeextensions.com/extension/com.distriqt.ExpansionFiles