Baseflow / Baseflow/LottieXamarin
Animation lottie in nuget as EmbeddedResource not working
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 253
- PR merge metrics
- No merged PRs in 30d
Description
## 💬 Questions and Help
Hello,
I have created an nuget for internal project at work with specific ContentView who use lottie animation as json.
I am trying to call animation stored in same project as embedded resource on android device. i d'ont want animation file in android project...
xxx.yy.Ui is current nuget name/namespace
Resources.Animations.loader.json is folder name & file name


No animation is displayed .. any idea ?
For questions or help we recommend checking:
- The [Lottie tag in Stack Overflow](https://stackoverflow.com/questions/tagged/lottie)
- The [General slack channel in the Xamarin Slack](https://xamarinchat.herokuapp.com/)
- Ask your question in the [Xamarin Forums](https://forums.xamarin.com/)
Contributor guide
Research direction
Start by reproducing the Android case using the shown AnimationView configuration and the embedded loader.json in the xxx.yy.UI NuGet. Check how the resource is packaged and resolved through AnimationSource="EmbeddedResource"; done means the animation displays from the NuGet without copying the JSON into the Android project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, json
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100