Former President Obama says that if Republicans were truly concerned about the security risks posed by former Secretary of State Hillary ClintonHillary Diane Rodham ClintonJill Stein: 'I am not a Russian spy' Trump criticizes Clinton for suggesting Jill Stein was Russian asset Graham: I'm seeking to make Trump successful 'but not at all costs' MORE's private email server, "they'd be up in arms" over reports that President TrumpDonald John TrumpPelosi arrives in Jordan with bipartisan congressional delegation Trump says his Doral resort will no longer host G-7 after backlash CNN's Anderson Cooper mocks WH press secretary over Fox News interview MORE is still using unsecured iPhones.

“In the last election it was Hillary’s emails. ‘This is terrible.’ ‘Hillary’s emails!’ We were hearing Hillary’s emails everywhere,” Obama said Friday at a campaign rally in Milwaukee.

"They didn't care about emails. And you know how you know? Because if they did, they'd be up in arms right now as the Chinese are listening to the president's iPhone that he leaves in his golf cart,” he continued. “It turns out, I guess it wasn't that important.”

ADVERTISEMENT

The New York Times reported Wednesday that Russia and China are eavesdropping on Trump’s personal phone, which he still uses despite repeated requests from national security officials that he stick to more secured landlines.

A day later, NBC News reported that officials are increasingly concerned that Trump is using unsecured cellphones to discuss sensitive matters with informal advisers.

Trump pushed back against the Times's report on Thursday, calling it “soooo wrong” in a tweet.

Obama made his remarks while headlining a campaign rally for Wisconsin state Superintendent Tony Evers, who is running to unseat Republican Gov. Scott Walker, and Democratic Sen. Tammy BaldwinTammy Suzanne BaldwinFederal funding for Chinese buses risks our national security Democrats threaten to withhold defense votes over wall The Trump downturn: Trouble ahead for the US economy MORE, who faces GOP challenger Leah Vukmir.