7 ms·
I really wish mobile app developers (especially those from iOS) would look at the AccountManager on Android and actually use it. You only ever need to enter cr
by rogerbinns 14y ago
I really wish mobile app developers (especially those from iOS) would look at the AccountManager on Android and actually use it. You only ever need to enter credentials once and the AccountManager will store them. Apps can ask for tokens from the AccountManager so they never get the actual password. And new apps can be installed that add themselves to the AccountManager list (eg Dropbox, LinkedIn, Skype etc do this). This is how it should work.
http://developer.android.com/reference/android/accounts/AccountManager.html http://developer.android.com/reference/android/accounts/Acco...
iOS drives me nuts. There was an old joke dialog years ago "Windows has detected that you r mouse moved. You must reboot for this change to take effect." The contemporary version seems to be "iOS has detected you want to do something. You must enter a password (yet again) for this to happen." I can't understand why people are ok with this - your password should be long and hard to type and hence virtually impossible to enter on a mobile device.
You can always tell the iOS apps that were ported to Android because they have their own UI for asking for your account information instead of using the system. They also almost universally believe you only have one of a kind of account - eg only one Google account. Who doesn't have multiple ones these days (school, work, personal etc)?
- mkjones 14y agoWhat are some cases where you've been asked for a password in an iOS app? I've only ever seen this for initial login with like facebook or instagram, and when updating apps (very annoying, I agree).
- rogerbinns 14y agoHow about each Google app I install? Or any app that has Dropbox integration? Or Trello. Pretty much every app is an island and doesn't know that you have already entered your username and password numerous times in other apps.
- div 14y agoThe AppStore. It's the worst offender.
- Cloven 14y agoThe good thing about the AppStore password timing out after 15 minutes is that you can hand your child the ipad/iphone/etc. and not get a surprise $5,000 itunes bill.
- untog 14y agoThat's an edge case, though. Why not make it a configurable option?
- bmj 14y agoThis is definitely not an edge case. How many kids do you see at the grocery store with their noses in an iPhone will their parent(s) shop? That said, it would be nice to have the option of telling the app to cache your credentials.
- untog 14y agoEdge case was perhaps the wrong term. It certainly is not a majority case. As I said- make it an option, everyone is happy.
- sirclueless 14y agoNot the person who turns on the option to make their life easier and then complains because their kid spent $400.
- untog 14y ago?! Are you suggesting that everyone should be denied the choice because some people are unable to make informed decisions?
- yuliyp 14y agoThis is confusing authentication and authorization. Is this phone legitimately tied to this Apple ID? Yes. Is the owner of the account authorized to make such a purchase? No. A short appstore PIN could solve this much more easily.
- moe 14y agoDoes the browser count? The iPad browser is a trainwreck in this regard. Not only doesn't it support LastPass or 1Password. It also utterly fails to remember passwords that were painfully entered manually. For most sites it simply doesn't recognize the login at all. On some sites it works intermittently, often forgetting the password for no reason or the auto-fill not working reliably. And don't get me started on HTTP-Auth. You can save those sites (by making a bookmark) but you get a phishing warning every single time you access it. I have pretty much abandoned the iPad for browsing for this reason. The only time I fire it up is to lookup a movie on rotten tomatoes. I'm still bitter this device was pitched to me as "the internet in your hands". It's not up to the task. Not even close.
- rje 14y agoBy default auto-fill is off on the ipad, did you try turning it on for names and passwords? (I agree that the default behavior sucks)
- coob 14y agoiOS 6 addresses this (system account management) for FB and Twitter. The vast majority of Google account holders only have one account, you and the average HN user are atypical.
- notatoad 14y ago>The vast majority of Google account holders only have one account as google apps for business and schools becomes more and more popular, this becomes more and more wrong. Tons of non-technical people have a personal gmail account and a school/work one.
- coob 14y agoAnd more do not.
- rogerbinns 14y agoOver time people are far more likely to accumulate more accounts. The longer someone has been on the net the more accounts they are likely to have. Making life difficult for this group of people doesn't seem sensible. I love this article about an ecommerce site and requiring people to register: http://www.uie.com/articles/three_hund_million_button/ http://www.uie.com/articles/three_hund_million_button/ Note one statistic: Later, we did an analysis of the retailer's database, only to discover 45% of all customers had multiple registrations in the system, some as many as 10. That puts the order of magnitude of people having more than one account around half. That of course doesn't mean that people have multiple Google accounts, just multiple accounts but Google is becoming increasingly pervasive being the email provider for companies, universities, organisations etc.
- rogerbinns 14y agoBut they don't address it for Dropbox, Skype or random other services out there.
- te_chris 14y agoWhat kind of half-assed excuse is that for not implementing a good feature that's proven to work?
- stevenwei 14y agoNot sure if you're actually an Android developer but I just ran into this issue while working on an app: AccountManager isn't really meant to be used as a standalone password store, it needs to be hooked into a SyncAdapter & ContentProvider in order to function properly. (http://stackoverflow.com/a/8614699/188197 http://stackoverflow.com/a/8614699/188197) Its purpose is to allow the system-wide SyncManager to manage syncing data to/from a web service in the background. But if your goal is just to store user credentials somewhere, it's not necessarily the right place to do so, which is why I imagine some apps choose not to use it.
- rogerbinns 14y agoI am an Android developer amongst others. Note that the SyncAdapater/ContentProvider etc don't actually gave to do anything. And more to the point the writing of that code is the problem of whoever is providing the service. As an example the Github app that came out the other did things right and installs itself with AccountManager. That means any app can now authenticate against Github without needing its own code. I will admit that it isn't trivial to add your own stuff to AccountManager, but the important part is that it only has to be coded by that provider once (Github in the above example) not by every single app that wants to use it.