single app and multiple distributed service versions

The problem that I have is with versioning of a single mobile application (created with Cordova) and the WCF web services that it consumes.

Situation: The latest version of the mobile app is always obtainable through the app store. The web services are distributed to customers, which do not update the web services very often. However the web services are under constant development and newer versions will be released in the future. In some time there will be a lot of different versions of the web services deployed and only one most recent version of the mobile app in the app store. I can force people to update the mobile app, but not to update the web services that the app must connect to.

Problem example: For instance, there are several versions of the web services deployed. The most recent version of the web services provides some kind of fantastic operation, that the most recent version of the app obviously wants to use. When the app tries to do this operation with an older version of the web services, the app will produces errors.

Question: The problem that I encounter is how I can make the app compatible with all the services that are deployed on all the different services?

Solutions I know of:

  • Of course there is the solution to always make the app backwards compatible. The app will have to know which version of web service it connects to and can, depending on the version, show different data, retrieve different data or behave differently. This can however create a nightmare to manage if the versions of the web services will stack up.
  • Another option, that is possible because the app is created with Cordova, is to only put a shell app in the app store. This shell will only give the user the opportunity to connect with the web service that it has, and will download the code of the corresponding app version from the web services. This will resolve the versioning problem, but will introduce other problems. For example, the shell will sometimes have to be updated for the Cordova libraries to support newer OS versions (iOS 8/ Android 6 for example). It is possible that this will introduce breaking changes in the Cordova code. When this happens, every version of the app code on every deployed web services will have to be updated, which is to much work because there are just to many services.
    In addition to the second solution is to only load all the app code, except for the some wrapper API for the Cordova API. This Cordova API will reside in the shell app that is published to the app stores. When there are any breaking changes in the Cordova API’s, these can be encapsulated in these API’s in the shell app. Although this is a better solution, I still don’t know if it is any good to load most of the mobile app from a web service to support multiple versions.

In my opinion none of these solutions are perfect.

There will probably solutions that I have not thought of and I am interested to hear those.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật