Should check availability of removeEventListener when using them at react native sdk

On the file client/utils/onOnline.ts and other locations, using the removeEventListener function without checking can cause the app to crash with other RTC libraries.

if (typeof document !== 'undefined' && document.addEventListener) {
    document.addEventListener('online', callback);
    return () => document.removeEventListener('online', callback);
  }

Hello @ptvu0610, Could you please provide the error logs related to this issue for further investigation?

Thank you.