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

feat: Allow to copy files from the original build #530

Open
JanStevens opened this issue Jan 28, 2025 · 0 comments
Open

feat: Allow to copy files from the original build #530

JanStevens opened this issue Jan 28, 2025 · 0 comments

Comments

@JanStevens
Copy link

Feature Request

Description

Context: A multi tenant application where a single code base is used to create multiple branded customer apps.
We want to use live updates and create a single update which can be applied for all our customers. We have some json configuration files which are tenant specific and need to be present before the app can properly booth.
Right now when a live update is applied it nukes the public dir and replace it, this way we lose our tenant specific json configuration files.

Platform(s)

  • ios
  • android

Preferred Solution

Possible solutions:

  1. Be able to exclude files from being overwritten
  2. Be able to copy over files from a native bundle after applying the update

Alternatives

Our current solution would be to use @capacitor/preferences or we write our own native plugin which reads information from capacitor configuration file.

Additional Context

https://discord.com/channels/912707985829163099/1333794658039365682

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