Inconsistent default bot prompt behavior between Android and iOS
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- dart, flutter, ios
- Domain
- authentication, mobile
Research direction
Start at the iOS plugin path used by LineSDK.instance.login() when no LoginOption is supplied, and trace how botPrompt is read before the authorization request. Verify that the fallback is "normal" while explicitly supplied "normal" and "aggressive" values remain unchanged; done means matching Android behavior for default and explicit values.
Written by the indexing model from the issue text.
Description
When calling LineSDK.instance.login() without a LoginOption, the plugin handles botPrompt differently across platforms:
- Android: Defaults to "normal".
- iOS: Leaves botPromptStyle as nil, omitting bot_prompt from the authorization request.
This can cause different add-friend prompt behavior for the same Flutter login call.
Expected behavior
Default to "normal" on both platforms when no value is provided, while preserving explicitly supplied "normal" and "aggressive" values.
Proposed fix
Apply the "normal" fallback when reading botPrompt in the iOS plugin.
- Dominant language
- Dart
- Stars
- 225
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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.
More from line/flutter_line_sdk
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
line/flutter_line_sdk#151 · 4 comments · 2 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
line/flutter_line_sdk#147 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
line/flutter_line_sdk#138 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
line/flutter_line_sdk#135 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
line/flutter_line_sdk#125 · 1 comment ·
All issues in line/flutter_line_sdk
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
code quality good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Suwayomi/Suwayomi-Tsumiru#479 ·
-
Build Failure: agora_rtc_engine compiled against android-31 while dependencies require android-34+ Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
conceptadev/noir#95 ·