News for hackers. Stuff that matters.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by pilif on Wednesday November 02, 2011 @12:41PM (#3187618)
Aside of the fact that the app displayed an error message at first launch ("Notification error" - "no valid 'aps-environment' entitlement string found for application" - how did this pass review?), it a) doesn't support multiple accounts, b) is very laggy to use when you compare this to, say, the android version and c) feels like another one of these "let's embed the website above a little native toolbar"-apps

Because Safari gets to JIT-compile JavaScript and UIWebView embedded into apps can't, this actually feels slower than the website (~0.5 seconds between clicking on a message and seeing it load? really?)

I really think I'll move back to using their Exchange-Sync for push together with the standard web shortcut for mail management as this is faster and supports multiple accounts.

(edit) On a related note: Doing these "let's add a native toolbar to my website and publish this in the AppStore"-apps feels nearly as stupid as when everybody felt the need to add flash intros to their website. There's next to no additional value (especially with the currently broken push) provided by such a half-assed pseudo-native app.

This does nothing but hurt both native development (by leaving a bad impression on what's possible with native apps) and the open web (by making people believe that a website is not good enough)

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by ctide on Wednesday November 02, 2011 @01:34PM (#3187945)
Have you used the Google Voice app for the iPhone? It's literally the worst app I've ever seen in my life. Crashed constantly, won't refresh from the server, will close your text box randomly while typing a message (clearing your message), will fail to make calls frequently, and since I upgraded to iOS5 now has signed me out and crashes immediately when trying to sign back in so it's been rendered completely unusable.

I can only assume that there's some desire within Google to make sure the iPhone versions of their products are complete dogshit to try and encourage Android adoption.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by jad on Wednesday November 02, 2011 @02:43PM (#3188300)
> I can only assume that there's some desire within Google to make sure the iPhone versions of their products are complete dogshit to try and encourage Android adoption.

Do people think companies really behave this way? "Hey guys, how can we make our products crappier? Surely if people think our iPhone apps stink, they'll be motivated to go out and buy a whole phone from us!"

There are a whole host of mundane reasons why products turn out worse than they could be, and they almost never include conspiracy or malice.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by ry0ohki on Wednesday November 02, 2011 @05:01PM (#3188915)
I bet it's the same reason Apple products suck on Windows... the devs themselves just don't use the platform.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by jad on Wednesday November 02, 2011 @07:13PM (#3189363)
Actually, from what I understand, Apple products are used quite extensively by Google employees. I have friends who work there, and there are lots of developers there who use Macs for day-to-day work. My understanding is that the Google Voice iOS app began life as a Google employee's side project, scratching his own itch. I've heard that even relatively senior managers use iPhones as their cell phone. This speaks favorably of Google's corporate culture, in my opinion.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by omaranto on Wednesday November 02, 2011 @06:15PM (#3189193)
Well, I'm not convinced it's fair to say that Apple software is worse on Windows. I don't know anyone who's tried Safari on Windows (so maybe it is worse than on a Mac, but I wouldn't know) and while iTunes is certainly absolutely terrible on Windows, from what my Mac owning friends tell me it is just as bad on Macs.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by shinratdr on Wednesday November 02, 2011 @09:35PM (#3189791)
> from what my Mac owning friends tell me it is just as bad on Macs.

Who told you that? I just launched iTunes on my Lion machine, it started up in 5 seconds and started syncing with my phone wirelessly while I scrolled through 18,000 tracks without stuttering & a track played.

iTunes for OS X is arguably a little bloated and lacking direction, but it's still hands down the best library based music player/jukebox for OS X. Nothing else even comes close.

To be fair, you come right out and say you have little experience on the topic either way, so why cast an opinion? As someone who uses Apple's software on Macs and PCs extensively, there is not even a debate to be had about where Apple puts its effort.

You can even test it yourself. Take any Mac, put Windows 7 on it. Launch a clean copy of iTunes in OS X, then reboot and do the same in Windows 7. The OS X version will start up instantly, the Windows one will stall for at least 10-15 seconds. This is just one obvious example, there are plenty more out there.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by omaranto on Thursday November 03, 2011 @09:01AM (#3191496)
You're right that I shouldn't have offered a second-hand (my friends') opinion about iTunes and specially not without spelling it out. What happened was that I complained about iTunes on Windows (which I use to put stuff on my iPod Touch), specifically that (1) it sometimes incorrectly marked podcasts as played or as not played, (2) it sometimes hung trying to connect to the iTunes store (for Windows users: if this happens run ipconfig /flushdns in a cmd window and restart iTunes), (3) somethings where hard to find in the UI (I can't remeber my concrete example now, but I did mention it when I complained with my friends), (4) rearranging app icons on the iPod's homescreen is quite buggy: you often windup with empty spots or duplicated icons in iTunes, which then crashes if you try to sync. (I did not complain about startup time, since it doesn't really bother me; and I should also say recent versions of iTunes on Windows don't have some of these problems) My friends said that all of my complaints save for (2) also happened on Macs.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by sjwright on Wednesday November 02, 2011 @09:03PM (#3189667)
> Do people think companies really behave this way?

An interesting anecdote from the Steve Jobs biography:

Finding Nemo had just been released to critical acclaim and Pixar were in renegotiation talks about their deal with Disney.

(Disney's) Michael Eisner had one powerful trump card. Even if Pixar didn't renew, Disney had the right to make sequels of Toy Story and the other movies Pixar had made, and it owned all the characters from Woody to Nemo. Eisner was already planning -- or threatening -- to have Disney's own animation studio do a Toy Story 3, which Pixar had declined to do.

The threat had teeth not because Pixar would lose control of some of their characters, but because Disney's animation studio had been releasing flop after flop. After ten years of The Lion King, Beauty and the Beast, and Aladdin, there were ten years of rubbish. As a company, Disney had been creatively brain-dead for a decade.

(Pixar's) John Lasseter was aghast at the prospect of breaking up with Disney. "I was worried about my children, what they would do with the characters we'd created," he recalled. "It's like you have these dear children and you have to give them up to be adopted by convicted child molesters."

Effectively, Disney's negotiation tactic was "re-sign with us, or else we'll spin up a shitty division to make shitty sequels of your movies!"

http://en.wikipedia.org/wiki/Circle_7_Animation

http://en.wikipedia.org/wiki/Toy_Story_3#Production

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by nl on Wednesday November 02, 2011 @09:25PM (#3189747)
Effectively, Disney's negotiation tactic was "re-sign with us, or else we'll spin up a shitty division to make shitty sequels of your movies!"

That's from Pixar's perspective.

From Disney, it was more like this: "re-sign with us or we will utilise out right to produce sequels, for which you won't be paid"

ie, It wasn't a threat to do a bad job - as the parent comment says, companies (almost never) deliberately do bad work.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by sjwright on Friday November 04, 2011 @02:15AM (#3195145)
Deciding to do work within a limited budget is tantamount to deliberately doing bad work in many instances. For example, look at Disney's history with direct-to-video sequels -- they exist purely to make money, and contain little of the magic or refinement of their fully budgeted forebears.

Eisner might not have been thinking 'shitty', but I bet he was thinking similar things when approving The Return of Jafar. (http://www.imdb.com/title/tt0107952/)

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by sjwright on Friday November 04, 2011 @02:19AM (#3195152)
Furthermore look at the promotional poster for Toy Story 3. It's quite clearly a slap-dash effort made by a third rate hack. I mean, who recalls a product and leaves it on the store shelf, with a strategically placed sticker that could well be saying "NEW!"?

That poster could only have been made to intimidate Pixar.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by TheFuture on Wednesday November 02, 2011 @07:06PM (#3189336)
No, you don't say "lets make crap". But you deny the proper resources. You place unnecessary restrictions on the project. You hire a bunch of iOS newbies and say "hey go make gmail, but you have to make it out of javascript in a UIwebview" and basically force the outcome.

Come on, hasn't everyone had to work on a project where the boss/manager didn't want it to succeed? Whether for political, personal, or boredom, people don't do their best work all the time. Not everyone is as demanding as Steve Jobs.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by Splines on Wednesday November 02, 2011 @03:29PM (#3188537)
I think it's probably more that the Android apps team has a higher budget/headcount than the iPhone apps team (I have no idea, but just a guess).
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by sunchild on Wednesday November 02, 2011 @02:55PM (#3188362)
More like "Hey guys, how can we make sure our products run better on our platform than the other one?
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by pflats on Wednesday November 02, 2011 @03:12PM (#3188440)
>I can only assume that there's some desire within Google to make sure the iPhone versions of their products are complete dogshit to try and encourage Android adoption.

I find it interesting that Google is intentionally using its own icons for pre-existing iOS conventions (Floppy disk for save, weird action menu, nonstandard trash can, buttons without borders, etc.) I can understand being in love with your own system, but making a native app look non-native is just odd.

Personally, Google Sync/Exchange works great, gives me calendars as well, and plays nicely with my other accounts. The only hiccup is archive v. delete, but that's not a huge one. I've had no desire for a GMail app.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by MaysonL on Wednesday November 02, 2011 @04:12PM (#3188718)
The weirdest Google-ism I found was when running the desktop version of Reader on my iPad: single-finger scrolling was turned off! I had to use two fingers as if I was using a Mac trackpad.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by rboyce on Wednesday November 02, 2011 @06:13PM (#3189185)
That's actually a consequence of how iOS handled scrollable areas on pages prior to iOS 5. Totally not Google's fault; I believe you'll have better luck using desktop Reader in iOS 5.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by avree on Wednesday November 02, 2011 @01:36PM (#3187949)
Did you update the Google Voice app? These all used to be problems, but their latest release resolved them all for me.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by moxiemk1 on Wednesday November 02, 2011 @01:59PM (#3188080)
This is true - the Google Voice app is now much much better, but it is worth pointing out that there were tons of bugs that weren't fixed for over a year, like:

* freezing irrecoverably when opening the app/going to inbox very often

* losing all the text you've typed when anything causes the textfield to lose focus

* things like gaining network connectivity causing said textfield to lose focus

Perhaps this qualifies as ad hominem, but this experience was biblically awful and from a major software company. Seeing how this new Gmail app is a bunch of Web views and needlessly non-standard widgets (=> part of the worst dredge of apps), it makes me start to feel pretty cynical about their iOS strategy.

Then again, taken the experience using the Android browser while developing mobile websites, maybe it's an institutional inability to develop polished mobile applications.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by ctide on Wednesday November 02, 2011 @01:39PM (#3187967)
No, I switched to one of the paid apps (GV Mobile+) because it actually worked.

EDIT: I don't really know why I'm being downvoted for this. Wouldn't you switch apps too if you relied on google voice for your text messages and you couldn't log into it anymore without it instantly crashing?

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by chaz on Wednesday November 02, 2011 @01:50PM (#3188027)
Hanlon's Razor. There was a login bug with iOS 5, and Google pulled the iPhone app from the Appstore until it was fixed. It's been back for a little while now, and stable.

The Android version is far better, though, due to its OS integration. I don't think Apple would ever allow what it does on Android.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by avree on Wednesday November 02, 2011 @02:10PM (#3188128)
The only way to get that integration is to either use Sprint or jailbreak and use http://gvexts.appspot.com/sms/sms.html
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by ctide on Wednesday November 02, 2011 @01:54PM (#3188048)
Yes, I don't doubt that the iOS5 login bug was not intentional, however every other issue I mentioned has been there since I switched back to an iPhone from Droid when the Verizon iPhone was released. That's nearly a year of a completely malfunctioning app (although, I could actually log in to that one.)
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by falling on Wednesday November 02, 2011 @02:02PM (#3188093)
They've had the iOS 5 beta available since June and they didn't bother to fix it before the actual release. If that doesn't say that they don't care, I don't know what else.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by X-Istence on Wednesday November 02, 2011 @01:53PM (#3188040)
Google has actually fixed these issues. The Google Voice app now works perfectly fine on my iPhone 4S...
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by mikeash on Wednesday November 02, 2011 @02:49PM (#3188336)
Why put any effort into making a deliberately bad app when they could even more easily make no app at all?
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by mmastrac on Wednesday November 02, 2011 @01:06PM (#3187781)
StackOverflow suggests that they neglected to enable push notifications in their production code-signing certificate:

http://stackoverflow.com/questions/2452086/no-valid-aps-envi...

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by Splines on Wednesday November 02, 2011 @01:56PM (#3188063)
Isn't this sort of a sanity-level thing you'd check in QA? You know, install the app and boot it?
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by smackfu on Wednesday November 02, 2011 @02:04PM (#3188103)
Or in the vaunted app review process?
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by gresrun on Wednesday November 02, 2011 @02:39PM (#3188285)
We had a version of our app be approved by Apple with a critical login bug for anyone how had never installed the app before. Apple didn't even bother to launch the app or else they would have received the error! Now, obviously, this was our failure to catch this in QA but, seriously? Why even have a review process if you're not even going to bother logging in with the credentials we supplied?!
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by JackdawX on Wednesday November 02, 2011 @02:11PM (#3188134)
This actually is part of the appstore review process (I do this for my job). However, we've had apps slip through before. I'm not sure entirely why this happens, since the checks for missing entitlements or incorrect signing should be automatic, but it does on occasion.

This is a problem with Apples review process as much as anything else, since you can't test the properly signed release version of the app until you publish it to the appstore for all to see.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by angrycoder on Wednesday November 02, 2011 @02:20PM (#3188187)
The app review process isn't QA.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by smackfu on Wednesday November 02, 2011 @02:47PM (#3188325)
OTOH The first two items on the list of app store review guidelines:

2.1 Apps that crash will be rejected 2.2 Apps that exhibit bugs will be rejected

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by sbuk on Wednesday November 02, 2011 @03:45PM (#3188617)
What would have happened had Apple rejected this app? Politically, Apple are between a rock and a hard place here. Ultimately the culpability lies with the Gmail app team and they have acknowledged this and pulled the app. https://plus.google.com/100940716892313727285/posts/4aPVQTj9...
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by Kylekramer on Wednesday November 02, 2011 @04:07PM (#3188700)
There is an world of difference from rejecting an app for "duplicating functionality" and for bugs. If Apple rejected it and said they would take it once it was fixed, the only blowback would be from those who thought Apple was lying. No reason to cater to those folks. More likely, we wouldn't hear about it at all.

It is indicative of a larger problem I have with the App Store. I am not a fan of requiring a review process. But once you crossed that bridge, make it a damn good and tough review process. The amount of crap that gets through is amazing. You already pissed off people who don't like apps getting Apple's approval, you might as well crack skulls and make sure there is real quality in every app.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by sjwright on Wednesday November 02, 2011 @09:14PM (#3189708)
That doesn't mean Apple's QA will look for ways to make the app crash or bug out. It just means that if, during the course of regular testing it crashes, they'll stop testing and reject on the spot.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by ChrisLTD on Wednesday November 02, 2011 @01:47PM (#3188001)
"There's next to no additional value (especially with the currently broken push) provided by such a half-assed pseudo-native app."

There may be no additional value to nerds like you and me, but there are plenty of normal people who want GMail on their homescreen and want to get it from the App Store.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by danudey on Wednesday November 02, 2011 @03:09PM (#3188426)
Thanks to JSCore's JIT compilation only working in Safari or saved-to-home-screen web apps, they've basically taken three years to actually make a 'native app' version of their e-mail service, which is slower than just using the web app (and feels worse to use).
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by coob on Wednesday November 02, 2011 @12:50PM (#3187689)
> Because Safari gets to JIT-compile JavaScript and UIWebView embedded into apps can't

I'm not sure this is still the case in iOS5.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by pilif on Wednesday November 02, 2011 @12:57PM (#3187735)
it is. They could only fix it for the homescreen links which also didn't get the JIT before iOS5

Having a JIT requires you to execute writable memory which is a privilege given on a per-process level. So for an embedded webview to be able to do it, your app would need it, but third party apps are never allowed this.

It's possible that they changed UIWebView to spawn a background process for the actual rendering, but I guess we would have heard about that (we haven't we only heard about homescreen links now being JITed)

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by xtacy on Wednesday November 02, 2011 @03:51PM (#3188646)
Would you need executable and writable at the same time? The JIT generates code into a writable+non-executable memory, and then makes it readonly+executable.
Re:Introducing the Gmail app for iPhone, iPad and iPod touch by pilif on Wednesday November 02, 2011 @04:03PM (#3188688)
That's the point. You don't get segments that you can mark as executable if you are a third-party app. The only code that's executable is the code segment of the compiled binary (that's signed by apple and won't be executed if it has changed since it has been signed).

Trying to mark memory as executable will cause your app to be terminated. Jumping into non-executable memory will also cause your app to be terminated.

Aside of protecting you (as a user or as a developer) from a big class of security issues, this also ensures that nobody ever gets to run code that's not loaded from the App Store (and thus would generate revenue without giving a share to Apple).

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by masklinn on Wednesday November 02, 2011 @01:41PM (#3187978)
> I'm not sure this is still the case in iOS5.

It still is. The JIT was enabled for "pinned" web applications (added to the home screen), but for the JIT to be enabled the whole process needs to be allowed to execute code from writable memory. There's absolutely no way Apple is going to allow arbitrary applications to do that.

As pilif notes, a workaround would be to have UIWebView's content exist in a separate, JIT-able process.

Re:Introducing the Gmail app for iPhone, iPad and iPod touch by tejaswiy on Wednesday November 02, 2011 @02:25PM (#3188217)
I really hate how they just build wrappers around an existing mobile website and publish it. What's the point of building native apps then? Just Push notifications? Isn't that supposed to be against the terms of the App Store?