File tree 2 files changed +3
-18
lines changed
packages/stream_chat_v1/web
2 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,8 @@ jobs:
101
101
with :
102
102
channel : stable
103
103
cache : true
104
+ # https://github.com/flutter/flutter/issues/160127
105
+ flutter-version : 3.24.5
104
106
105
107
- name : Copy production config
106
108
run : echo "${{ secrets.PRODUCTION_CONFIG }}" > lib/app_config.dart
Original file line number Diff line number Diff line change 32
32
< title > Stream Chat V1</ title >
33
33
< link rel ="manifest " href ="manifest.json ">
34
34
35
- < script >
36
- // The value below is injected by flutter build, do not touch.
37
- var serviceWorkerVersion = null ;
38
- </ script >
39
35
<!-- This script adds the flutter initialization JS code -->
40
36
< script defer src ="flutter.js "> </ script >
41
37
< script defer src ="sql-wasm.js "> </ script >
42
38
</ head >
43
39
< body >
44
- < script >
45
- window . addEventListener ( 'load' , function ( ev ) {
46
- // Download main.dart.js
47
- _flutter . loader . loadEntrypoint ( {
48
- serviceWorker : {
49
- serviceWorkerVersion : serviceWorkerVersion ,
50
- }
51
- } ) . then ( function ( engineInitializer ) {
52
- return engineInitializer . initializeEngine ( ) ;
53
- } ) . then ( function ( appRunner ) {
54
- return appRunner . runApp ( ) ;
55
- } ) ;
56
- } ) ;
57
- </ script >
40
+ < script src ="flutter_bootstrap.js " async > </ script >
58
41
</ body >
59
42
</ html >
60
43
You can’t perform that action at this time.
0 commit comments