hotwired / hotwire-native-site

Hotwire Native
9 stars 5 forks source link

Discuss separate path configuration files per-platform with name versioning #13

Closed jayohms closed 6 months ago

jayohms commented 6 months ago

We should mention that versioning your path config file names is the best way to manage path configuration files for the life of your app.

For example, you should use urls like:

my.app.com/configurations/ios_v1.json
my.app.com/configurations/android_v1.json

This allows forward and backward compatibility with new apps that you ship. If you make breaking changes in a new release of your app, start pointing to *_v2.json on your sever for the new build. You should keep old version available so older clients still work properly until the app is updated.

joemasilotti commented 6 months ago

Closed via #17.

joemasilotti commented 6 months ago

I moved the section on versioning to the overview part of the documentation in #18.