Email html detects if on iPhone - html

I have an ios app with a password reset feature. When a user hits password reset, I'm sending out a password reset email from my server and within the email is a link to a web page to reset the password.
This feels kind of clunky. I would like to know if it's possible have the email html detect if I am on an iphone and if so, have the link be a url scheme to open the app. then, from within the app, the user resets the pwd.
If anyone has any thoughts, please let me know.

Universal Links
Use Universal Links. Apple delivered Universal Links to handle opening of the app when installed, and falling back to your chosen path mobile web, App Store.

Related

Open Registration link sent by another web app in the Browser

I have a web app running in Browser through which I can send Registration links. The registration link is received in Gmail. When a user, accessing the link from a mobile device, the link opens in Gmail in-app browser.
I want the link to be opened in user's default browser.
How can I achieve this?
Note: Do not suggest changing Gmail settings. Suggest code related changes only

maito command in anchor tag is not working anymore

href="mailto:johndoe#xyz.com"
The above code snippet on an anchor tag should open a default mail client on any system but now it's going to an external URL "https://sso.secureserver.net/?realm=pass&app=ox&saas=0&region=am2"
You can try with any of the old web pages you've built, It goes to this URL all of a sudden.
Does anyone know why?
Its really weired
It must be a redirection set from your browser/OS. Check what is your default email client in browser.
So as most of you guys said it was configured in my mail setting's / prefrences. So google chrome was set as default mail client and it went to the godaddy URL.
I followed https://support.apple.com/en-in/HT201607 to get it fixed and everthing is working smooth now! Thanks Everyone!
How to change your default email app
Make sure that the other email app is installed. Although you might be able to use a web browser for email (webmail), a web browser isn't an email app.
Open the Mail app.
Choose Mail > Preferences, then click General.
Choose an email app from the ”Default email reader” menu.

HTML loader in AIR no longer correctly loads facebook authorization screen

I have a standalone Adobe AIR application which uses the HTMLloader to embed a webpage and thereby access the Facebook login.
When a user first uses the application thery are first presented with a FB login screen, and then a FB authorization screen, asking if the user wants to share the uploaded image with their friends.
Up until recently everything worked fine.
But it seems that facebook has changed the way the authorization popup displays so my htmlloader no longer can 'see it'. I get a blank page.
The application sees
But should see
Does anyone know of a workaround?
Answering my own question
Supplying an optional userAgent string when I first call login returns an older version of the permissions dialog which renders correctly

Facebook Connect w/ Mobile Web App - How to get most fluid flow?

I'm developing a mobile wep app, and would like to allow my users to login using Facebook connect.
I initially implemented the standard Oauth2 authentication, but I found a couple issues:
When I install the app as a home screen shortcut and the user needs to authenticate the user is redirected to facebook's site for authentication in normal safari. When the user is redirected back, the user is still in safari (with the top and bottom nav bars). This is obviously sub-optimal as I'd like to have the full-screen appearance
I can't get logout to work properly, there appears to be a m_user cookie left on facebook.com that is the username of the user that was previously logged in.
I thought, perhaps, that I could switch to the javascript SDK for facebook connect and render a pop-over instead of the redirect dance, but it looks like this is a pop-up only experience. When I try it on the simulator it appears the home screen shortcut is broken out of to safari, and then after login the user isn't even logged in (and the screen remains blank).
Any ideas on the smoothest way of using Facebook connect on a mobile web (HTML5) app, especially if the homescreen shortcut is to be retained?
thanks!
-simon
Have you tried the latest Javascript SDK to accomplish this? https://developers.facebook.com/docs/reference/javascript/

HTML: cannot open client e-mail app

for some reason, the following code doesn't work. I don't understand where the issue is. I just want to open a client e-mail app to send an e-mail.
Send an email to a friend
Safari visits the page "mailto:enter-friend#address-here.com?subject=Pa0Website&body=This%20e-mail%20has%20been%20sent%20to%20inform%20you%20about%20%20website:%20"
Chrome doesn't do anything
I haven't tested on other browsers so far.
Thanks
You don't get to decide how the client deals with a mailto link. Each user/browser can do what it wants with those links. For instance, I have my chrome setup to open GMail when I click mailto links. Apparently you have yours setup to not do anything. Here's a random link running down how to do something like this on your system - http://bnee.com/2008/09/make-mailto-links-open-in-gmail-in-google-chrome-browser-windows-xp-and-vista/