Problem experienced with lottiescript plugin

172 views
Skip to first unread message

Naip club

unread,
Oct 2, 2023, 12:12:13 AM10/2/23
to DroidScript
Good day fam❣️,
I noticed that the lottiescript plugin uses a webview by default to execute the json lottiefiles. Now I tried using this plugin in one of my projects which worked perfectly. But when compiled into apk, it doesn't work, the default webview called lottieview shows an error file not found, and the URL shown is file:///app folder/plugins/lottiescript/index.html *something like that. Please how do I go about this.

Regards Ah

Cemal

unread,
Oct 7, 2023, 2:21:08 PM10/7/23
to DroidScript
Hi,

If you cannot find a solution, there is a second lottie plugin you can try: https://ds.justplayer.de/uploads/lottie

Fatih Elitas

unread,
Sep 7, 2025, 4:03:08 PMSep 7
to DroidScript
Hi Cemal.
The Lottie plugin works fine in the SPK file. However, when I create an APK, the Lottie animation doesn't start. I tried it on Android 10 and 12.

7 Ekim 2023 Cumartesi tarihinde saat 21:21:08 UTC+3 itibarıyla Cemal şunları yazdı:

Cemal

unread,
Sep 8, 2025, 5:38:23 AMSep 8
to DroidScript
Hi Fatih,
I will test it and try to find the problem.

Cemal

unread,
Sep 16, 2025, 12:08:32 PMSep 16
to DroidScript
I checked and the plugin is no longer working for me. I don't quite understand where the problem is. The error message shows random characters. The Java library is probably very old (more than 3 years old). For now, it might be better to integrate it with WebView.

Fatih Elitas

unread,
Sep 16, 2025, 2:00:56 PMSep 16
to DroidScript
This is bad. It was a plugin I really liked. How can I integrate it with WebView and use it? Is there an example?

16 Eylül 2025 Salı tarihinde saat 19:08:32 UTC+3 itibarıyla Cemal şunları yazdı:

Cemal

unread,
Sep 16, 2025, 2:05:54 PMSep 16
to DroidScript
Yes, it's a really good tool (it used to be better).

Sample code is available here: https://codepen.io/airnan/project/editor/ZeNONO
Reply all
Reply to author
Forward
0 new messages