Heh, I understand. I just feel like the Basic user gets no love even though we give Corona money too
To be fair Rick, the benefit Basic subscribers get over Starter subscribers is access to in-app purchases, which used to be a pro-only feature. When we have new IAP plugins, Basic gets them, like Amazon’s IAP.
Rob
Does this plugin work with sharing photos to instagram? (I tried and can’t get Instagram to show in the list, even though other apps like linkedin and asana do show up in the share list). Also, I haven’t tried it yet, but someone pointed out this doesn’t work on iPad? Is there a workaround?
Thanks in advance
David
It’s up to the app wanting to show up there to register themselves as compatible. Then depending on your combination of links, texts and images, it may disqualify options from showing up. I don’t know the specifics for Instagram or if they even try to register themselves.
Rob
<playthisstudios>: Do other apps installed on the same iOS device list Instagram as a valid sharing option? For images, text, URLs, all three? Or just a subset?
Presumably Corona is handing off the data to the OS, and the OS is showing all the apps that are properly registered. On the other hand, it could be an issue with this plugin; Corona’s Android Facebook sharing has been broken for years (Rob pointed this out recently to Engineering), so it would be useful to document if there are problems with the iOS sharing action sheet. You haven’t given Corona enough information to begin to diagnose the problem.
@playthisstudios. No it doesn’t work because Instagram needs to be implementeted with the UIDocumentInteractionController not the UIActivityController that the activity plugin implements, but it is possible to ad Instagram to the UIActivityController as a custom activity, but I guess CL decided not to do that. You can use this enterprise plugin https://github.com/jcbnlsn/CoronaSharePluginit has Instagram and it work’s on ipad.
Thanks ojnab!
Rob, any chance your guys will add instagram support as ojnab described through a custom activity? And have been able to test the CL plugin on iPad to confirm that issue?
David
I’ve not seen the code, so I don’t know what’s possible with instagram. But we will eventually have to address the iPad issue. I’ll check and see where we are with it.
Rob
And btw someone in this thread figured out a way to use instagram without plugins:
Folks: <swati.bajaj> reports in another thread that iOS sharing does not work with WeChat. WeChat has half a billion users*, with about 100 million outside of China. Here’s the discussion: http://forums.coronalabs.com/topic/53668-social-network-plugin/#entry286692
As far as I can tell from multiple forum threads, iOS sharing does not work with Instagram or WeChat or on iPads at all, and Android sharing does not work with Facebook. A timeframe to fix all of these would be useful.
* Source on the 500M userbase: Reuters: http://www.reuters.com/article/2015/02/17/china-autos-apps-idUSL4N0VR0KE20150217
Any eta on the iPad fix? We can’t use this until it works across platforms correctly.
Regarding Instagram, WeChat and others:
The activity functionality built into iOS — and the functionality of our Activity plugin — is partially based on what the recipient app provides (i.e. Instagram). If you open up Apple’s “Activity” panel, i.e. by opening the “Share” dialog from within Apple’s own “Photos” app and you click “More…”, you’ll notice that certain apps appear in the menu, while others do not. Instagram does not.
Instagram and other apps can choose to implement the iOS 8 sharing extension if they want. There is a way for an app to force these, but it requires native code that can’t be easily implemented in a generic way through our plugin.
In summary, if you need to add other services according to your desires, you can accomplish it via Corona Enterprise. Here is an article which discusses the process:
http://www.codingexplorer.com/add-sharing-to-your-app-via-uiactivityviewcontroller/
The UIAcitivtyViewController plugin has been updated to support iPads. The documentation may be a few more hours before it updates, but you can use the media.selectPhoto() docs for the basics. Here is some code that I’ve been using:
native.showPopup( popupName, { items = itemsByDataType, -- excludedActivities = { "UIActivityTypeCopyToPasteboard", }, listener = listener, origin = button.contentBounds, permittedArrowDirections={ "up", "down" } })
where button is the object that I want the sharing panel to originate from.
Rob
Great stuff Rob! I’ll try that right away - that was just a plugin update, right? No need to get a new daily build?
Thx
David
Thanks, Rob! It’s good to know iPad support has been added.
how exactly (step by step) do I use this plug in. It just crashes anytime I download the zip file and run it on the simulator
You can’t run it in the Corona Simulator this is an enterprise plugin.
You need to open the SharePlugin/ios/App.xcodeproj file in Xcode and build the example from there.
Thank you guys for adding this plugin! One question though, how do I put a subject in the email section? When I add strings its only adding it to the body.
You can’t.
Hi all,
on my iPad with iOS the plugin still crashes. Console says:
<Error>: *** Terminating app due to uncaught exception ‘NSGenericException’, reason: ‘-[UIPopoverController dealloc] reached while popover is still visible.’
Any ideas?
Thanks
Peter