Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 5f560e4

Browse files
Add files via upload
1 parent 166f273 commit 5f560e4

File tree

10 files changed

+2352
-0
lines changed

10 files changed

+2352
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<!-- flet: permission -->
3+
<uses-permission android:name="android.permission.INTERNET" />
4+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
5+
<!-- Read the contents of your shared storage space -->
6+
<uses-permission
7+
android:name="android.permission.READ_EXTERNAL_STORAGE"
8+
android:maxSdkVersion="28" />
9+
<!-- Allows read and write access to all shared storage content. -->
10+
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
11+
<!-- flet: end of permission -->
12+
13+
<!-- flet: feature -->
14+
<uses-feature android:name="android.software.leanback" android:required="false" />
15+
<!-- flet: end of feature -->
16+
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
17+
<!-- flet: end of feature -->
18+
19+
<!-- -->
20+
<application
21+
android:label="warpscanner"
22+
android:name="${applicationName}"
23+
android:enableOnBackInvokedCallback="true"
24+
android:icon="@mipmap/ic_launcher">
25+
<!-- flet: meta-data -->
26+
<meta-data android:name="io.flutter.embedding.android.EnableImpeller" android:value="false" />
27+
<!-- flet: end of meta-data -->
28+
<activity
29+
android:name=".MainActivity"
30+
android:exported="true"
31+
android:launchMode="singleTop"
32+
android:theme="@style/LaunchTheme"
33+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
34+
android:hardwareAccelerated="true"
35+
android:windowSoftInputMode="adjustResize">
36+
<!-- Specifies an Android theme to apply to this Activity as soon as
37+
the Android process has started. This theme is visible to the user
38+
while the Flutter UI initializes. After that, this theme continues
39+
to determine the Window background behind the Flutter UI. -->
40+
<meta-data
41+
android:name="io.flutter.embedding.android.NormalTheme"
42+
android:resource="@style/NormalTheme"
43+
/>
44+
<intent-filter>
45+
<action android:name="android.intent.action.MAIN" />
46+
<category android:name="android.intent.category.LAUNCHER" />
47+
<category android:name="android.intent.category.LEANBACK_LAUNCHER" /> <!-- Google TV -->
48+
</intent-filter>
49+
<!-- flet: deep linking -->
50+
</activity>
51+
<!-- Don't delete the meta-data below.
52+
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
53+
<meta-data
54+
android:name="flutterEmbedding"
55+
android:value="2" />
56+
</application>
57+
</manifest>
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Warpscanner app
2+
3+
## Run the app
4+
5+
### uv
6+
7+
Run as a desktop app:
8+
9+
```
10+
uv run flet run
11+
```
12+
13+
Run as a web app:
14+
15+
```
16+
uv run flet run --web
17+
```
18+
19+
### Poetry
20+
21+
Install dependencies from `pyproject.toml`:
22+
23+
```
24+
poetry install
25+
```
26+
27+
Run as a desktop app:
28+
29+
```
30+
poetry run flet run
31+
```
32+
33+
Run as a web app:
34+
35+
```
36+
poetry run flet run --web
37+
```
38+
39+
For more details on running the app, refer to the [Getting Started Guide](https://flet.dev/docs/getting-started/).
40+
41+
## Build the app
42+
43+
### Android
44+
45+
```
46+
flet build apk -v
47+
```
48+
49+
For more details on building and signing `.apk` or `.aab`, refer to the [Android Packaging Guide](https://flet.dev/docs/publish/android/).
50+
51+
### iOS
52+
53+
```
54+
flet build ipa -v
55+
```
56+
57+
For more details on building and signing `.ipa`, refer to the [iOS Packaging Guide](https://flet.dev/docs/publish/ios/).
58+
59+
### macOS
60+
61+
```
62+
flet build macos -v
63+
```
64+
65+
For more details on building macOS package, refer to the [macOS Packaging Guide](https://flet.dev/docs/publish/macos/).
66+
67+
### Linux
68+
69+
```
70+
flet build linux -v
71+
```
72+
73+
For more details on building Linux package, refer to the [Linux Packaging Guide](https://flet.dev/docs/publish/linux/).
74+
75+
### Windows
76+
77+
```
78+
flet build windows -v
79+
```
80+
81+
For more details on building Windows package, refer to the [Windows Packaging Guide](https://flet.dev/docs/publish/windows/).
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[project]
2+
name = "WarpScanner"
3+
version = "0.1.0"
4+
description = "This is a WarpScanner for android"
5+
readme = "README.md"
6+
requires-python = ">=3.9"
7+
authors = [
8+
{ name = "arshiacomplus", email = "[email protected]" }
9+
]
10+
dependencies = [
11+
"flet==0.27.6",
12+
"icmplib",
13+
"requests",
14+
"retrying"
15+
]
16+
17+
[tool.flet]
18+
# org name in reverse domain name notation, e.g. "com.mycompany".
19+
# Combined with project.name to build bundle ID for iOS and Android apps
20+
org = "com.arshiacomplus.warpscanner"
21+
22+
# project display name that is used as an app title on Android and iOS home screens,
23+
# shown in window titles and about app dialogs on desktop.
24+
product = "warpscanner"
25+
26+
# company name to display in about app dialogs
27+
company = ""
28+
29+
# copyright text to display in about app dialogs
30+
copyright = "Copyright (C) 2025 by arshiacomplus"
31+
32+
[tool.flet.app]
33+
path = "src"
34+
35+
[tool.uv]
36+
dev-dependencies = [
37+
"flet[all]==0.27.6",
38+
]
39+
40+
[tool.poetry]
41+
package-mode = false
42+
43+
[tool.poetry.group.dev.dependencies]
44+
flet = {extras = ["all"], version = "0.27.6"}
97 KB
Loading
97 KB
Loading

0 commit comments

Comments
 (0)