New Delhi (CNN Business) The global market for smartphones is shrinking, and two of its biggest players are hurting badly.

Apple ( AAPL ) and Samsung have both warned of slumping sales in the last quarter of 2018. Samsung's South Korean competitor LG warned of an 80% drop in operating profit in the same period compared to the previous year.

But the worst may already be over. Industry analysts are predicting a gradual return to growth in 2019.

Sales figures over the past year have made for grim reading.

The industry declined around 1% in 2018, according to preliminary forecasts by tech consultancies Canalys and Counterpoint Research. That's the first annual decline for the smartphone market ever.

IDC, another research firm, has forecast that the drop will be as steep as 3%.

Samsung has predicted that its operating profit for the last quarter of 2018 will fall as much as 30%.

The main drag has come from the world's biggest smartphone market, China, where sales have been falling for almost two years. Canalys estimates the Chinese market shrunk by nearly 9% in 2018 due to a slowing economy, a weaker currency and a long-drawn out trade battle with the United States.

Back to 'very slim' growth

"[In] 2018 the market was so bad that it will be easy for 2019 to be a better year," said Tom Kang, a research director at Counterpoint. "[The] first half looks gloomy but second half we can expect these things to pan out," he added.

The recovery will mainly be driven by "feature phone" owners upgrading to better devices, Kang says. Feature phones don't provide full access to the internet, and Kang predicts many will switch to smartphones in 2019.

Although the Chinese market continues to languish, analysts are predicting a sharper pickup in emerging markets, including India and Africa where collectively more than a billion people still don't have a smartphone.

"Those markets will continue to grow, to push up the global smartphone market size," said Mo Jia, an analyst at Canalys, adding that the global market will likely return to "very slim growth in 2019."

But much still hinges on China and its trade war with the United States, which has already hurt companies on both sides, including Apple, Huawei and ZTE.

Analysts still expect the Chinese market will gradually bounce back as the two sides try to hammer out a trade deal. But for now clouds remain on the horizon.

Apple has warned about a slump in sales, mainly driven by a slowdown in China.

IDC's latest estimates last month forecast 2.6% growth for the smartphone market in 2019, but analyst Ryan Reith said it will likely be "revised down" as the Chinese recovery is further delayed.

The scale of the global rebound will depend on China "more than anything," Reith told CNN.

Chinese companies are winning

This year, the smartphone industry's balance of power could shift further toward Chinese players, such as Xiaomi, Oppo and Vivo.

All three companies, as well as Huawei, grabbed a bigger share of the market in 2018 as Apple and Samsung have dropped.

Huawei and other Chinese smartphone makers have seen impressive growth in recent months.

in India, a country where close to 900 million people still don't own a smartphone and where Oppo and Vivo have made significant strides as well. Although Xiaomi's stock hit a record low on Wednesday, the company is well placed to expand in some of the world's hottest mobile markets. It leads the marketin India, a country where close to 900 million people still don't own a smartphone and where Oppo and Vivo have made significant strides as well.

"Samsung and Apple may meet a lot of challenges in 2019, but actually the growth from the Chinese vendors will fill in that kind of decline from those two vendors," said Jia of Canalys.