How do I share a link to Whatsapp on Xamarin.iOS? - ios

I'm working on a cross-platform PLC project on Xamarin.Forms. Specifically on iOS and Android.
In one of the views I have 3 sharing buttons, one for Whatsapp, one for Snapchat and one for general sharing. The idea is that when the user taps on one of these he sends an invitation (a deep link) to his friends trough social media.
I've implemented some android-specific code to share a link trough Whatsapp or Snapchat when tapping those buttons, and to show the normal sharing screen to pick an app on the other share button. For this I just used Intent.SetPackage method to share on the specific apps.
On iOS however, even tho there's a code to open the general sharing screen, I couldn't find any code to send the link to Whatsapp or Snapchat specifically.
My question would be, is there a way to achieve this on iOS?

This could maybe be a solution for WhatsApp, https://faq.whatsapp.com/en/general/26000030
Snapchat: Snapchat url scheme not working properly - camera opens but not profile

On the end we didn't find what we where looking for, but we noticed apps usually just have a common share button on iOS, so we left only the normal sharing code in iOS.

Related

It is showed up two same apps button in UIDocumentInteractionController popup

I appologize for my low level English.
I developed Share Extension in my app to support the extention added at iOS8.
But, my app has been already showing up in UIDocumentInteractionController popup.
So, my app has been showing up two items for same app after supporting share extension:"xyz, copy to xyz".
'xyz' is my app name.
I want to make to show up only one item at UIDocumentInteractionController popup menu.
Is there any way to do it?
I have suffer this familiar situation when i research share extention.When i open safari to share web url to my APP, the safari's share menu has two same APP button.Then i click Product-->Clean solve this problem.This seems caches should be blame for it. I also apologize for my poor English.

Is it possible to jump directly to one of the share extensions in UIActivityViewController?

Instead of using e.g. ShareKit or custom URL-scheme(to share to e.g. WhatsApp or Instagram), can you tap a button inside the app and skip the share extension dialog and go directly to one of the sharers there?
What I want to achieve is to have a button for each share type in our app, and tapping that button brings the user directly to the share screen for that type.
EDIT: We already have the share extension sharing working today, but we want to have a separate button for each sharer, like many apps have today. See attached example from musical.ly.
Yes it is possible but depends on what exactly you want? Did you want to send some file to printer? Or Email something? share via AirDrop?

iOS extension- sharing bubble vs sharing button?

I have read the apple docs about app extensions- sharing
https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/ShareSheet.html
What they say is that when an host app has a sharing button , you can choose your app extension to share content .
But it seems that there is another sharing option that is not in the docs, and i cant figure out whats the different and how you enable this extension.
When you mark any text in ibooks ,or Safari , there is a little bubble opened with copy, past, select all, and share.
there if you hit the share button, you prompt with apps extensions, and you can share that highlighted text with the extension .
So, questions are :
the highlighted text sharing- is it enabled in every app that lets you to highlight any text ?
How you enable this extension, and is it the same as the regular sharing extension? (where you have a button with a rect and an arrow). Developing an app with sharing extension would be relevant to both cases ?
thanks.
Well , it seems that the sharing extension is working with the "bubble" sharing button , but with the regular sharing button(a rect and an arrow) you get as an input -a link to the page, much as Pocket do .
So software speaking its the same, functionality is different.

Twitter share button for iOS app

I'm creating a separate Twitter share button for my iOS app. The image for the twitter share button, am I allowed to make my own version of Twitter's logo for my app as long as users know the button is for twitter? Or am I only supposed to use the exact white bird and blue background image for my share button to indicate twitter? I can't seem to find anywhere on twitter for developers to download the twitter icon button to use for my iOS share button?
The rules for using twitter's logo can be found here as well as links to download the logo for your use.
https://about.twitter.com/press/brand-assets
Don’t:
Use any other artwork from our site, such as the verified badge.
Create your own buttons or images using our logos unless technically necessary, such as in signature bars. If you do, use this resized
version of the Twitter bird
Use old versions or any other marks or logos to represent our brand

Add app to Safari share button

App should be automatically added to Safari share and on tapping Safari share button app shows on it like Facebook or Twitter. How can I implement this functionality?
For further reference I have added a image below.
You can use the share extension feature provided in IOS8.apple documentation

Resources