It really doesn’t matter if your dog is friendly or not.
What matters is that you don’t take the choice away from another owner (and their dog) as to who they interact with.
There can be so many reasons why a dog and their owner need space from you and your dog.
Please allow them that choice..