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
iOS build issue which image_picker_web in pubspec.yaml #16
Comments
I have not. I had to abandon trying to make them both work. I imagine this will become more of a problem when flutter web comes out of beta |
i create helper to move all image picker web import in one place ImagePickerWeb.dart
then, when I want to build android / ios, I comment pubspec.yaml and the method here |
Stale issue message |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
First, thanks so much for the plugin. This will become more popular as flutter web becomes more common.
Currently I have:
image_picker_web: ^1.0.9 in my pubspec.yaml file.
When building for iOS, I get the following error:
Since iOS isn't supported by this plugin, I took out all references in my code to the image_picker_web package, but I still get the error. The only way to avoid it is to comment out image_picker_web: ^1.0.9 in my pubspec.yaml and run 'flutter pub get'
I was hoping to use the kIsWeb boolean to decide whether or not to use image_picker or image_picker_web package... but it looks like when image_picker_web is in the pubspec.yaml file, the project can't be built for iOS.
Just to be clear, I'm not looking for any functionality for ios... I'm just hoping to be able to build with the package in the pubspec file. (and then, avoid that code with the kIsWeb boolean.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: