It was written by both artists and produced by Jimmy Napes , Stargate , Tim Blacksmith , and Danny D. `` Dancing with a Stranger '' was released as a single by Capitol Records on 11 January 2019 .
Jimmy Napes , Smith , Normani , Mikkel S. Eriksen and Tor Hermansen co-wrote Dancing with a Stranger .