Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Lottie V8, now with Nitro#1336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
TheRogue76 wants to merge29 commits intomaster
base:master
Choose a base branch
Loading
fromfeature/lottie-v8
Draft

Conversation

TheRogue76
Copy link
Collaborator

@TheRogue76TheRogue76 commentedApr 5, 2025
edited
Loading

It has been entirely too painful of an experience trying to maintain this package. It is not easy to reason about, meaning that unless me or@matinzd actually put everything aside and put time on this package, usually this package is not really getting the love it deserves from other parties.

Most of this comes down to two simple things: ObjC and the structure. ObjC is nobody's cup of tea, and isn't even what Lottie iOS uses either, it is just a wrapper that lets the actual Swift API of Lottie to talk with the actual C++ API of RN. It's a stop gap mess.

Regarding the structure, a lot of it is just trying to create compliance with RN's spec for Codegen anyway. Seethis ,this,this andthis

What i want for Lottie is a simple abstraction, close to hardware, close to how RN really works, in modern languages that everyone can use. The goals are as follows:

  1. Modern languages: Everyone should be able to contribute to this package, be it a native iOS dev who has worked with Lottie iOS, a Native android dev who has worked with Lottie Android, or some JS/TS dev who knows a decent amount about JS/TS
  2. The same exact API as V7. Wanna upgrade to V8? Make sure your RN version is high enough, and then just bump Lottie RN and you are done. No breaking API changes.
  3. I am open to debate on this but New arch only. I do not want to carry over the bridge. It has been annoying keeping two of these maintained for years. One architecture, THE architecture of RN.

In an ideal world, i want people to have a good API as part of RN's standard library so they can make stuff like Lottie RN on their own for their own code, and for libraries that provide basic functionality to go away, but maybe it is still too soon for that.

So we are going with Nitro. It will require some pretty high minimum RN version, but it will be worth it. We can make a V7 branch of the current Lottie, and put all the fixes in there so people can keep using the old implementation for a while longer.

lin72h, arasrezaei, adamhari, mrousavy, and migueldaipre reacted with hooray emojimrousavy, migueldaipre, and manyaagarwal reacted with heart emojimrousavy reacted with rocket emoji
@TheRogue76
Copy link
CollaboratorAuthor

TheRogue76 commentedApr 5, 2025
edited
Loading

Base View is now loading fine on iOS:
Screenshot 2025-04-05 at 16 55 01
Android is still not picking up the view though, so need to investigate

lin72h reacted with hooray emoji

@TheRogue76
Copy link
CollaboratorAuthor

Alright, Android fixed:
Screenshot 2025-04-05 at 17 59 16

@TheRogue76
Copy link
CollaboratorAuthor

Whelp, guess i am committed now:

Screen.Recording.2025-04-05.at.20.05.54.mov
mrousavy reacted with heart emoji

@TheRogue76TheRogue76 requested a review fromCopilotApril 5, 2025 22:56
Copy link

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 191 out of 203 changed files in this pull request and generated no comments.

Files not reviewed (12)
  • .editorconfig: Language not supported
  • .gitattributes: Language not supported
  • .github/FUNDING.yml: Language not supported
  • .github/workflows/android-fabric-build.yml: Language not supported
  • .github/workflows/android-paper-build.yml: Language not supported
  • .github/workflows/ios-fabric-build.yml: Language not supported
  • .github/workflows/ios-paper-build.yml: Language not supported
  • .github/workflows/lint-test.yml: Language not supported
  • .nvmrc: Language not supported
  • .vscode/settings.json: Language not supported
  • .watchmanconfig: Language not supported
  • CODEOWNERS: Language not supported
Comments suppressed due to low confidence (1)

CHANGELOG.md:1

  • The entire changelog has been removed. If this removal is intentional as part of the migration to the Nitro architecture, consider archiving the historical changelog to preserve critical release notes for users.
-# Changelog

Copy link
Member

Choose a reason for hiding this comment

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

