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.
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:
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.
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.
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?
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.
<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.
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?
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.
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.
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.
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.