nativescript-community / ui-lottie

NativeScript plugin to expose Airbnb Lottie
https://github.com/airbnb/lottie-android
Other
177 stars 57 forks source link

Inconsistent src requirements #37

Closed mudlabs closed 5 years ago

mudlabs commented 5 years ago

There's an inconsistency with how the src must be described in xml.

<!-- Works on iOS, but not Android -->
<Lottie:LottieView src="lottie" />

<!-- Works on both platforms -->
<Lottie:LottieView src="lottie.json" />

Given all Lottie assets are JSON files it seems redundant having to include the extension.

itstheceo commented 5 years ago

This is a pretty good starter task for someone with the time! Though the workaround would be to just specify the file extension for now

bradmartin commented 5 years ago

Closed via #46