Skip to content

Commit

Permalink
Added Licensing to provide access to Google Play Licensing
Browse files Browse the repository at this point in the history
Separated AdsIdentifier to avoid Ads SDK warning from Google
Added SWCs
  • Loading branch information
marchbold committed Aug 14, 2020
1 parent 87c7ab2 commit 02d10fa
Show file tree
Hide file tree
Showing 90 changed files with 678 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@


###### 2020.08.14 [v20.2.1]

```
Added Licensing to provide access to Google Play Licensing
Separated AdsIdentifier to avoid Ads SDK warning from Google
Added SWCs
```


###### 2020.05.25 [v20.2.0]

```
Expand Down
4 changes: 4 additions & 0 deletions example/playservices-adsidentifier/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bin-debug
bin
out
*Distriqt*
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/32.0">
<id>com.distriqt.test</id>
<filename>TestAdsIdentifier</filename>
<name>TestAdsIdentifier</name>
<versionNumber>0.0.1</versionNumber>

<initialWindow>
<content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
<autoOrients>false</autoOrients>
<fullScreen>false</fullScreen>
<visible>true</visible>
</initialWindow>

<icon>
<image16x16>icons/icon16x16.png</image16x16>
<image29x29>icons/icon29x29.png</image29x29>
<image32x32>icons/icon32x32.png</image32x32>
<image36x36>icons/icon36x36.png</image36x36>
<image48x48>icons/icon48x48.png</image48x48>
<image57x57>icons/icon57x57.png</image57x57>
<image72x72>icons/icon72x72.png</image72x72>
<image76x76>icons/icon76x76.png</image76x76>
<image114x114>icons/icon114x114.png</image114x114>
<image120x120>icons/icon120x120.png</image120x120>
<image128x128>icons/icon128x128.png</image128x128>
<image152x152>icons/icon152x152.png</image152x152>
<image512x512>icons/icon512x512.png</image512x512>
</icon>

<iPhone>
<InfoAdditions><![CDATA[
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
]]></InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
<Entitlements>
<![CDATA[
]]>
</Entitlements>
</iPhone>

<android>
<manifestAdditions><![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
]]></manifestAdditions>
</android>

<extensions>
<extensionID>com.distriqt.Core</extensionID>
<extensionID>com.distriqt.AdsIdentifier</extensionID>
</extensions>

</application>
141 changes: 141 additions & 0 deletions example/playservices-adsidentifier/simple/src/TestAdsIdentifier.as
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/**
* __ __ __
* ____/ /_ ____/ /______ _ ___ / /_
* / __ / / ___/ __/ ___/ / __ `/ __/
* / /_/ / (__ ) / / / / / /_/ / /
* \__,_/_/____/_/ /_/ /_/\__, /_/
* / /
* \/
* http://distriqt.com
*
* This is a test application for the distriqt extension
*
* @author Michael Archbold & Shane Korin
*
*/
package
{
import com.distriqt.extension.adsidentifier.AdsIdentifier;

import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.text.TextField;
import flash.text.TextFormat;


/**
* Sample application for using the AdsIdentifier Native Extension
*/
public class TestAdsIdentifier extends Sprite
{

//
// VARIABLES
//


private var _text : TextField;


/**
* Class constructor
*/
public function TestAdsIdentifier()
{
super();
create();
init();
}



//
// INITIALISATION
//

private function create( ):void
{
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;

_text = new TextField();
_text.defaultTextFormat = new TextFormat( "_typewriter", 18 );
addChild( _text );

stage.addEventListener( Event.RESIZE, stage_resizeHandler, false, 0, true );
stage.addEventListener( MouseEvent.CLICK, mouseClickHandler, false, 0, true );

addEventListener( Event.ACTIVATE, activateHandler, false, 0, true );
addEventListener( Event.DEACTIVATE, deactivateHandler, false, 0, true );
}


private function init( ):void
{
try
{
message( "AdsIdentifier Supported: " + AdsIdentifier.isSupported );
message( "AdsIdentifier Version: " + AdsIdentifier.service.version );

//
// Add test inits here
//
}
catch (e:Error)
{
message( "ERROR::"+e.message );
}
}


//
// FUNCTIONALITY
//

private function message( str:String ):void
{
trace( str );
_text.appendText(str+"\n");
}


//
// EVENT HANDLERS
//

private function stage_resizeHandler( event:Event ):void
{
_text.width = stage.stageWidth;
_text.height = stage.stageHeight - 100;
}


private function mouseClickHandler( event:MouseEvent ):void
{
//
// Do something when user clicks screen?
//
}


private function activateHandler( event:Event ):void
{
}

private function deactivateHandler( event:Event ):void
{
}


//
// EXTENSION HANDLERS
//



}
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
34 changes: 34 additions & 0 deletions example/playservices-adsidentifier/starling/src/Config.as
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/**
* __ __ __
* ____/ /_ ____/ /______ _ ___ / /_
* / __ / / ___/ __/ ___/ / __ `/ __/
* / /_/ / (__ ) / / / / / /_/ / /
* \__,_/_/____/_/ /_/ /_/\__, /_/
* / /
* \/
* http://distriqt.com
*
* @file Config.as
* @brief
* @author "Michael Archbold (ma&#64;distriqt.com)"
* @created 07/10/2014
* @copyright http://distriqt.com/copyright/license.txt
*/
package
{

/**
*
*/
public class Config
{

////////////////////////////////////////////////////////
// VARIABLES
//

public static var scale : Number = 1;


}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/32.0">
<id>com.distriqt.test</id>
<filename>TestAdsIdentifier</filename>
<name>TestAdsIdentifier</name>
<versionNumber>0.0.1</versionNumber>

<initialWindow>
<content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
<autoOrients>true</autoOrients>
<fullScreen>false</fullScreen>
<visible>true</visible>
<renderMode>direct</renderMode>
</initialWindow>

<icon>
<image16x16>icons/icon16x16.png</image16x16>
<image29x29>icons/icon29x29.png</image29x29>
<image32x32>icons/icon32x32.png</image32x32>
<image36x36>icons/icon36x36.png</image36x36>
<image48x48>icons/icon48x48.png</image48x48>
<image57x57>icons/icon57x57.png</image57x57>
<image72x72>icons/icon72x72.png</image72x72>
<image76x76>icons/icon76x76.png</image76x76>
<image114x114>icons/icon114x114.png</image114x114>
<image120x120>icons/icon120x120.png</image120x120>
<image128x128>icons/icon128x128.png</image128x128>
<image152x152>icons/icon152x152.png</image152x152>
<image512x512>icons/icon512x512.png</image512x512>
</icon>

<iPhone>
<InfoAdditions><![CDATA[
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
]]></InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
<Entitlements>
<![CDATA[
]]>
</Entitlements>
</iPhone>

<android>
<manifestAdditions><![CDATA[
<manifest android:installLocation="auto" >
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="27" />
<uses-permission android:name="android.permission.INTERNET"/>
<application android:hardwareAccelerated="true">
</application>
</manifest>
]]></manifestAdditions>
</android>

<extensions>
<extensionID>com.distriqt.Core</extensionID>
<extensionID>com.distriqt.AdsIdentifier</extensionID>
</extensions>

</application>
Loading

0 comments on commit 02d10fa

Please sign in to comment.