stomp-js / stompjs

Javascript and Typescript Stomp client for Web browsers and node.js apps
Apache License 2.0
770 stars 81 forks source link

Error: Cannot create URL for blob on Android after set forceBinaryWSFrames is true #546

Closed simonho1025 closed 9 months ago

simonho1025 commented 1 year ago
stompClient.configure({
    brokerURL: brokerURL,
    forceBinaryWSFrames: true,
    appendMissingNULLonIncoming: true,
    debug: (str) => {
        console.log('str: ', str);
    },
})

I'm creating react-native app with stompjs. I set the forceBinaryWSFrames is true according to the document and work on iOS, but Android not work.

The error show below, and its keep running and return the same error: image

i'm using RN version: ^0.64.4 and stompjs version : ^7.0.0

kum-deepak commented 1 year ago

Unfortunately, I do not use RN. Please post your solution when you resolve the issue.

The issue may be with RN. Searching on the error message give a few issue references on RN. I am not sure if that woould help.