Comments (5)
Hi,
I think this is a similar issue, put the plugin esys_flutter_share: ^0.0.6 on pubspec.yaml, when I run pod install this error pops up.
[!] Unable to determine Swift version for the following pods:
esys_flutter_share
does not specify a Swift version and none of the targets (Runner
) integrating it have the SWIFT_VERSION
attribute set. Please contact the author or set the SWIFT_VERSION
attribute in at least one of the targets that integrate this pod.
from esys-flutter-share.
some here
from esys-flutter-share.
I get this one with v0.0.7:
Launching lib/main.dart on iPhone XS Max in debug mode...
Starting Xcode build...
Xcode build done. 1,8s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET url_launcher OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/raulmateobeneyto/flutter/.pub-cache/hosted/pub.dartlang.org/esys_flutter_share-0.0.7/ios/Classes/Esys
FlutterSharePlugin.m:2:9: fatal error: 'esys_flutter_share/esys_flutter_share-Swift.h' file not found
#import <esys_flutter_share/esys_flutter_share-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone XS Max.
I need to solve this bug, if anyone could help! Much appreciated
from esys-flutter-share.
Hi, I developed custom plugin with some bases, for the moment only can share Images, but works with IOS and Android
https://github.com/xperiafan13-rom/ShareImage-Flutter
Example
Future writeToFile(ByteData data, String path) async {
final Uint8List list = data.buffer.asUint8List();
final file = await new File(path).create();
await file.writeAsBytes(list);
}
share() async {
getImage().then((onValue) async {
ByteData data = onValue.buffer.asByteData();
final tempDir = await getTemporaryDirectory();
String path = '${tempDir.path}/qr.jpg';
writeToFile(data, path).then((value) {
Share.image(
path: 'qr.jpg',//path,
mimeType: ShareType.TYPE_IMAGE,
title: 'IDLegal',
text: 'IDLegal').share();
});
});
}
from esys-flutter-share.
I guess it's the same issue as described here. The iOS part of the plugin is developed in swift. So if you create a new flutter project, the iOS part of your flutter app must be in swift aswell. Probably you have chosen the standard objective-c implementation. The plugin is incompatible to an objective-c app.
from esys-flutter-share.
Related Issues (20)
- Wrong mimeType when sharing single File HOT 1
- Return result after the share action is completed.
- Share image with text and subject not working HOT 1
- App crashes on IOS if the root view controller is not FlutterViewController
- My path on rootBundle, just it works after Hot Reload be triggered( Android Studio) HOT 1
- Share image byte showing error in logs HOT 1
- How do I add "Save image to device"?
- How to directly open whatsapp? and particular selected number Is that possible? HOT 3
- Text is not shown when sharing image on facebook or instagram HOT 4
- esys_flutter_share text to whatsapp failed HOT 3
- Deprecated API HOT 1
- Send Single time Text with Images on WhatsApp. HOT 2
- No apps can perorm this action HOT 1
- Error while sharing in iPad HOT 4
- Null Safety Support HOT 13
- Dependency path_provider HOT 8
- Using deprecated api HOT 2
- Please upgrade the version for path_provider to the latest version HOT 3
- The plugins `esys_flutter_share` use a deprecated version of the Android embedding. HOT 2
- java.lang.SecurityException: Permission Denial: reading de.esys.esysfluttershare.EsysFlutterShareFileProvider uri content HOT 1
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 esys-flutter-share.