try-swift-tokyo
try-swift-tokyo copied to clipboard
[Feature Request] Download JSON files from CDN
I propose the ability to download JSON files from CDNs using the BackgroundAssets API.
Current implementation and its issues
It appears that the display content is read by referencing the JSON file in MyLibrary. This approach would require updating the application at every conference.
Advantage
Using this approach, it is possible to update to the latest information without updating the app by simply changing the data in the CDN. As for localization, how about a method that recognizes the language of the device and downloads the appropriate assets for it?
Supplemental
As a sample, I have attached a simple application that downloads and displays JSON files from Google Cloud CDN that I personally created for testing. Please check it out. (Please don't do the downloading badly.) I am not familiar with TCA and am hesitant about pull requests. BackgroundAssetsTest