India may have plans to follow France’s footsteps in building a chat app and requiring government employees to use it for official communications.

The New Delhi government is said to be pondering about the need to have homegrown email and chat apps, local news outlet Economic Times reported on Thursday.

The rationale behind the move is to cut reliance on foreign entities, the report said, a concern that has somehow manifested amid U.S.’s ongoing tussle with Huawei and China.

“We need to make our communication insular,” an unnamed top government official was quoted as saying by the paper. The person suggested that by putting Chinese giant Huawei on the entity list, the U.S. has “set alarm bells ringing in New Delhi.”

India has its own ongoing trade tension with the U.S. Donald Trump earlier this month removed the South Asian nation from a special trade program after India did not assure him that it will “provide equitable and reasonable access to its markets.” India called the move “unfortunate”, and weeks later, increased tariffs on some U.S. exports.

The move to step away from foreign communication apps, if it comes to fruition, won’t be the first time a nation has attempted to cautiously restrict usage of popular messaging apps run by foreign players in government offices.

France launched an encrypted chat app — called Tchap — for use in government offices earlier this year. Only those employed by the French government offices can sign up to use the service, though the nation has open sourced the app’s code for the world to see and audit.

Of course, a security flaw in Tchap came into light within the first 24 hours of its release. Security is a real challenge that the government would have to tackle and it might not have the best resources — talent, budget, and expertise — to deal with it.

China, which has restricted many foreign companies from operating in the nation, also maintains customized versions of popular operating systems for use in government offices. So does North Korea.

It won’t be an unprecedented step for India, either. The nation has been trying to build and scale its own Linux-based desktop operating system called BOSS for several years with little success as most government agencies continue to use Microsoft’s Windows operating system.

Even as India has emerged as the third-largest startup hub in the world, the country has failed to build local alternatives for many popular services. Facebook’s WhatsApp has become ubiquitous for communication in India, while Google’s Android and Microsoft’s Windows power most smartphones and computers in the nation.