Open cstinfotech opened 8 years ago
Really strange - are you able to change SocialSharing.m
in you project?
If so, does it help to remove those 2 __nullable
words from line 124?
Thanks for you prompt reply. I removed __nullable words and it worked fine. But facing another following issues while testing the plugin on iPhone
Thanks for testing that, I've removed them in the master branch as well.
You're referring to the Gmail iOS app?
we are accessing gmail from default iOS Mail/box.
On Thu, May 12, 2016 at 12:09 PM, Eddy Verbruggen notifications@github.com wrote:
Thanks for testing that, I've removed them in the master branch as well.
You're referring to the Gmail iOS app?
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/598#issuecomment-218672738
Thanks and Regards,
Ajit Baghel,
Solution Architect CST infotech Pvt. Ltd C-56/22 First Floor, Sector-62 Noida, 201301, India Cell; + 91 9871371366 www.cstinfotech.co.in http://www.3cinfosystem.com
Error
/Users/macbook/.taco_home/remote-builds/taco-remote/builds/3244/cordovaApp/platforms/ios/Feed Someone/Plugins/cordova-plugin-x-socialsharing/SocialSharing.m:124:112: error: expected ')' 1> [activityVC setCompletionWithItemsHandler:^(NSString activityType, BOOL completed, NSArray * nullable returnedItems, NSError * nullable activityError) { 1> ^ 1> /Users/macbook/.taco_home/remote-builds/taco-remote/builds/3244/cordovaApp/platforms/ios/Feed Someone/Plugins/cordova-plugin-x-socialsharing/SocialSharing.m:124:50: note: to match this '(' 1> [activityVC setCompletionWithItemsHandler:^(NSString activityType, BOOL completed, NSArray * nullable returnedItems, NSError * nullable activityError) { 1> ^ 1> /Users/macbook/.taco_home/remote-builds/taco-remote/builds/3244/cordovaApp/platforms/ios/Feed Someone/Plugins/cordova-plugin-x-socialsharing/SocialSharing.m:124:49: error: incompatible block pointer types sending 'void (^)(NSString __strong, BOOL, NSArray strong)' to parameter of type 'UIActivityViewControllerCompletionWithItemsHandler' (aka 'void (^)(NSString *strong, BOOL, NSArray __strong, NSError strong)') 1> [activityVC setCompletionWithItemsHandler:^(NSString activityType, BOOL completed, NSArray \ nullable returnedItems, NSError * __nullable activityError) { 1> ^
~~~~~~~~~~~~~~~~~~~~~~~~~~