Xiaomi Corp reported a 13.6% rise in first-quarter revenue on Wednesday, beating estimates, as the Chinese smartphone maker sold more phones and benefited from sales of its higher-priced 5G models.

The company managed to boost sales despite the impact of the coronavirus, which rattled supply chains and dampened overall smartphone demand.

"Our production in mainland China has largely resumed, and smartphone demand has rebounded quickly," the company said in its first-quarter earnings release.

Xiaomi's optimism stands in contrast to rivals Apple Inc and Samsung Electronics Co Ltd, which have both warned of a tough year ahead.

Sales in the first quarter of 2020 rose to 49.7 billion yuan ($7.00 billion) from 43.76 billion yuan in the same period prior year, beating analyst expectations of 47.86 billion yuan.

The company attributed the jump to rising prices for its just-released 5G phones in China, as well as growing sales overseas.

Profits fell by roughly one third due to a drop in the value of Xiaomi's investments in other companies.

The company gets most of its revenue from selling mobile handsets, but also makes money by selling online ads and other types of consumer hardware.

Xiaomi has faced intense competition in China over the past few years from bigger domestic rival Huawei. Also, the domestic smartphone market in China has been shrinking and to offset this Xiaomi and other smaller Chinese rivals have focused on overseas growth.

Xiaomi's shipments to Chinese consumers in the first quarter fell by more than a quarter from a year earlier, market research firm Canalys said, compared with an 18% drop in smartphone sales in the country.

In March, the company said it was seeing signs of a sales recovery in China after weeks of lockdown to stem the coronavirus outbreak.

(Reporting by Josh Horwitz, editing by Louise Heavens and Jane Merriman)