wiretap
                                
                                 wiretap copied to clipboard
                                
                                    wiretap copied to clipboard
                            
                            
                            
                        mobx-wiretap and mobx-wiretap-remote Not working with react-native
Mobx Wiretap desktop version 0.2.0 for Mac
package.json
"react-native": "^0.55.0",
...
"mobx-wiretap": "^0.13.1",
"mobx-wiretap-remote": "^0.3.0",
I see the PORT is 4000 and can see the polling request to PORT 4000 but nothing shows up in the wiretap app.
import { wiretap, log } from 'mobx-wiretap'
wiretap('App Name', {
  peerId: '03733bf1-d79b-412a-a9e8-1b3badf38fe9'
})
log("CustomObject", {
  question: "Are unicorns real?"
})
The same code above using mobx-wiretap-remote in place oа  'mobx-wiretap' I get an error.
Error messages:
[Unhandled promise rejection: TypeError: undefined is not a function (evaluating 'global.postMessage(messageName, '*')')]
- node_modules/mobx-wiretap-remote/mobx.js:1314:25 in setZeroTimeoutPostMessage
- node_modules/mobx-wiretap-remote/mobx.js:9157:22 in _delayedAbort
- node_modules/mobx-wiretap-remote/mobx.js:8870:23 in Peer
- node_modules/mobx-wiretap-remote/mobx.js:8773:66 in <unknown>
- node_modules/promise/setimmediate/core.js:45:7 in tryCallTwo
- node_modules/promise/setimmediate/core.js:200:23 in doResolve
- node_modules/promise/setimmediate/core.js:66:12 in Promise
- node_modules/mobx-wiretap-remote/mobx.js:8772:21 in peer
- node_modules/mobx-wiretap-remote/mobx.js:1838:81 in initialize
- node_modules/mobx-wiretap-remote/mobx.js:10422:73 in wiretap
* src/App.js:10:8 in <unknown>
- node_modules/metro/src/lib/polyfills/require.js:214:12 in loadModuleImplementation
- node_modules/metro/src/lib/polyfills/require.js:148:36 in guardedLoadModule
- node_modules/metro/src/lib/polyfills/require.js:132:20 in _require
- node_modules/react-native-scripts/build/bin/crna-entry-web.js:7:11 in <unknown>
- node_modules/metro/src/lib/polyfills/require.js:214:12 in loadModuleImplementation
- node_modules/metro/src/lib/polyfills/require.js:141:45 in guardedLoadModule
- node_modules/metro/src/lib/polyfills/require.js:132:20 in _require
* null:null in global code
Sorry, we never tested wiretap with react native.
Leaving this here in case it ever gets supported. Looks pretty cool so far :)