We can add our usernames.

@TheRogue76
Copy link
CollaboratorAuthor

iOS working now
Screenshot 2025-04-12 at 18 18 23

Copy link

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 194 out of 206 changed files in this pull request and generated no comments.

Files not reviewed (12)
  • .editorconfig: Language not supported
  • .gitattributes: Language not supported
  • .github/FUNDING.yml: Language not supported
  • .github/workflows/android-fabric-build.yml: Language not supported
  • .github/workflows/android-paper-build.yml: Language not supported
  • .github/workflows/ios-fabric-build.yml: Language not supported
  • .github/workflows/ios-paper-build.yml: Language not supported
  • .github/workflows/lint-test.yml: Language not supported
  • .nvmrc: Language not supported
  • .vscode/settings.json: Language not supported
  • .watchmanconfig: Language not supported
  • CODEOWNERS: Language not supported
Comments suppressed due to low confidence (3)

CHANGELOG.md:1

  • The complete removal of the CHANGELOG.md file may lead to losing historical release information. Please confirm that the changelog has been migrated or that this deletion is intentional.
-# Changelog ... (entire file removed)

.yarnrc.yml:1

  • Ensure that the updated Yarn configuration—including the addition of the workspace-tools plugin and the upgrade to Yarn v3.6.1—is backed by integration tests to catch any issues with dependency resolution.
nodeLinker: node-modules

.github/workflows/ci.yml:71

  • Review the cache key strategy to ensure that changes in dependency files are correctly detected and that cache invalidation works as intended.
key: ${{ runner.os }}-turborepo-android-${{ hashFiles('yarn.lock') }}

@TheRogue76
Copy link
CollaboratorAuthor

Color filters working just fine on iOS now!
Screenshot 2025-04-12 at 19 28 05

lin72h reacted with hooray emoji

@TheRogue76
Copy link
CollaboratorAuthor

iOS's commands are still buggy. To figure out what is exactly wrong with them. Afterwards we can do a little RC or Alpha release

@TheRogue76
Copy link
CollaboratorAuthor

@matinzd

@mrousavy
Copy link
Contributor

This is super exciting! 🤩

@mrousavy
Copy link
Contributor

iOS's commands are still buggy.

Have you explored usingNitro Views instead of normal Fabric views? Then you're using Nitro for everything, even callbacks. No more commands, no ObjC

@matinzdmatinzd changed the titleLottie V8, now with NitroLottie V9, now with NitroAug 7, 2025
@matinzdmatinzd changed the titleLottie V9, now with NitroLottie V8, now with NitroAug 7, 2025
@staleStale
Copy link

stalebot commentedSep 6, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestalebot added the staleThere has been a lack of activity on this issue and it may be closed soon. labelSep 6, 2025
@matinzdmatinzd removed the staleThere has been a lack of activity on this issue and it may be closed soon. labelSep 7, 2025
@matinzd
Copy link
Member

remove stale

@TheRogue76
Copy link
CollaboratorAuthor

iOS's commands are still buggy.

Have you explored usingNitro Views instead of normal Fabric views? Then you're using Nitro for everything, even callbacks. No more commands, no ObjC

Hi Marc. Sorry i have been managing a whole bunch of other projects and this message fell into my very very overflowing inbox 😅. It looks pretty much like what i would have wanted from the get go. Wouldn't mind taking another look, but don't have a lot of free time at the moment to maintain this PR or wrap it up.@matinzd Don't know if you want to take a crack at it or not, but if you do, i might be able to help

mrousavy reacted with heart emoji

@staleStale
Copy link

stalebot commentedOct 7, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestalebot added the staleThere has been a lack of activity on this issue and it may be closed soon. labelOct 7, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@matinzdmatinzdmatinzd left review comments

Copilot code reviewCopilotCopilot left review comments

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
staleThere has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@TheRogue76@mrousavy@matinzd

[8]ページ先頭

©2009-2025 Movatter.jp