File tree Expand file tree Collapse file tree 8 files changed +22
-16
lines changed
metadata/en-US/changelogs Expand file tree Collapse file tree 8 files changed +22
-16
lines changed Original file line number Diff line number Diff line change 1
1
name : setonix_api
2
2
description : The Linwood Setonix API
3
- version : 0.2.0
3
+ version : 0.1.1
4
4
publish_to : none
5
5
# repository: https://github.com/my_org/my_repo
6
6
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ AppDir:
14
14
id : dev.linwood.setonix
15
15
name : Linwood Setonix
16
16
icon : dev.linwood.setonix
17
- version : 0.2.0
17
+ version : 0.1.1
18
18
exec : setonix
19
19
exec_args : $@
20
20
apt :
Original file line number Diff line number Diff line change 17
17
while the Flutter UI initializes. After that, this theme continues
18
18
to determine the Window background behind the Flutter UI. -->
19
19
<meta-data
20
- android : name =" io.flutter.embedding.android.NormalTheme"
21
- android : resource =" @style/NormalTheme"
22
- />
20
+ android : name =" io.flutter.embedding.android.NormalTheme"
21
+ android : resource =" @style/NormalTheme"
22
+ />
23
23
<intent-filter >
24
- <action android : name =" android.intent.action.MAIN" />
25
- <category android : name =" android.intent.category.LAUNCHER" />
24
+ <action android : name =" android.intent.action.MAIN" />
25
+ <category android : name =" android.intent.category.LAUNCHER" />
26
26
</intent-filter >
27
27
</activity >
28
28
<!-- Don't delete the meta-data below.
38
38
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
39
39
<queries >
40
40
<intent >
41
- <action android : name =" android.intent.action.PROCESS_TEXT" />
42
- <data android : mimeType =" text/plain" />
41
+ <action android : name =" android.intent.action.PROCESS_TEXT" />
42
+ <data android : mimeType =" text/plain" />
43
43
</intent >
44
44
</queries >
45
- </manifest >
45
+ <uses-permission android : name =" android.permission.INTERNET" />
46
+ <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
47
+ </manifest >
Original file line number Diff line number Diff line change @@ -21,9 +21,11 @@ class NetworkService {
21
21
22
22
Future <void > init () async {
23
23
if (! kIsWeb) {
24
- _server = (await RawDatagramSocket .bind (
25
- InternetAddress .anyIPv4, kBroadcastPort))
26
- ..broadcastEnabled = true ;
24
+ try {
25
+ _server = (await RawDatagramSocket .bind (
26
+ InternetAddress .anyIPv4, kBroadcastPort))
27
+ ..broadcastEnabled = true ;
28
+ } catch (_) {}
27
29
}
28
30
_fetchServers ().listen ((event) {
29
31
_servers.add (event);
Original file line number Diff line number Diff line change 1
1
Package: linwood-setonix
2
- Version: 0.2.0
2
+ Version: 0.1.1
3
3
Section: base
4
4
Priority: optional
5
5
Homepage: https://github.com/LinwoodDev/Setonix
Original file line number Diff line number Diff line change @@ -983,7 +983,7 @@ packages:
983
983
path: "../api"
984
984
relative: true
985
985
source: path
986
- version: "0.2.0 "
986
+ version: "0.1.1 "
987
987
share_plus:
988
988
dependency: transitive
989
989
description:
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ description: Play games without internet
11
11
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12
12
# Read more about iOS versioning at
13
13
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14
- version : 0.2.0 +2
14
+ version : 0.1.1 +2
15
15
publish_to : none
16
16
17
17
environment :
Original file line number Diff line number Diff line change
1
+ * Add internet permission to android
2
+ * Fix app crashing if socket cannot be created
You can’t perform that action at this time.
0 commit comments