IOS local file path changes after app update

I’m saving file locally on IOS using cordova-plugin-file to .file.dataDirectory, this returns a file path such as this:


I then pass the file path to Ionic’s normalizeURL() which (on emulator) returns


Everything works fine. However every time I run the simulator string {someID} (which I assume to be APP UID)changes and invalidates the path.


In simulator it’s not a major issue. However will the {someID} change when I update the app through app store?

If it does change what’s the way to handle this? Is there a way to retrieve the {someID} dynamically (I could then use it to re-create valid url)