Supporting iOS modal share action sheet (AirDrop, Print, Add to Home Screen, Add Bookmark, Add to Reading List, etc.)

Yes, I tested it with my Corona-built app a moment ago and it works. More precisely, it launches Instagram from within a Corona Android app – but I’m not logged into Instagram on my Nexus test device so I don’t know if it’s actually crippled like Facebook.

You may need a pro subscription to use this, not sure.

Great news! Been looking forward to this feature for a long time. I can finally ditch my twitter and Facebook native.showPopup() work around.

Hi all,

This plugin should be ready for you to use. Remember, this is for iOS only. Here’s the documentation:

http://docs.coronalabs.com/daily/plugin/CoronaProvider_native_popup_activity/index.html

Take care,

Brent

Brent! Thanks again! I built a Corona app yesterday (using daily build 2015.2553) and the plugin worked perfectly on an iOS device.

@Brent

Just tested the activity plugin. Works fine on iphone but crashes on ipad.

The reason is that on ipad you need to present the activity view in a popover.

This also means you need to send parameters from corona telling where the popover should be presented. You already do this kind of thing in the implementation of media.selectPhoto:

origin = button.contentBounds, permittedArrowDirections = { "right" },

Thanks

also it would be nice to be able to set the subject ( although I think this is only used in emails )

[activityController setValue:@"Some email subject" forKey:@"subject"];

Just curious - what is the deciding factor on new features becoming Pro and Above only?

There are many factors that go into the decision.  Some are technical, like it needs a feature that’s only available to pro subscribers, or perhaps we made a change that’s currently only available in daily builds that the plugin needs, so it’s only available to pro subscribers until the next build (AdMob V2 is a great example of this).  Other times it’s a business decision.

Rob

Heh, I understand. I just feel like the Basic user gets no love even though we give Corona money too :frowning:

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

@playthisstudios

And btw someone in this thread figured out a way to use instagram without plugins:

http://forums.coronalabs.com/topic/54267-here-is-how-to-share-a-picture-image-with-instagram-with-corona-sdk-without-enterprise/

While I’m trying to convince everyone of the merits of this, we have to way this in with everything else we have going on right now and I know getting engineering time on this right now is going to be a hard sale.

What would help is to get people to vote up a feature request for this at http://feedback.coronalabs.com.

Rob

Rob, thanks for your support on this! I expect you have a lot of things in the queue already but perhaps trivial changes – especially when it makes Corona’s sharing-panel support for iOS equivalent to its existing support for Android – could be bumped up a little in the priority queue.

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