The company says the app has been used to target and ambush police and to threaten public safety.