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:
[x] CocoaPods support
[x] Carthage support (nice to have, but we can ditch it if it's too complicated)
[ ] SPM support (master doesn't have that yet, it's on feature/spm-support)
[ ] usage of LocalizationManager without integrating NStack
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:
master
doesn't have that yet, it's onfeature/spm-support
)