David Iglesias
c7c9d8eea6
[web] Encode AssetManifest.bin as JSON and use that on the web. ( #131382 )
...
This PR modifies the web build slightly to create an `AssetManifest.json`, that is a JSON(base64)-encoded version of the `AssetManifest.bin` file.
_(This should enable all browsers to download the file without any interference, and all servers to serve it with the correct headers.)_
It also modifies Flutter's `AssetManifest` class so it loads and uses said file `if (kIsWeb)`.
### Issues
* Fixes https://github.com/flutter/flutter/issues/124883
### Tests
* Unit tests added.
* Some tests that run on the Web needed to be informed of the new filename, but their behavior didn't have to change (binary contents are the same across all platforms).
* I've deployed a test app, so users affected by the BIN issue may take a look at the PR in action:
* https://dit-tests.web.app
2023-09-19 22:38:51 +00:00
..
2023-09-05 18:00:07 +00:00
2023-09-13 13:05:29 -07:00
2023-09-15 12:23:08 -07:00
2023-08-10 17:51:05 +00:00
2023-09-10 08:07:13 +00:00
2023-07-07 13:55:35 -07:00
2023-06-15 20:38:04 +00:00
2023-08-10 20:53:08 +00:00
2023-05-26 23:34:36 +00:00
2023-09-05 18:00:07 +00:00
2023-09-18 19:55:06 +00:00
2023-09-18 11:13:37 +00:00
2023-09-15 12:23:08 -07:00
2023-09-18 11:13:37 +00:00
2023-07-20 05:01:24 +00:00
2023-03-22 22:53:49 +00:00
2023-09-12 22:49:05 +00:00
2023-09-12 20:20:04 +00:00
2023-09-10 08:07:13 +00:00
2023-06-01 14:51:30 +00:00
2023-09-10 08:07:13 +00:00
2023-08-31 14:37:46 -07:00
2023-06-15 00:20:30 +00:00
2023-01-24 13:19:09 -08:00
2023-06-09 01:46:24 +00:00
2023-07-06 00:09:01 +00:00
2023-08-16 22:24:51 +00:00
2023-06-09 21:20:50 +00:00
2023-06-09 21:20:50 +00:00
2023-09-19 22:38:51 +00:00
2023-06-09 21:20:50 +00:00
2023-01-13 19:43:27 +00:00
2023-08-16 22:24:51 +00:00
2023-08-10 21:48:06 +00:00
2023-08-09 23:26:05 +00:00
2023-06-13 19:28:06 +00:00
2023-07-24 17:22:25 +00:00
2023-03-20 22:23:23 -07:00
2023-09-10 08:07:13 +00:00
2023-06-07 19:48:42 +00:00
2022-12-02 14:13:40 -08:00
2023-01-20 09:48:26 -08:00
2023-02-03 19:24:41 +00:00
2023-01-23 21:43:08 +00:00
2023-07-17 08:42:13 +00:00
2023-07-31 20:42:11 +00:00
2023-07-21 19:09:25 +00:00
2023-03-28 15:08:57 +00:00
2023-07-13 16:26:02 +00:00
2023-09-10 08:07:13 +00:00
2023-08-09 19:25:12 +00:00
2023-05-20 06:29:21 +00:00
2023-09-10 08:07:13 +00:00
2023-09-10 08:07:13 +00:00
2023-07-07 13:55:35 -07:00
2023-09-10 08:07:13 +00:00
2023-04-20 13:46:33 -04:00
2023-05-23 19:59:20 +00:00
2023-07-18 13:59:48 -07:00
2023-09-10 08:07:13 +00:00
2023-04-14 02:01:21 +00:00
2023-03-06 22:37:55 +00:00
2023-08-09 19:25:12 +00:00
2023-07-18 13:59:48 -07:00
2023-01-09 10:33:03 -08:00
2023-05-15 11:07:30 +02:00
2023-09-10 08:07:13 +00:00
2023-09-15 21:01:05 +00:00
2023-02-28 11:57:04 -05:00
2023-06-28 00:16:13 +05:30
2023-09-10 08:07:13 +00:00
2022-12-15 11:59:34 -08:00
2023-09-10 08:07:13 +00:00
2023-07-24 17:22:25 +00:00
2023-08-08 21:43:00 +00:00
2023-08-24 21:54:59 +00:00
2023-09-12 20:20:04 +00:00
2023-05-19 15:00:53 +00:00
2023-09-06 17:22:13 +00:00
2023-08-31 21:50:54 +00:00
2023-01-30 19:29:13 +00:00
2023-09-05 18:00:07 +00:00