GetStream / stream-chat-flutter

Flutter Chat SDK - Build your own chat app experience using Dart, Flutter and the Stream Chat Messaging API.
https://getstream.io/chat/sdk/flutter/
Other
938 stars 342 forks source link

Unable to load asset: "packages/stream_chat_flutter/lib/svgs/video_call_icon.svg". #1479

Closed ebjorklund01 closed 1 year ago

ebjorklund01 commented 1 year ago

Which packages are you using?

stream_chat_flutter

On what platforms did you experience the issue?

iOS

What version are you using?

v5.3.0

What happened?

Error reported in the wild by RayGun:

PlatformAssetBundle.load.<fn> in package:flutter/src/services/asset_bundle.dart:254
_rootRunUnary in dart:async/zone.dart:1406
AssetBundle.loadString in package:flutter/src/services/asset_bundle.dart:83
AssetBundlePictureProvider._loadAsync in package:flutter_svg/src/picture_provider.dart:546

Steps to reproduce

Have not reproduced locally.

Supporting info to reproduce

No response

Relevant log output

No response

Flutter analyze output

No response

Flutter doctor output

No response

Code of Conduct

leandroBorgesFerreira commented 1 year ago

Hello @ebjorklund01. Someone reported this problem some time ago but looks like it was something on their side: https://github.com/GetStream/stream-chat-flutter/issues/1427. Could you try to recreate the simulator you're using to test our SDK? That could be the problem. Also try to clean build and delete you cache completly.

leandroBorgesFerreira commented 1 year ago

Your problem also looks very similar to this issue too: https://github.com/GetStream/stream-chat-flutter/issues/1421. In this case, deleting the simulator did the trick.

github-actions[bot] commented 1 year ago

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! Thanks for your contribution.