Skip to content

Conversation

@orangec-at
Copy link

Description

Fixes iOS compilation error in DotlottieReactNativeViewManager.swift

Problem

  • Method name had incorrect capitalization: stateMachineUnSubscribe (capital S)
  • Incorrect parameter label usage: observer: should not be used

Changes

  • Fixed method name: stateMachineUnSubscribestateMachineUnsubscribe
  • Removed parameter label: observer: stateMachineObserverstateMachineObserver

Error Fixed

Value of type 'DotLottieAnimation' has no member 'stateMachineUnSubscribe'

Testing

  • ✅ iOS build compiles successfully after fix
  • ✅ Matches the actual method signature in DotLottieAnimation class (line 629 in LottieFiles-dotLottie-ios)

Related

  • Affects version: 0.7.0
  • File: ios/DotlottieReactNativeViewManager.swift:131

@changeset-bot
Copy link

changeset-bot bot commented Nov 10, 2025

⚠️ No Changeset found

Latest commit: 4645d83

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Member

@theashraf theashraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@orangec-at Thanks for the fix! However, the example iOS build is failing on CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants