Skip to content

Error processing the utf-8 encoding, decoder returned ‘Property 'TextDecoder' doesn't exist #48

@anthlasserre

Description

@anthlasserre

Hey Ably,

I've been facing an issue with implementing the vcdiff-decoder library within a React Native project.

Ably: RealtimeChannel.onMessage(): [ErrorInfo: Error processing the utf-8 encoding, decoder returned ‘Property 'TextDecoder' doesn't exist’; statusCode=400; code=40013]

I have finally fixed it by importing text-encoding-polyfill at the very root of the app.

I think you should add in the documentation this specific React Native installation.

PR has been raised just below 👇🏼

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