Indian PM Narendra Modi's official mobile application has been criticised for sending personal user data to a third party without their consent.
A security researcher had tweeted that the app was sending personal user data to a third-party domain that was traced to a US company.
Mr Modi's ruling Bharatiya Janata Party (BJP) has denied the allegation.
The party said the data was being used only for analytics to offer all users the "most contextual content".
The researcher, who tweets under the pseudonym Elliot Alderson, posted a series of tweets on Saturday stating Mr Modi's app was sending personal user data to a third party.
When you create a profile in the official @narendramodi #Android app, all your device info (OS, network type, Carrier …) and personal data (email, photo, gender, name, …) are send without your consent to a third-party domain called https://t.co/N3zA3QeNZO. pic.twitter.com/Vey3OP6hcf— Elliot Alderson (@fs0c131y) March 23, 2018
After a quick search, this domain belongs to an American company called @CleverTap. According to their description, “#CleverTap is the next generation app engagement platform. It enables marketers to identify, engage and retain users and provides developers" pic.twitter.com/Ikqp9GbCDm— Elliot Alderson (@fs0c131y) March 23, 2018
.@narendramodi, I know privacy is not your thing but any thoughts about sharing the personal data of your users without their consent to a third-party company?— Elliot Alderson (@fs0c131y) March 23, 2018
Rahul Gandhi, the chief of the the main opposition Congress party, took to Twitter on Sunday to criticise Mr Modi.
Hi! My name is Narendra Modi. I am India's Prime Minister. When you sign up for my official App, I give all your data to my friends in American companies.— Rahul Gandhi (@RahulGandhi) March 25, 2018
Ps. Thanks mainstream media, you're doing a great job of burying this critical story, as always.https://t.co/IZYzkuH1ZH
The BJP responded swiftly, saying Mr Gandhi was trying to divert attention.
Last week India's law and IT minister Ravi Shankar Prasad said there were "numerous reports" of the Congress party's connections with controversial data analytics firm Cambridge Analytica.
He asked Mr Gandhi to "explain" the company's role in his social media outreach.
The opposition party has denied the charges.
Rahul Gandhi is in sublime form these days. After MRI & NCC, today he exposes his great knowledge about technology. He is so rattled by the Cambridge Analyitca expose that he daily tries to divert attention from it, yesterday it was the judiciary and today it is Namo App.— BJP (@BJP4India) March 25, 2018
The party said the data from Mr Modi's app was being used for analytics:
This ensures that a user gets the best experience by showing content in his language & interests. A person who looks up agri-related info will get agri related content easily. A person from TN will get updates in Tamil and get an update about an important initiative about TN.— BJP (@BJP4India) March 25, 2018
Mr Modi launched his official app in 2015, adding another platform to his massive social media presence.
He is among the five most popular politicians on Twitter with 41.4 million followers.