I switched my manually coded implementation with this plugin. Chrome's Lighthouse says it's poorer than my implementation and it's missing the "Add to home screen" feature. But I'd rather have it as a plugin than hardcoded in my theme and I hope they'll update it more frequently.