Indonesia is going to the polls on 17 April for presidential and nationwide elections.
The presidential campaign has been mainly fought over jobs and the economy against a backdrop of rising nationalism.
President Joko Widodo, who is seeking re-election, has embarked on an ambitious infrastructure push. To do it he has welcomed Chinese investment and accepted loans and partnerships with foreign companies.
His rival, former military general Prabowo Subianto, has accused the president of selling out the country to foreigners, and opposition lawmakers are claiming Indonesia is facing an influx of Chinese workers.
A long and occasionally violent history of anti-Chinese sentiment means these are contentious issues, especially in an election year.
Social media is king in Indonesia and in the lead-up to the vote it has been awash with rumours over rising numbers of Chinese workers in the country.
But what does the data show? We’ve taken a look into the figures behind China’s growing role in Indonesia.
In January this year a video showing thousands of workers protesting at an industrial park in Morowali on the island of Sulawesi was widely shared on social media.
The video claimed that these were Indonesian workers demonstrating against Chinese migrants who were earning higher salaries and taking local jobs.
However, the manpower minister dismissed the claims, posting on Twitter that the protest in the video was about wages and not Chinese workers, and the police arrested a suspect accused of spreading false information.
Other widely shared social media posts have shown images of Chinese tourists at airports with alarming captions claiming them to be illegal workers flooding into the country.
And last month, a steel manufacturer in Java was forced to clarify how many Chinese nationals they employed after a video claiming to show foreign workers leaving the factory when viral.
What is Prabowo saying?
On the campaign trail Mr Prabowo hasn’t directly referred to Chinese workers but has taken aim at the president’s changes to foreign worker regulations, which aim to speed up the process of foreign worker applications to Indonesia.
He has said “we are not anti-foreigner but we need to take care of our own people, if we open our door to foreign workers, then what is left for us?”
Mr Prabowo has also suggested that Indonesia could learn from other countries.
“The United States wants to make a wall to keep them out. In Australia people who try to enter are sent to remote islands,” he said during a speech ahead of the campaign.
What does the data show?
China is Indonesia’s third largest source of foreign direct investment behind Singapore and Japan, according to the Indonesian government agency overseeing investment.
These figures show Chinese firms have invested almost $10bn (£7.6bn) in Indonesia since 2014.
Some of these big Chinese-backed projects have run into serious difficulties.
A $6bn project to build high-speed train between Jakarta and the nearest city, Bandung, has been plagued by delays.
In North Sumatra, environmentalists are fighting in the courts to stop a $1.6bn hydroelectric dam supported by the Bank of China that they say threatens to wipe out a critically endangered species of orangutan.
While on the island of Borneo, a Chinese state-owned company is set to build hydropower plants worth almost $18bn.
Indonesia hopes to attract $60bn in investment from China, but it is unlikely to get that much, says Fung Siu, an Asia specialist at the Economist Intelligence Unit.
These Chinese-backed projects often seek to employ Chinese labour as a way to cut costs and increase efficiency.
Where are Indonesia’s foreign workers from?
Number of permits issued to foreign workers
The most accurate way of measuring the number of registered foreign workers in Indonesia is to look at the number of permits issued.
China receives the most foreign worker permits and the numbers are rising – doubling since 2013.
But the total of just over 30,000 issued in 2018 is substantially less than the millions claimed by some.
The World Bank estimates that overall, foreign workers made up a fraction, just 0.06%, of Indonesia’s workforce in 2016, significantly less than Singapore, Malaysia and Thailand.
However, there may well be many more Chinese workers in Indonesia than the official tally of work permits suggests, although it’s difficult to know how many.
The Confederation of Indonesian Workers’ Union (KSPI) claims low-skilled Chinese workers are coming in on tourist visas in their hundreds of thousands.
The government also says Indonesian workers benefit from the training they receive from the highly skilled Chinese labour, who eventually return home leaving the local teams to take over.
So, while the available data shows foreign workers from China and elsewhere make up a fraction of the total workforce in Indonesia, the issue remains a divisive and emotional one, easily stirred up during elections.