Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
chore(deps) react-native-watch-connectivity @ 1.0.4
Saúl Ibarra Corretgéb6501412c463
diff --git a/ios/Podfile.lock b/ios/Podfile.lockindex eb714c0c00..11e90097f0 100644--- a/ios/Podfile.lock+++ b/ios/Podfile.lock@@ -387,7 +387,7 @@ PODS:- React-Core- RNSVG (12.1.0):- React- - RNWatch (0.4.3):+ - RNWatch (1.0.4):- React- Yoga (1.14.0)@@ -644,7 +644,7 @@ SPEC CHECKSUMS:RNScreens: f7ad633b2e0190b77b6a7aab7f914fad6f198d8dRNSound: 27e8268bdb0a1f191f219a33267f7e0445e8d62fRNSVG: ce9d996113475209013317e48b05c21ee988d42e- RNWatch: a5320c959c75e72845c07985f3e935e58998f1d3+ RNWatch: 99637948ec9b5c9ec5a41920642594ad5ba07e80Yoga: 96b469c5e81ff51b917b92e8c3390642d4ded30cPODFILE CHECKSUM: 2e6a49cec4d0e9eb135654df2dddb3448d26cb4adiff --git a/package-lock.json b/package-lock.jsonindex 552e5ce95b..248788406f 100644--- a/package-lock.json+++ b/package-lock.json@@ -103,7 +103,7 @@"react-native-tab-view": "2.16.0","react-native-url-polyfill": "1.3.0","react-native-video": "5.2.0",- "react-native-watch-connectivity": "0.4.3",+ "react-native-watch-connectivity": "1.0.4","react-native-webrtc": "1.94.1","react-native-webview": "11.0.2","react-native-youtube-iframe": "2.1.1",@@ -12692,6 +12692,11 @@"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==","dev": true},+ "node_modules/lodash.sortby": {+ "version": "4.7.0",+ "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",+ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg="+ },"node_modules/lodash.throttle": {"version": "4.1.1","resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",@@ -16484,9 +16489,12 @@}},"node_modules/react-native-watch-connectivity": {- "version": "0.4.3",- "resolved": "https://registry.npmjs.org/react-native-watch-connectivity/-/react-native-watch-connectivity-0.4.3.tgz",- "integrity": "sha512-iqdJ1KpZbR4XGahgVmaeibB7kDhyMT7wrylINgJaYBY38IAiI0LF32VX1umO4pko6n21YF5I/kSeNQ+OXGqqow==",+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/react-native-watch-connectivity/-/react-native-watch-connectivity-1.0.4.tgz",+ "integrity": "sha512-Z7p7fzF6gaWHHM5kVYvM2l5bslc+59obqvfXA+DwqjOaO640APDjU7Sl8R2oglJhzLJArbmO25lH1YY1pSd8AQ==",+ "dependencies": {+ "lodash.sortby": "^4.7.0"+ },"peerDependencies": {"react": ">=15.1","react-native": ">=0.40"@@ -30487,6 +30495,11 @@"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==","dev": true},+ "lodash.sortby": {+ "version": "4.7.0",+ "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",+ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg="+ },"lodash.throttle": {"version": "4.1.1","resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",@@ -33440,9 +33453,12 @@}},"react-native-watch-connectivity": {- "version": "0.4.3",- "resolved": "https://registry.npmjs.org/react-native-watch-connectivity/-/react-native-watch-connectivity-0.4.3.tgz",- "integrity": "sha512-iqdJ1KpZbR4XGahgVmaeibB7kDhyMT7wrylINgJaYBY38IAiI0LF32VX1umO4pko6n21YF5I/kSeNQ+OXGqqow=="+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/react-native-watch-connectivity/-/react-native-watch-connectivity-1.0.4.tgz",+ "integrity": "sha512-Z7p7fzF6gaWHHM5kVYvM2l5bslc+59obqvfXA+DwqjOaO640APDjU7Sl8R2oglJhzLJArbmO25lH1YY1pSd8AQ==",+ "requires": {+ "lodash.sortby": "^4.7.0"+ }},"react-native-webrtc": {"version": "1.94.1",diff --git a/package.json b/package.jsonindex 03f12430bc..06b1fca165 100644--- a/package.json+++ b/package.json@@ -108,7 +108,7 @@"react-native-tab-view": "2.16.0","react-native-url-polyfill": "1.3.0","react-native-video": "5.2.0",- "react-native-watch-connectivity": "0.4.3",+ "react-native-watch-connectivity": "1.0.4","react-native-webrtc": "1.94.1","react-native-webview": "11.0.2","react-native-youtube-iframe": "2.1.1",diff --git a/react/features/mobile/watchos/middleware.js b/react/features/mobile/watchos/middleware.jsindex be604078ca..e2bc31764d 100644--- a/react/features/mobile/watchos/middleware.js+++ b/react/features/mobile/watchos/middleware.js@@ -1,7 +1,7 @@// @flowimport { Platform } from 'react-native';-import * as watch from 'react-native-watch-connectivity';+import { updateApplicationContext, watchEvents } from 'react-native-watch-connectivity';import { appNavigate } from '../../app/actions';import { APP_WILL_MOUNT } from '../../base/app';@@ -70,18 +70,12 @@ watchOSEnabled && MiddlewareRegistry.register(store => next => action => {* @returns {void}*/function _appWillMount({ dispatch, getState }) {- watch.subscribeToWatchReachability((error, reachable) => {+ watchEvents.addListener('reachability', reachable => {dispatch(setWatchReachable(reachable));_updateApplicationContext(getState);});- watch.subscribeToMessages((error, message) => {- if (error) {- logger.error('watch.subscribeToMessages error:', error);-- return;- }-+ watchEvents.addListener('message', message => {const {command,sessionID@@ -185,7 +179,7 @@ function _updateApplicationContext(stateful) {}try {- watch.updateApplicationContext({+ updateApplicationContext({conferenceTimestamp,conferenceURL: getCurrentConferenceUrl(state),micMuted: _isAudioMuted(state),