Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2024-08-13 11:38:05 +0200
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2024-08-13 11:38:05 +0200
Commit
7f4c6b03411e0f7ba71e3d4475f4d4ec313fca31
7f4c6b03
2 parents
d802051b
0c48592c
Merge pull request #1147 from navaronbracke/web_v1-0-0
chore: Migrate to web 1.0.0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
26 deletions
.github/workflows/flutter.yml
CHANGELOG.md
example/web/index.html
pubspec.yaml
.github/workflows/flutter.yml
View file @
7f4c6b0
...
...
@@ -36,7 +36,7 @@ jobs:
-
uses
:
subosito/flutter-action@v2.12.0
with
:
cache
:
true
flutter-version
:
'
3.
19
'
flutter-version
:
'
3.
22
'
channel
:
'
stable'
-
name
:
Version
run
:
flutter doctor -v
...
...
CHANGELOG.md
View file @
7f4c6b0
## NEXT
*
This release requires Flutter 3.22.0 and Dart 3.4.
*
[
Android
]
Fixed a leak of the barcode scanner.
*
[
Android
]
Fixed a crash when encountering invalid numbers for the scan window.
*
[
Web
]
Migrates
`package:web`
to 1.0.0.
## 5.1.1
*
This release fixes an issue with automatic starts in the examples.
...
...
example/web/index.html
View file @
7f4c6b0
...
...
@@ -31,29 +31,8 @@
<title>
mobile_scanner_example
</title>
<link
rel=
"manifest"
href=
"manifest.json"
>
<script>
// The value below is injected by flutter build, do not touch.
const
serviceWorkerVersion
=
null
;
</script>
<!-- This script adds the flutter initialization JS code -->
<script
src=
"flutter.js"
defer
></script>
</head>
<body>
<script>
window
.
addEventListener
(
'load'
,
function
(
ev
)
{
// Download main.dart.js
_flutter
.
loader
.
loadEntrypoint
({
serviceWorker
:
{
serviceWorkerVersion
:
serviceWorkerVersion
,
},
onEntrypointLoaded
:
function
(
engineInitializer
)
{
engineInitializer
.
initializeEngine
().
then
(
function
(
appRunner
)
{
appRunner
.
runApp
();
});
}
});
});
</script>
<script
src=
"flutter_bootstrap.js"
async
></script>
</body>
</html>
...
...
pubspec.yaml
View file @
7f4c6b0
...
...
@@ -16,8 +16,8 @@ screenshots:
path
:
example/screenshots/overlay.png
environment
:
sdk
:
"
>=3.3.0
<4.0.0"
flutter
:
"
>=3.19.0"
sdk
:
"
>=3.4.0
<4.0.0"
flutter
:
"
>=3.22.0"
dependencies
:
flutter
:
...
...
@@ -25,7 +25,7 @@ dependencies:
flutter_web_plugins
:
sdk
:
flutter
plugin_platform_interface
:
^2.0.2
web
:
^
0.5.1
web
:
^
1.0.0
dev_dependencies
:
flutter_test
:
...
...
Please
register
or
login
to post a comment