You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NOTES.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,3 +15,10 @@ Future work may include:
15
15
- Audio & VIDEO handling
16
16
- Integration with native callkit frameworks
17
17
18
+
### Regarding imports
19
+
20
+
So, this is a tricky one I hope to resolve soon. For now, one should use the web_callkit_web.dart import instead of the web_callkit.dart import.
21
+
22
+
This is because the web_callkit.dart import is a stub for the web_callkit_web.dart import. This is due to multiple instances are created when calling `WebCallKit.instance` in a web OS environment. Even though a `WebCallKitWeb` object is created and registered with the plugin, it seems the Flutter still prefers the MethodChannel file filled with stubs.
23
+
24
+
If you have a solution for this, please let me know. I would love to hear it or submit a PR addressing the issue. Note, the issue crops up in child dependencies of the plugin, e.g. [twilio_voice](https://pub.dev/packages/twilio_voice) but is not found in the example project.
0 commit comments