They have slowly been forced to offer longer support, but are still currently at half as many years as Apple.
>One aspect in which Android has always fallen behind iOS is updates, with iPhones receiving as many as six years worth of updates, while some Android phones are lucky to get two years. In this area, Google’s Pixel series have held the crown, offering their phones three full years of updates, including monthly patches and three major Android versions. The original Google Pixel was gradually updated from Android 7.1 Nougat to Android 10 — an extension from the original promise to only offer two major updates.
>One aspect in which Android has always fallen behind iOS is updates, with iPhones receiving as many as six years worth of updates, while some Android phones are lucky to get two years. In this area, Google’s Pixel series have held the crown, offering their phones three full years of updates, including monthly patches and three major Android versions. The original Google Pixel was gradually updated from Android 7.1 Nougat to Android 10 — an extension from the original promise to only offer two major updates.
https://9to5google.com/2021/02/22/comment-four-years-android...