Jimmy Tai

Results 18 comments of Jimmy Tai

Hi @dennisbach , I finally get it work. Now it can connect to AWS IoT via MQTT successfully. I only met these Exception 29 or 28 when the connecting process...

Hi @dennisbach , I am sorry for late reply. I already put my whole esp8266 Arduino core on my Github. Also I create a library to help you loading the...

Hi Xuan, I am glad to hear that. Please let me know if there is any problem. By the way, hope you can give my github repo a star and...

期待Flutter 2.0和null-safety的適配

https://github.com/flutter/flutter/blob/0abb98d8aa62b57a49776f44158e3d7a986815a5/packages/flutter_tools/lib/src/web/file_generators/flutter_service_worker_js.dart#L76 https://github.com/flutter/flutter/blob/0abb98d8aa62b57a49776f44158e3d7a986815a5/packages/flutter_tools/lib/src/web/file_generators/flutter_service_worker_js.dart#L115 I think the root cause is related to these 2 lines. It only get origin not include subpath. I try to edit flutter_service_worker.js and append the "base-href" and...

I tried it again. At first time, `main.dart.js` was fetched from http directly. After refresh the web, `main.dart.js` was fetched via disk cache. If service worker worked, it should be...

@exaby73 service worker is registered, but the cache strategy work incorrectly. Due to the subpath doesn’t include in `origin` like what I mentioned https://github.com/flutter/flutter/issues/111866#issuecomment-1250742648. In `flutter_service_worker.js` “fetch” listener, it substring...

@ditman I am preparing a PR for this issue. Could I pass the `baseHref` argument to `WebServiceWorker` class in `compile.dart` line 50 and then pass to `generateServiceWorker()` function in `web.dart`...

The root cause is dart vm restart after hot-restart but plugin not. https://github.com/flutter/flutter/issues/10437 For now, we couldn’t be informed hot-restart is coming. Maybe we could check the init parameters in...