Bladder stones generally stem from food, lower quality food and what not. While cranberry juice is effective in urinary tract, it's not a cure. our dog likes cranberry juice but I wouldn't buy it off the shelf. I'll buy organic cranberries and make my own juice for myself, if he wants some, great.
One of my dogs long passed had issues with bladder stones, we were feeding a basic off the grocery store shelf kibble. She ended up having 3 bladder stones removed through surgery and she was in misery back and forth to vets until it was diagnosed. Blood in the urine, yelping when trying to pee. That little dog set me on a path to dog food research.
If you are going to switch to a raw diet or similar, then you may end up on the hunt for a new vet as well. Something to consider moving forward. If you mention raw to your current vet, they will probably become negative over it.