Somebody knows how to send a message through Viber inside my app?
I've been trying send:
viber://[local] (ex. viber://63648018)
viber://[domestic] (ex. viber://08963648018)
viber://[international] (ex. viber://+498963648018)
with no success.
Any idea?
Unfortunately there's no such option available in Viber since version 5.6, according Viber's support.
You can share a message, using Viber, but you can not send it to a specific user: you'll be prompted to select one in you user's list.
The URL scheme is:
viber://forward?text=foo
Related
I am trying to open a group page in Workplace by Facebook app, unfortunately I did not find any custom URL scheme to do it like for the Facebook app.
Does anyone have more information about the custom url schema that can be sent to the Workplace by Facebook app for iPhone?
I recently had the same issue and found out that the main url scheme for Workplace is fbatwork.
To open the app straight to a group, the only working format on iOS seems to be
fbatwork://group?id=your-group-id
There are also a few more available, but I don't know exactly what's their purpose: fbatworksso, fbatworksignup, fbatworkssoreauth, fb-work-emailless
I am building an application for use by my company that has a number of features. One thing I am interested in adding if at all possible is linking a specific format of internal ID to my application if it exists in an email, much the same way that UPS/USPS/FEDEX tracking numbers are converted into links in the email app.
Is it possible to build an app extension that would create a link from an ID that is in an email, and launch my application when it is clicked?
For example, if the following ID (1453833784.127410) is in the body or the subject of an email message, the end user could click it and have it launch the app.
My experience in app extensions is limited so any assistance would be appreciated.
Thank you
No, this is not possible. There is no API that can hook into the Mail app (or any other app) such that text in a certain format gets translated into a URL for a 3rd party app.
If you have any control of the email generation, the creation of the original email should be updated to include the link.
You can use custom url schemes for example:
When user click the link yourapp://1453833784.127410 in the email if the app install it will open the app to handle the url via application:openURL:options: in app delegate
You can define custom url schemes in your app's Info.plist
URL types <Array>
Item 0 <Dictionary>
URL identifier <String> com.example.yourapp
URL Schemes <String> yourapp
This custom url schemes solution should work on Android app too.
I've noticed that on iPhone users who are using the Outlook app and do not have the native mail app configured, that when they click on mailto links it prompts them to create a new email account in iOS, instead of opening the Outlook app.
Is there anyway to have Outlook set as the default for mailto links on the iPhone?
iOS doesn't currently support changing the default apps used for composing email and the like.
Instead of 'mailto:' protocol you can use below protocol to open outlook app
ms-outlook://compose?to=joe#example.com&subject=Hello
Duplicate, Already solved here: https://stackoverflow.com/a/33812714/1360730
To test try typing
ms-outlook://compose?to=a#a.com&subject=aaaa in the address bar on safari and see whether the outlook app opens up.
So your href would look something like,
<a href="ms-outlook://compose?to=a#a.com&subject=aaaa"/>
From the upcoming iOS 14 on, this will be an option that users can set.
Set default email and browser apps.
With iOS 14, you can set a third‑party app as the default email or browser app systemwide.
Source: https://www.apple.com/ios/ios-14-preview/
Hi I have a requirement in my app. From my ios Application(myapp),i share a link to facebook. Then I opened up my facebook account in browser or Facebook application and clicked the link, link should open in myapp if myapp is installed in the device otherwise link should open in browser. How can I achieve this ? Please suggest me step by step. Thanks in advance for your consideration and help.
I am not sure if this is possible. I have looked at various questions including
Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?
as I am sure you might have already done but these questions target their own app, mainly web app, but you want that behavior to occur from an app that is not yours like twitter or facebook. But what you can do is show them two links on facebook/twitter, if they have installed press link 1 and if they want to install, press link 2 and you can pass parameters in link 1 as you might already know.
I will also keep checking answer of this question if some one comes and gives a better solution.
There is an option called custom URL scheme in iOS. It will help you to create a URL scheme which identifies your application. You can post link with this URL scheme and when you tap on this link on your iOS device it will open up your mobile app. Please see the link below to know how to setup this.
Custom URL Scheme in iOS
This is called 'deep URL linking'. Facebook have built a service called 'App Links', which seems pretty cool.
https://developers.facebook.com/docs/ios/app-links
I'm trying to show apps from UIDocumentInteractionControllerDelegate , default apple apps like; sms, email or UIPasteBoard (Facebook and Twitter is optional) . Just like the similar of Dropbox app :
How can I handle this kind of situation? I've done already open apps from their UTI's, open just email or just sms but I don't how to show all of them in one sheet.
Thanx
I believe you're looking at an UIActivityController instead of a UIDocumentInteractionController, which I believe Apple is trying to phase out.
Check out the docs here https://developer.apple.com/library/ios/documentation/uikit/reference/UIActivityViewController_Class/Reference/Reference.html
You should try QLPreviewController. This will give you desired result.
https://developer.apple.com/library/ios/Documentation/NetworkingInternet/Reference/QLPreviewController_Class/Reference/Reference.html