Mobile phones will be banned in NSW primary schools from 2019