Skip to content

Commit 396ecf4

Browse files
committed
## Major update
In this update we have moved the extension to use the newer gradle dependencies process. ### Updates feat(android): move to gradle dependencies
1 parent 59d960d commit 396ecf4

7 files changed

+42
-20
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
###### 2024.12.19 [v2.3.0]
2+
3+
```
4+
## Major update
5+
6+
In this update we have moved the extension to use the newer gradle dependencies process.
7+
8+
### Updates
9+
10+
feat(android): move to gradle dependencies
11+
```
12+
113
###### 2023.01.27 [v2.2.0]
214

315
```

example/simple/src/TestSystemGestures-app-tvOS.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2-
<application xmlns="http://ns.adobe.com/air/application/29.0">
2+
<application xmlns="http://ns.adobe.com/air/application/51.1">
33
<id>com.distriqt.test</id>
44
<filename>TestSystemGestures</filename>
55
<name>TestSystemGestures</name>
@@ -33,7 +33,7 @@
3333
</array>
3434
3535
<key>MinimumOSVersion</key>
36-
<string>11.0</string>
36+
<string>12.0</string>
3737
3838
]]></InfoAdditions>
3939
<requestedDisplayResolution>high</requestedDisplayResolution>

example/simple/src/TestSystemGestures-app.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2-
<application xmlns="http://ns.adobe.com/air/application/33.1">
2+
<application xmlns="http://ns.adobe.com/air/application/51.1">
33
<id>com.distriqt.test</id>
44
<filename>TestSystemGestures</filename>
55
<name>TestSystemGestures</name>
@@ -37,7 +37,7 @@
3737
<string>LaunchScreen</string>
3838
3939
<key>MinimumOSVersion</key>
40-
<string>11.0</string>
40+
<string>12.0</string>
4141
4242
]]></InfoAdditions>
4343
<requestedDisplayResolution>high</requestedDisplayResolution>

example/simple/src/TestSystemGestures.as

+25-15
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,17 @@ package
7979
message( "SystemGestures Supported: " + SystemGestures.isSupported );
8080
message( "SystemGestures Platform: " + SystemGestures.service.implementation );
8181
message( "SystemGestures Version: " + SystemGestures.service.version );
82-
82+
83+
84+
// Deferred edges
85+
if (SystemGestures.isDeferredScreenEdgesSupported)
86+
{
87+
message( "setDeferredScreenEdges()" );
88+
SystemGestures.service.setDeferredScreenEdges( ScreenEdges.RIGHT );
89+
}
90+
91+
92+
8393

8494
setTimeout( function():void {
8595
if (SystemGestures.isSupported)
@@ -131,20 +141,20 @@ package
131141
// Do something when user clicks screen?
132142
//
133143

134-
// Home indicator
135-
message( "setPrefersHomeIndicatorAutoHidden()" );
136-
SystemGestures.service.setPrefersHomeIndicatorAutoHidden( true );
137-
138-
139-
140-
// Deferred edges
141-
if (SystemGestures.isDeferredScreenEdgesSupported)
142-
{
143-
message( "getDeferredScreenEdges() = " + SystemGestures.service.getDeferredScreenEdges() );
144-
145-
message( "setDeferredScreenEdges()" );
146-
SystemGestures.service.setDeferredScreenEdges( ScreenEdges.ALL );
147-
}
144+
// // Home indicator
145+
// message( "setPrefersHomeIndicatorAutoHidden()" );
146+
// SystemGestures.service.setPrefersHomeIndicatorAutoHidden( true );
147+
//
148+
//
149+
//
150+
// // Deferred edges
151+
// if (SystemGestures.isDeferredScreenEdgesSupported)
152+
// {
153+
// message( "getDeferredScreenEdges() = " + SystemGestures.service.getDeferredScreenEdges() );
154+
//
155+
// message( "setDeferredScreenEdges()" );
156+
// SystemGestures.service.setDeferredScreenEdges( ScreenEdges.ALL );
157+
// }
148158

149159

150160
}

lib/VERSION.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
| Extension | Version | Android Lib | iOS Lib |
44
| --- | --- | --- | --- |
5-
| com.distriqt.SystemGestures | 2.2.0 | | |
5+
| com.distriqt.SystemGestures | 2.3.0 | | |

lib/com.distriqt.SystemGestures.ane

21 KB
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)