Foreign governments have reportedly attempted to spy on iPhone and Android users through the mobile app notifications they receive on their smartphones — and the US government has forced Apple and Google to keep quiet about it, according to a top US senator.