-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught MissingPluginException after deploying web version #92
Comments
Check your code in <head>
// ~~~
<script src="flutter.js" defer></script>
<script src="./assets/packages/mixpanel_flutter/assets/mixpanel.js"></script>
</head> It should be written END LINE OF HEAD. |
I am having the same issue. My script tag is in the correct place in index.html the package is working fine locally (in debug) But when I deploy using firebase hosting it is throwing this error: |
I am having this same problem in Flutter 3.10.2 with version 2.1.1. In local environment it works correctly, but when deploying on Google App Engine the same error occurs: Uncaught pubspec.yaml: index.html (at the end):
|
For me the error was:
|
#91 suggests that the error occurs due to ad blockers, but I have the same issue even if all ad blockers are disabled and all calls to the mixpanel CDN returns |
Any updates on this issue as I am currently facing the similar issue after deployed to Firebase Hosting. |
Still having the issue in production, also on firebase hosting. I did add <script src="./assets/packages/mixpanel_flutter/assets/mixpanel.js"></script> |
Still facing this issue. Is there any plan to fix it as it has been in "Open" state for long. @tejHackerDEV What did you use to get rid of this issue? Did you use some other package? |
What worked for me!!
and then build |
Hi there, I have the same issues. Please do something about it. |
Hi guys, I was using mixpanel in flutter web. When I am testing it in local, it is working fine but when I deployed it on firebase hosting, it started throwing error on Mixpanel.init() with the error "Uncaught MissingPluginException(No implementation found for method initialize on channel mixpanel_flutter)" & causing the app not be load. So please check this as it is blocking our release.
The text was updated successfully, but these errors were encountered: