Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

HTML does not seem to work on Android 13 #20

@nicolaspernoud

Description

@nicolaspernoud

Hello, This plugin works fine for web, but on Android (13), this code

                    await RichClipboard.setData(RichClipboardData(
                      html: html,
                    ));

gives the following error :
E/MethodChannel#com.bringingfire.rich_clipboard( 9747): java.lang.IllegalArgumentException: Plain text must be supplied if HTML text is supplied
it the code is altered to be

                    await RichClipboard.setData(RichClipboardData(
                      text: html,
                      html: html,
                    ));

Only text is copied in the clipboard...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions