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]: Put app logic into an external package #7451

Closed
2 of 3 tasks
fansanelli opened this issue May 6, 2024 · 2 comments
Closed
2 of 3 tasks

[Feature]: Put app logic into an external package #7451

fansanelli opened this issue May 6, 2024 · 2 comments
Labels

Comments

@fansanelli
Copy link

Description

Ideas to ship applications in a B2B scenario

Platforms

  • iOS
  • Android
  • Web

Request or proposed solution

Hello Capacitor team,

I open this issue as a feature request, but probability it should be splitted in many more if acknowledged.
When we develop an app we may want to customise and sell it to different customers but, at the same time, ship it on a store without have to submit the same app several times with maintenance burden and so on.
My idea is that we should have a base app (empty shell) with an updated capacitor and a plugin to download from cdn, validate and run the "real" app.
In this way we could also ship simple hotfixes without republishing our apps, but the most important thing should be able to give our customers different links to download their own (sub)versions.
As core change maybe capacitor may try to load, when this new plugin is configured, a different local index, stored into a package downloaded outside of the market, or fallback to the base application index that contains instructions to obtain the full app.
Mostly this idea is inspired by games that ask to download a minimalist client, but needs several GBs of extra contents to run.
I'm sure this would make happy a lot of people :)
Please let me know
Cheers
Francesco

Alternatives

No response

Additional Information

No response

@jcesarmobile
Copy link
Member

It's already possible to load web assets from internal memory, there are several plugins that allow that.

Updates for just fixing bugs is allowed by both Apple and Google.
But be careful as changing the app functionality with updates might lead to app rejection on the stores. Also note that all the plugins that you need should be installed on the "base" app even if not using them at the moment if you plan to make them available with updates.

@jcesarmobile jcesarmobile closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2024
Copy link

ionitron-bot bot commented Jun 5, 2024

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jun 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants