Skip to content
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

Import error #32

Closed
guilhermecarvalhocarneiro opened this issue Sep 9, 2020 · 4 comments
Closed

Import error #32

guilhermecarvalhocarneiro opened this issue Sep 9, 2020 · 4 comments

Comments

@guilhermecarvalhocarneiro

I'm trying to use the package, but after configuring and importing the package when I try to run the app the message appears:

/C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sms-2.0.1+2/lib/src/flutter_sms_platform.dart:3:8: Error: Not found: 'dart: html'
import 'dart: html' as html;

@P-B1101
Copy link

P-B1101 commented Sep 19, 2020

same here :|

@P-B1101
Copy link

P-B1101 commented Sep 19, 2020

downgrade to 1.1.0 for now.

@mtgperales
Copy link

Still experiencing it

../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sms-2.0.1+2/lib/src/flutter_sms_platform.dart:3:8: Error: Not found: 'dart:html'
import 'dart:html' as html;
../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sms-2.0.1+2/lib/src/flutter_sms_platform.dart:90:27: Error: Getter not found: 'window'.
final _agent = html.window.navigator.userAgent;

Any solution aside from downgrading?

@rodydavis
Copy link
Member

fixed on version 2.3.1 reopen if it is still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants