nstack-io / nstack-ios-sdk

MIT License
5 stars 10 forks source link

Added LocalizationManager #88

Closed mariusc closed 11 months ago

mariusc commented 3 years ago

Aims to address #84

This PR integrates LocalizationManager in the NStack SDK, so LocalizationManager is not added as a subdependency, but as part of the SDK. This way, NStack will be a single library with no dependencies, making a lot easier to work with and integrate in other projects.

So far, LocalizationManager was a separate repo because there were projects that needed to only use it without NStack (so the language files were hosted on a separate server, the app was still using the same localization system, but without integrating NStack or making any API calls to the NStack backend). In order to avoid this problem, and in order not to end up having having to manually maintain 2 copies of the same source code for LocalizationManager (both in here and in the LocalizationManager repo), I'll try to expose LocalizationManager via NStack without the need to integrate NStack or call NStack.start().

This PR is still WIP, as I still need to do the following: