Sure, cards are convenient, but you are in effect tipping 15% less for your own convenience.
Additionally, most of the big food delivery apps have a history of skimming or outright stealing in-app tips, so it’s best to always tip delivery drivers in cash, too.
Always tip in cash. It’s the only way to make sure they get all of it, without a portion being skimmed off to pay for bombs to mass murder Afghan kids.