Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Download JSON files from CDN #55

Open
KC-2001MS opened this issue Apr 22, 2024 · 0 comments
Open

[Feature Request] Download JSON files from CDN #55

KC-2001MS opened this issue Apr 22, 2024 · 0 comments

Comments

@KC-2001MS
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant