Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

After running npm install go to ./node_modules/socket.io-client/socket.io.js and change line 2985 from
var isAndroid = navigator.userAgent.match(/Android/i); to var isAndroid = /Android/i.test(navigator.userAgent);

That should stop the client from crashing (because navigator.userAgent is null) but also means you don't have to do the hack of setting it in your code, which breaks when the Chrome debugger window is open.

About

A simple demo app using react native and socket.io

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages