ionic-team / ionic-team/capacitor

[Feature]: Support (re)loading from alternate path at runtime

Open
#8,075 0 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
16.7k
Forks
1.3k
Avg merge
3d 15h
Merged PRs (30d)
10

Description

### Description

Change path directory during runtime to support Angular localization

### Platforms

- [x] iOS
- [x] Android
- [x] Web

### Request or proposed solution

`appStartPath` was [added](https://github.com/ionic-team/capacitor/pull/8019), but since it isn't a dynamic runtime feature, it doesn't help with #3912. Feel free to reopen #3912 instead.

> ***At runtime***, we should support the use case of loading a file other than /index.html. For example: __app.html or en-US/index.html. This could also be a configuration option, but we should be able to override it at runtime to allow for use cases such as this: https://github.com/ionic-team/capacitor/discussions/3905
>
> see https://github.com/ionic-team/capacitor/pull/3405
> depends on https://github.com/ionic-team/capacitor/issues/3913

### Alternatives

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.