Skip to content

single_select native flow button does not render on WhatsApp iOS #191

@SupremeOwi

Description

@SupremeOwi

Bug: single_select native flow button renders on Android but not on iOS

Summary

InteractiveMessage.NativeFlowMessage.NativeFlowButton with name="single_select" works/rendered correctly on WhatsApp Android, but it does not render on WhatsApp iOS.

Other native flow buttons such as quick_reply can render normally, so the issue seems specific to single_select.

Environment

  • neonize version: 0.3.18.post0
  • Python version: 3.10.9
  • OS: Windows / Linux
  • WhatsApp Android: works
  • WhatsApp iOS: not rendered

Minimal Reproduction

await client.send_message(
    chat_jid,
    Message(
        viewOnceMessage=FutureProofMessage(
            message=Message(
                messageContextInfo=MessageContextInfo(
                    deviceListMetadata=DeviceListMetadata(),
                    deviceListMetadataVersion=2,
                ),
                interactiveMessage=InteractiveMessage(
                    body=InteractiveMessage.Body(text="Please select one item"),
                    footer=InteractiveMessage.Footer(text="Test"),
                    header=InteractiveMessage.Header(
                        title="Single Select Test",
                        subtitle="Test",
                        hasMediaAttachment=False,
                    ),
                    nativeFlowMessage=InteractiveMessage.NativeFlowMessage(
                        buttons=[
                            InteractiveMessage.NativeFlowMessage.NativeFlowButton(
                                name="single_select",
                                buttonParamsJSON='{"title":"Choose","sections":[{"title":"Options","rows":[{"header":"Header 1","title":"Option 1","description":"Description 1","id":"option_1"},{"header":"Header 2","title":"Option 2","description":"Description 2","id":"option_2"}]}]}',
                            )
                        ]
                    ),
                ),
            )
        )
    ),
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions