top | item 26333420

(no title)

garrtt | 5 years ago

> Google Pay switched to Flutter a few months ago for their flagship mobile app, and they already achieved major gains in productivity and quality. By unifying the codebase, the team removed feature disparity between platforms and eliminated over half a million lines of code.

from pay.google.com

> Starting April 5, you won't be able to use pay.google.com to send and receive money from other people. To send and receive money, use the new Google Pay app.

discuss

order

shepherdjerred|5 years ago

The easiest way to get rid of 500,000 lines of code is to delete your website

rp1229|5 years ago

The new Google Pay app on iOS is incredibly sluggish -- animations stutter, switching pages has hesitations. I'm not sure what they mean by "quality" in this case.

eseidelGoogle|5 years ago

[Flutter Eng. Dir here]

We were also not satisfied with the performance of the initial GPay release. We've been working with the GPay team the last couple months and have made significant improvements within both Flutter and the GPay app. Hopefully the next release of GPay will be out soon and others will be able to see the progress we're continuing to make with the team.

gaaclarke|5 years ago

[flutter developer]

Hi, I audited the performance of the GPay app. Almost all of the performance issues in GPay are related to its use of vector graphics libraries which make Skia spawn many new shaders that have to get compiled. The suggestion was given to move to raster graphics but since GPay ships in many locations that are sensitive to app size, like India, they made the tradeoff to keep raster graphics.

That said there are some longer term initiatives to address this problem on Flutter's side and Skia's side since the problem can show up outside of vector graphics, it's just more unlikely.

theanirudh|5 years ago

It was buggy as well. I was locked out of receiving and sending payments for about a month. After some updates, had to relink my bank account and the app created a new UPI ID by appending a -1 ie. myname-1@okhdfc! It's like creating a new email ID to resolve the issue.

sofixa|5 years ago

On Android too. It literally takes 15-20s for it to charge enough for me to be able to select anything.

aitchnyu|5 years ago

I once noticed the green checkmark animation for a failed payment.

adam12|5 years ago

I have confused Google Pay with Google Play twice this week. I wonder how many other people get confused by this.

alfalfasprout|5 years ago

Google pay is utter trash. Crashes and super slow. What quality are they talking about??

oh_sigh|5 years ago

The website and the app are two different things.

buzzy_hacker|5 years ago

> the team removed feature disparity between platforms

jasonvorhe|5 years ago

It's not clear what you're arguing for or against. Google Pay is a product with multiple features and one of them is being phased out. What's that to do with the benefits they're claiming from the rewrite of the mobile app?

SamBam|5 years ago

"I have a website and a mobile app. I unified my codebase with Tool X and saved a million lines of code!"

"Didn't you simply delete the website?"

"Yeah, what of it?"

fastball|5 years ago

Let me try:

> Flutter 2 supports web now!

> We've re-written GPay in Flutter 2!

> We're dropping support for using GPay on the web...

AlphaSite|5 years ago

I think it’s disingenuous to imply that the savings were purely from sharing a code base vs removing features.

garrtt|5 years ago

> removed feature disparity

After April 5, I will have to use the app so that I can get back functionality that I once had on the web.