Comments (2)
Hi @chyiiiiiiiiiiii, thanks for choosing Amplitude.
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.
![image](https://private-user-images.githubusercontent.com/31029607/279738271-4728407e-76cb-409c-b85d-51ad9a9a7712.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDM2NDcwNzksIm5iZiI6MTcwMzY0Njc3OSwicGF0aCI6Ii8zMTAyOTYwNy8yNzk3MzgyNzEtNDcyODQwN2UtNzZjYi00MDljLWI4NWQtNTFhZDlhOWE3NzEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjI3VDAzMTI1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE3Nzk2OTYzOWY1NTRiMDIxNGY2NDcyOTdkYjY0OWM5YmQyMGU0OTIwODcxYWIyYTJlMGJjMDQ1ODc1NGRkOWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mKjDLhmN4nyuyqY8tIW8oWkU2h8uf51eNuzc1EBsaqg)
from amplitude-flutter.
Related Issues (20)
- Problems with JS dep in native android app HOT 4
- Not compatible with latest android gradle plugin HOT 1
- Get Amplitude ID HOT 1
- Override the min_id_lenght value on Flutter HOT 4
- Invalid API key, make sure your API key is correct in initialize() HOT 3
- setDeviceId HOT 1
- What is the proper way to track screens? HOT 2
- okHttp Error HOT 1
- Provide a NavigatorObserver to track navigations
- Can't find trackingOptions in flutter HOT 1
- How to mock Amplitude when performing unit test?
- Test Issue ticket creation in AMP
- IP and location are transmitted even though CoppaControl is activated HOT 5
- Nested event_properties maps only serialize the top level on web HOT 1
- amplitude_flutter plugin not install my .yaml file HOT 1
- Can you make your account a verified publisher?
- Amplitude is logging wrong User properties for flutter SDK HOT 8
- Unusually Long Sessions HOT 1
- DefaultTrackingOptions configuration is missing on Flutter SDK HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplitude-flutter.