This combined with updated app review guidelines banning flash on iOS accelerated the adoption of html5.
Afterthought or not, apps quickly became the biggest selling point of smartphones from the second gen onward and many technical architecture decisions had the intended effect of locking developers in. Ports to android were often delayed by months and years if they happened at all.