rive-app / rive-app/rive-flutter
[rive-native] print duplicates error
Open
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:
- remove soloud(or duplicates package)
- flutter clean & flutter pub get
- flutter run
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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