Google has had to pull its official Gmail app for iPhone, iPad and iPod touch just hours after it hit the App Store.

The reason for the withdrawal is a bug that plays havoc with the notification system. Users were reportedly getting an error message reading:

"no valid ‘aps-environment’ entitlement string found for application."

Google has released a statement on the Gmail blog admitting the problem and the removal of the app from Apple's App Store:

"Earlier today we launched a new Gmail app for iOS. Unfortunately, it contained a bug which broke notifications and caused users to see an error message when first opening the app. We’ve removed the app while we correct the problem, and we’re working to bring you a new version soon. Everyone who’s already installed the app can continue to use it."

What's the old saying: You wait ages for a bus and then a knackered one comes and breaks down straight away? Something like that.

Anyone who installed the Gmail app before it was removed from iTunes is free to carry on using it. Although we're still unsure of why exactly a dedicated Gmail app was needed when Apple's email platform seems to be able to carry out all the features it boasts about.