Though demonstration organizers could run around with QR codes making it easy for everybody to install the right app to communicate with each other during the demonstration. As long as people can side-load things on their phones, this should be possible without any way to stop it unless you deploy radio jammers. (Which is then the logical next step for police equipment in so minded states.)