Or the Symbian and Windows CE/Pocket PC phones, before it.
Was out well before the iPhone, sold Internationally, had installable 3rd party apps (proper apps, not just "web" apps that the 1st gen iPhone had).
Apple fanatics always seem to think Apple create the first smartphone as we know it.
"Symbian OS platform security model"
https://www.usenix.org/system/files/login/articles/73507-li....
While the USENIX paper is from 2010, the 3rd edition was released in 2005, 2 years ahead of iPhone.
And the now super fashionable Widgets were already a thing on Symbian, back in 2010.