Skip to content

Commit

Permalink
chore: 3.18.3+39
Browse files Browse the repository at this point in the history
  • Loading branch information
Arenukvern committed Feb 18, 2024
1 parent 4048e57 commit 096a4e5
Show file tree
Hide file tree
Showing 6 changed files with 75,512 additions and 74,537 deletions.
2 changes: 1 addition & 1 deletion release/web/.last_build_id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3b312ed0f4358d4c862e889455a39358
9ff66a0d7f3a74d2afabbeaf37bc72e7
37 changes: 37 additions & 0 deletions release/web/assets/NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -2015,9 +2015,13 @@ POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
animations
cross_file
file_selector
file_selector_android
file_selector_ios
file_selector_linux
file_selector_macos
file_selector_platform_interface
file_selector_web
file_selector_windows
flutter_lints
flutter_plugin_android_lifecycle
Expand Down Expand Up @@ -8603,6 +8607,39 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
file_saver

BSD 3-Clause License

Copyright (c) 2021, Hassan Ansari
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
firebase_analytics
firebase_analytics_platform_interface
Expand Down
10 changes: 5 additions & 5 deletions release/web/flutter_service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ const MANIFEST = 'flutter-app-manifest';
const TEMP = 'flutter-temp-cache';
const CACHE_NAME = 'flutter-app-cache';

const RESOURCES = {"version.json": "9502f47366e930315baf8ed9faa7beb6",
"index.html": "3d637bb406faa22ec0f148a1271fd2a2",
"/": "3d637bb406faa22ec0f148a1271fd2a2",
const RESOURCES = {"version.json": "5db883376076ab3a96ce7e3cd68c8d38",
"index.html": "731822223beeef7fcf04986710807acf",
"/": "731822223beeef7fcf04986710807acf",
"styles.css": "497f12b5497194cb6c80ac7d75c62305",
"main.dart.js": "f706676ae7bb9d3ad8b79c872d7f4d31",
"main.dart.js": "d2dcd0dc75196a0bd3d873af2d6cd6d0",
"flutter.js": "c71a09214cb6f5f8996a531350400a9a",
"favicon.png": "479d556fb2eb36f25a63441f0e18ab75",
"icons/icon-16.png": "16e424e171d2abe7aaa2a68f2c66740c",
Expand All @@ -19,7 +19,7 @@ const RESOURCES = {"version.json": "9502f47366e930315baf8ed9faa7beb6",
"icons/icon-512.png": "aeff152814c020c3850eefa1ecc07d6f",
"manifest.json": "fa9ae3c0e606d16ae11bba228de02237",
"assets/AssetManifest.json": "da9ee224244f270028b751ed806f70a5",
"assets/NOTICES": "4643ce5bc854b5fbbf81b946bd6b98ae",
"assets/NOTICES": "a5f47c76d9b2e841e85cceef7b541476",
"assets/FontManifest.json": "fb6b8dd3180ac4db433e63287147047e",
"assets/AssetManifest.bin.json": "74a3e2d328fd6372e1841d246d909707",
"assets/packages/cupertino_icons/assets/CupertinoIcons.ttf": "2ebf5fa2a9db63aaa3d99900213a4dee",
Expand Down
33 changes: 29 additions & 4 deletions release/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<link rel="stylesheet" type="text/css" href="./styles.css" />
<script>
// The value below is injected by flutter build, do not touch.
const serviceWorkerVersion = "1162747217";
const serviceWorkerVersion = "437673385";
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer></script>
Expand All @@ -43,6 +43,13 @@
window.yaContextCb = window.yaContextCb || [];
</script>
<script src="https://yandex.ru/ads/system/context.js" async></script>
<style>
body {
margin: 0px;
height: 100vh;
overflow: hidden;
}
</style>
<!-- Yandex Context End -->
</head>
<body>
Expand All @@ -55,6 +62,20 @@
<div id="flutter_app" style="width: 100%; height: 100%"></div>
<script>
window.addEventListener("load", function (ev) {
// https://stackoverflow.com/a/73731646/9908821
function isMobile() {
if ("maxTouchPoints" in navigator)
return navigator.maxTouchPoints > 0;

const mQ = matchMedia?.("(pointer:coarse)");
if (mQ?.media === "(pointer:coarse)") return !!mQ.matches;

if ("orientation" in window) return true;

return /\b(Android|Windows Phone|iPhone|iPad|iPod|Android|webOS|BlackBerry|IEMobile|Opera Mini)\b/i.test(
navigator.userAgent
);
}
var loading = document.querySelector("#loading");
var loadingContainer = document.querySelector("#loading_container");
var hostElement = document.querySelector("#flutter_app");
Expand All @@ -65,9 +86,13 @@
},
onEntrypointLoaded: async function (engineInitializer) {
loading.classList.add("main_done");
let appRunner = await engineInitializer.initializeEngine({
hostElement: hostElement,
});
/// temporary fix, as mobile somehow doesn't work with hostElement
let appRunner = isMobile()
? await engineInitializer.initializeEngine()
: await engineInitializer.initializeEngine({
hostElement: hostElement,
});

console.log("appRunner");
loading.classList.add("init_done");
await appRunner.runApp();
Expand Down
Loading

0 comments on commit 096a4e5

Please sign in to comment.