Skip to content

Commit

Permalink
Updates to latest GPS versions and for firebase bom 29.0.4
Browse files Browse the repository at this point in the history
Add recaptcha extension
Removed excessive resources from extensions and cleaned up versioning
  • Loading branch information
marchbold committed Mar 8, 2022
1 parent 4e730d8 commit 156f175
Show file tree
Hide file tree
Showing 96 changed files with 686 additions and 12 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
###### 2022.03.08 [v27.0.0]

```
Updates to latest GPS versions and for firebase bom 29.0.4
Add recaptcha extension
Removed excessive resources from extensions and cleaned up versioning
```

###### 2021.09.09 [v26.7.1]

```
Expand Down
4 changes: 4 additions & 0 deletions example/playservices-recaptcha/.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.
59 changes: 59 additions & 0 deletions example/playservices-recaptcha/simple/src/TestRecaptcha-app.xml
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>TestRecaptcha</filename>
<name>TestRecaptcha</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.Recaptcha</extensionID>
</extensions>

</application>
141 changes: 141 additions & 0 deletions example/playservices-recaptcha/simple/src/TestRecaptcha.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.recaptcha.Recaptcha;

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 Recaptcha Native Extension
*/
public class TestRecaptcha extends Sprite
{

//
// VARIABLES
//


private var _text : TextField;


/**
* Class constructor
*/
public function TestRecaptcha()
{
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( "Recaptcha Supported: " + Recaptcha.isSupported );
message( "Recaptcha Version: " + Recaptcha.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-recaptcha/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.
72 changes: 72 additions & 0 deletions example/playservices-recaptcha/starling/src/TestRecaptcha-app.xml
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>TestRecaptcha</filename>
<name>TestRecaptcha</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.Recaptcha</extensionID>
</extensions>

</application>
Loading

0 comments on commit 156f175

Please sign in to comment.