Sources/Private/EmbeddedLibraries/README.md
This directory includes the source code of libraries that are embedded within lottie-ios.
This includes:
Lottie is distributed via multiple package managers (SPM, Cocoapods, Carthage, and NPM), each with different packaging and compilation requirements.
Due to limitations of these package managers, we can't depend on / import a separates modules / libraries. Instead, we include the source directly within the Lottie library and compile everything as a single unit.
From time to time we may need to update to a more recent version of one of these libraries. When doing this, follow these steps:
Download the latest release of the library and replace the source code in the corresponding directory with the updated code.
Update the URL in the directory's README.md to indicate what release is being used.
Change all of the public symbols defined in the module to instead be internal
to prevent Lottie from exposing any APIs from other libraries.
Create a subdirectory in EmbeddedLibraries for the new dependency.
Add the dependency to the list at the top of this file.
Add a README.md to the directory for the new library, using the same formatting as the README.md file used by other dependencies.
Exclude the new README.md file from the lottie-ios package by adding it to the exclude: list in Package.swift.
Change all of the public symbols defined in the module to instead be internal
to prevent Lottie from exposing any APIs from other libraries.
If the dependency provides a privacy manifest, incorporate content from that dependency's privacy manifest into Lottie's privacy manifest.