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
The error message you're encountering suggests that the Dart library 'dart:js' is being used in your Flutter project, but it's not available on the iOS platform. This is because 'dart:js' is a library intended for web development and is not supported in Flutter applications that target iOS or Android. To resolve this issue, you'll need to identify where 'dart:js' is being used in your project.
I confirm that Amplitude Flutter SDK is not using 'dart:js" and I can run the example project on my local.
I would suggest to check if it's using elsewhere in your project. Hope this helps.
FYI, I had the same issue until I realized that VSCode automatically imported the JS version of the library when I added the init function. Just in case others see the same issue.
Expected Behavior
Should run the app successfully.
Current Behavior
It appears the error about dart:js is not available.
Possible Solution
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: