No, it is not safe to use outside your vehicle or whilst driving
However, it is perfectly safe to use a mobile phone inside your stationary vehicle once you're parked on the forecourt.
Once you’ve activated the pump, please leave your phone inside the vehicle or place in your pocket or bag.