rive-app / rive-app/rive-flutter

[rive-native] print duplicates error

Open
#490 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
Dart
Stars
1.5k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

if using soloud and rive-native packages.
this warning appear to console window.

objc[18661]: Class ma_ios_notification_handler is implemented in both 
/private/var/containers/Bundle/Application/6530BDFE-7889-4C39-A90F-
003132CEBF18/Runner.app/Frameworks/rive_native.framework/rive_native (0x106620f40) and 
/private/var/containers/Bundle/Application/6530BDFE-7889-4C39-A90F-
003132CEBF18/Runner.app/Frameworks/flutter_soloud.framework/flutter_soloud (0x1053046f8).
This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.

and this issue raised rive animation init crash.

and found init crash issue solution:

  1. remove soloud(or duplicates package)
  2. flutter clean & flutter pub get
  3. flutter run

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the iOS build with both soloud and rive-native, then inspect how their native frameworks define ma_ios_notification_handler and the resulting Rive animation initialization crash. Done means the duplicate warning and initialization crash no longer occur when both packages are used.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.