I’m packaging my app with cordova. When the user uploads an image it gets updated on the server but the change does not reflect on the actual device.
I have a pull to refresh setup which updates the page but the images don’t seem to update.
I have setup a cache buster which is the timestamp that is appended to the ng-src when a new image is uploaded) but it doesn’t seem to help.
<img ng-src="{{user.profile_pic}}?cb={{random}}" ng-click="changeProfilePic()" class="profilePic">