bytedance / bytedance/rangers_applog_flutter_plugin

ios crash

Open
#10 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
13
Forks
12
PR merge metrics
No merged PRs in 30d

Description

NSDictionary *param = [arguments valueForKey:@"param"];
BOOL ret = [[BDAutoTrack sharedTrack] eventV3:event params:param];
flutter端如果传空参数,ios这里没有进行空校验,崩溃了。
[NSNull countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x1dd004558

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the native iOS handler containing the shown NSDictionary and eventV3 call, then reproduce the crash by sending an empty param from Flutter. Trace how the empty value becomes NSNull and verify the handler no longer crashes while preserving normal event tracking; add or update a regression test if the existing test setup covers this path.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.