27
Views
5
Comments
[Cordova Splash Lottie Animations Plugin] Using the Cordova Splash Lottie animation in iOS
Application Type
Mobile

We are using the Cordova Splash Lottie Animations Plugin in our Mobile app in combination with the Swift Support Plugin.

In Android everything works as we expect it to, it shows the Lottie animation.
But in iOS it seems to skip the animation completely, it goes right to the loading screen of our application.
Maybe we miss something in the configuration, I can confirm that all items in the Extensibility Configurations are present.

2021-05-14 16-39-03
Vanguard Labs

Hi @Aranka van der Zwaard ,

Thanks for your feedback. We've thoroughly tested it on both Android and iOS with good results.

Have you added this to the Extensibility Configurations?

"ios": [

    {

        "name": "UseSwiftLanguageVersion",

        "value": "5.5"

    }

]

Otherwise please provide more information about both your project and the device you're testing in.

Thank you.

2023-08-23 08-14-16
Aranka van der Zwaard

Hi @Vanguard Labs,

I had added your mentioned information in the Extensibility Configurations to use this plugin in the IOS preferences.

We also have a dependency with SwiftSupportPlugin but the ReferenceAction we call is empty, not sure if the problem is there?
For testing we use an iPhone SE, iOS 17.2.1
Using the generated IPA of the application.

2023-08-23 08-14-16
Aranka van der Zwaard

Hi @Vanguard Labs ,

A important detail to might add is that we are using Mabs 10 because the older version will not be supported anymore in May.

This might have affected it?
Please let me know if you are able to help me.

2021-05-14 16-39-03
Vanguard Labs

Hi @Aranka van der Zwaard .

Thanks for reaching out.

We did another round of tests. This is a description of what we did:

  1. Downloaded both the Cordova Splash Lottie Animations Plugin and Swift Support Plugin from Forge.
  2. Created a sample application that included a lottie animation as splash screen, following all the instructions in the Cordova Splash Lottie Animations Plugin's documentation.
  3. Made sure our sample application referenced and included the actions from both plugins to make sure they get included in our application (this is very important).
  4. Distributed our application for both Android and iOS, making sure it was using MABS 10.
  5. Tested it in several devices.

All our tests were successful, both in Android and iOS. We were able to get the animation working as expected in all our tests.

Here are some things we suggest you to try:

  • Make sure your application references both the Cordova Splash Lottie Animations Plugin and Swift Support Plugin.
  • When you reference them, include their actions in your applications, even if you won't call them. This will ensure both plugins are bundled with your application as they should be.
  • Download the demo application in the Cordova Splash Lottie Animations Plugin and test if it works. This way you would ensure that the plugin is working as expected.

This is a list of the iOS devices we tested on:

  • iPhone 11 - iOS 17.4.1
  • iPhone 12 Pro - iOS 16.1.1
  • iPhone 11 Pro Max - iOS 17.3
  • iPhone SE 2020 - iOS 16.7
  • iPhone SE (2022) - iOS 17.3


Best regards.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.