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
var ref:StorageReference = FirebaseStorage.service.getReference(); | |
ref.addEventListener( StorageReferenceListEvent.SUCCESS, listSuccessHandler ); | |
ref.listAll(); | |
function listSuccessHandler( event:StorageReferenceListEvent ):void | |
{ | |
// Contains a list of "items" - each represents a storage item | |
for each (var item:String in event.items) | |
{ |
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
#!/bin/bash | |
##################################### | |
## CONFIG | |
# You need to set the values below for your application | |
# We suggest they are full paths to the files. | |
# The path to the ipa generated from your AIR application packaging | |
IPA="/path/to/your/dist_app.ipa" |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | |
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="30" /> | |
<application> | |
<!-- AMAZON GAME CIRCLE --> | |
<activity android:name="com.amazon.ags.html5.overlay.GameCircleUserInterface" android:theme="@style/GCOverlay" android:hardwareAccelerated="false"></activity> | |
<activity android:name="com.amazon.ags.html5.overlay.GameCircleAlertUserInterface" android:theme="@style/GCAlert" android:hardwareAccelerated="false"></activity> |
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
<application xmlns="http://ns.adobe.com/air/application/33.1"> | |
<id>com.example.app</id> | |
<versionNumber>1.0.0</versionNumber> | |
<filename>ExampleApp</filename> | |
<name>Example App</name> | |
<initialWindow> | |
<content>[]</content> | |
<visible>true</visible> | |
<fullScreen>false</fullScreen> | |
<autoOrients>false</autoOrients> |
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
package | |
{ | |
import com.distriqt.extension.idfa.IDFA; | |
import com.distriqt.extension.idfa.TrackingAuthorisationStatus; | |
import com.distriqt.extension.idfa.events.IDFAEvent; | |
import flash.display.Sprite; | |
public class ExampleApp extends Sprite | |
{ | |
public function ExampleApp() |
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
<application xmlns="http://ns.adobe.com/air/application/33.1"> | |
<id>com.my.app</id> | |
<versionNumber>1.0.0</versionNumber> | |
<filename>MyApplication</filename> | |
<name>My Application</name> | |
<initialWindow> | |
<content>[]</content> | |
<visible>true</visible> | |
<fullScreen>false</fullScreen> | |
<autoOrients>false</autoOrients> |
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
Adverts.service.addEventListener( AdvertsEvent.INITIALISED, initialisedHandler ); | |
Adverts.service.initialise(); | |
function initialisedHandler( event:AdvertsEvent ):void | |
{ | |
for each (var adapterStatus:AdapterStatus in e.adapterStatus) | |
{ | |
trace( "adapter: " + adapterStatus.name + " : " + adapterStatus.state + " [" + adapterStatus.latency + "] - " + adapterStatus.description ); | |
} |
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
// Init keyboard monitoring | |
Application.service.display.setDisplayMode( DisplayMode.NORMAL ); | |
Application.service.keyboard.init(); | |
FeathersControl.defaultTextEditorFactory = function():ITextEditor { | |
var editorMobile:StageTextTextEditor = new StageTextTextEditor(); | |
editorMobile.fontSize = 50; | |
editorMobile.maintainTouchFocus = true; | |
return editorMobile; | |
}; |
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
/** | |
* __ __ __ | |
* ____/ /_ ____/ /______ _ ___ / /_ | |
* / __ / / ___/ __/ ___/ / __ `/ __/ | |
* / /_/ / (__ ) / / / / / /_/ / / | |
* \__,_/_/____/_/ /_/ /_/\__, /_/ | |
* / / | |
* \/ | |
* http://distriqt.com | |
* |
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
InAppBilling.service.inAppUpdates.addEventListener( InAppUpdatesEvent.CHECK_APP_UPDATES_SUCCESS, successHandler ); | |
// Perform the updates check | |
InAppBilling.service.inAppUpdates.checkAppUpdate(); | |
function successHandler( event:InAppUpdatesEvent ):void | |
{ | |
if (event.updateAvailability == InAppUpdateAvailablity.UPDATE_AVAILABLE) | |
{ |
NewerOlder