If you want to check if your user has Gmail (so you can switch to Gmail to send an email) you can see if they can open "googlegmail:///co?to="
Is there something equivalent for Google's new app, Google Inbox?
I tried "googleinbox:///" but it didn't work.
Is there a place where you can find these links?
Tried: http://handleopenurl.com/, but doesn't even have Gmail (EDIT now this site is dead.)
Thanks
The Info.plist in the Inbox app lists 4 URL Schemes it will respond to:
inbox-gmail
inbox-gmail-x-callback
com.google.sso.296495646338-v31uuqp2kboh7qfi8jh5oga1lk1lb5sj
com.google.sso.294296358152-6s4pqed0qa6sk3m3k2pcmsu2jidh8n5u
The last two are most likely for single sign on callbacks, and the second is probably used for returning to Inbox after Inbox itself does an [UIAppliaction openURL:] to another Google app (e.g. Google Maps). I've tested "inbox-gmail" and it does open the Inbox app.
To open Inbox and compose an email you use the same url as gmail, but without the triple forward slash:
googlegmail:///co?to={email}&subject={subject}&body={body}
inbox-gmail://co?to={email}&subject={subject}&body={body}
Here's how you can access Info.plist for Inbox or any other app on the App store
Download the app in iTunes on your Mac
Go to the "My Apps" tab, right click on the app and choose "Show in Finder"
Right click on the app file and "Open with" -> "Archive Utility"
Open the extracted folder. Open "Payload" folder.
Right click on application and choose "Show Package Contents"
You've now got access to the Info.plist for the app and all the other resources: image, sounds, .strings, etc.
Related
I'm trying to open my Application from a SMS like when I receive an address and when i tap on it, open Plans. I receive also a SMS from server with this : a.doctolib.fr/hnFZ8k5sr who opens directly the application Doctolib. Is somebody knows how to do that?
I saw the answer : Opening app from sms and getting the sms contents in iOS but when i look at my sms, it's ok, that's run... thanks by advance!
Opening app from sms and getting the sms contents in iOS
You should be searching on how to open to your app from SMS using url scheme.
These links can help you:
Open app from SMS with my url scheme as a link
https://web.archive.org/web/20110222053023/http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
You can use Universal link, If the app is installed, app will be opened otherwise will continue to the browser.
Steps to support universal links-
Create your apple-app-site-association file(Suppose your universal link is www.abc.com/getapp and you want to redirect in your app from here).
{
"applinks": {
"apps": [],
"details": [
{
"appID": "9JA89QQLNQ.com.apple.wwdc", //9JA89QQLNQ is your team ID & com.apple.wwdc is your bundle id
"paths": [ "/getapp"]
}
]
}
}
Upload this file to the root directory of there server where www.abc.com is hosted(from where you need to redirect to your installed app).
e.g- Suppose you have to redirect from www.abc.com/getapp then you need to upload the apple-app-site-association file to the root directory where the www.abc.com is get hosted.
Validate at http://branch.io/resources/aasa-validator/. If the file is valid then all checks would be green.
Now prepare your app to support universal links-
a. Go to developer.apple.com and enable Associated Domains to your app ID.
b. Select your target and turn on Associated Domains switch.
c. Add applinks:abc.com.
d. Add application:continueUserActivity:restorationHandler: app delegate method so that your app can receive a link and handle it appropriately.
Not getting callback to the app-
1.When a user is browsing your website in Safari and they tap a universal link to a URL in the same domain as the current webpage, iOS respects the user’s most likely intent and opens the link in Safari.
2.Copy and paste your universal link(http(s)://www.abc.com/getapp) to notes and tap on it. It your app can handle this link you will get the option Open in "AppName".
References-
https://gist.github.com/anhar/6d50c023f442fb2437e1
https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html
Hope it may help.
What I am trying to do is, Send user a link in email, and then when user taps on the link. My iOS app should open.
I am giving:
<a href = "myappNAME://profile">
The issue I have been facing that the email link is not even clickable.
I also completed the ios side as well. followed this link
http://skookum.com/blog/open-an-ios-app-from-an-email
Here is how you can do it open your project plist and add a url type(See screenshot).Fill in the required information identifier should be your bundle identifier and for url scheme just put a string say "hello".Build the app,than go to safari and type hello:// this should open the App.And for the link in email should have this scheme and it will open the App.
The reason was email filters, they disable the links like "myapp://" .
So what I have to do is, add a link to another page and from their I added a redirect, and then It worked.
Received the message below from Mozilla AddOn editors with regards to our new version of our add on:
"Your add-on, iGive Button 5.0.0.9, has been reviewed and is now signed and ready for you to download at https://addons.mozilla.org/en-US/developers/addon/igive-button-1/versions."
When I go to that link, I'm supposed to be able to download the reviewed and now signed add on. To try to do that, I clicked on the link which lets me manage the add on. At the top of the Manade Add On screen there is a link to the file (igive_button-5.0.0.9-fx.xpi): https://addons.mozilla.org/firefox/downloads/file/352648/igive_button-5.0.0.9-fx.xpi?src=devhub
However, when I click that link I get a "404 Not Found" error.
How do I get the signed add-on so we can distribute it from our web site?
Try for the sources in
about:config
and search for browser.dictionaries.download.url
verify the sources of the apps is correct
Did Mozilla send you a link to your preliminarily approved addon? When you click that link it takes you to developer hub. Under current versions there should be a link to your reviewed addon. Click that link to go to the management page for your addon. Near the top of this page you should see an element called "files" with your extension file shown as a link. You should be able to click that link to download your file.
In my app i am opening documents via UIDocumentInteractionController. if no apps is installed in device we want to navigate to app store.In that place i want to navigate to document viewer related apps page.
if anyone can suggest me.
You can open the App Store to an app page by getting the app page url. On iOS, you can go to the app page, click share and copy the url.
Then, you can open it like this (Swift) :
let theURL = NSURL(urlWithString: "app url here")
UIApplication.sharedApplication().openURL(theURL)
If that answers your question.
All you have to do is use iTunes search query and it will navigate to a an 'app like' visual:
http://itunes.com/Dropbox
Where 'DropBox' is your search term. This is what it looks like on device :
Or you can do it to a specific category:
http://itunes.apple.com/genre/mobile-software-applications/id6002?mt=8
I have an MP3 in Dropbox that I am able to force browsers to download rather than handle natively, with the exception of Safari on iOS. In this case, a straight link on my website to the file opens the Dropbox mobile site with the file showing this:
http://imgur.com/mePjw0m
The Download button in the center just opens the MP3 via QuickTime within Safari, while the button on the top right of the page opens another screen that offers "Direct Download" and "Add to my Dropbox". "Direct Download" plays the MP3 within Safari, while "Add to my Dropbox" opens a sign-in page. This is not only inconvenient (why bother havign native apps if Safari won't offer links to them?) but also frustrating for the end user. Not everyone uses Dropbox, and of those who do, most probably aren't inclined to log in via Safari when they already have the app.
What I'm looking for is some way to force mobile Safari to show the "Open In..." menu (best solution) or at the very least, for Dropbox users, to show the "Open in Dropbox" button that appears when Safari can't handle the file natively. The Dropbox app as well as other cloud storage apps are registered in iOS to handle MP3s. When users open PDFs in Safari they are given the choice to open in other apps as well, so there should be no reason that Safari can't do the same with MP3s.
Safari on iOS will not show an "Open in" option for mp3 files, so what you are asking may not be possible.
If you want to load the file directly (bypassing the Dropbox webpage), in the Dropbox link change www to dl. On top of that, normally if you add ?dl=1 to the end of the url it will force it to download. However, you will see that in iOS Safari it behaves the same way as if you just changed the "www" and does not allow you to send it to another app.