Comments (7)
We haven't really tested Expo.
@Calinteodor can you pl take a look when you can? We should likely add an Expo example...
from jitsi-meet.
Good to know!
from jitsi-meet.
Can you try using JSC instead of Hermes?
from jitsi-meet.
Can you try using JSC instead of Hermes?
Thanks for replying. I've never had to switch Hermes to JSC. So, i'll show what I did....
I've applied this changes to my Podfile:
pod 'React-jsi', :path => "../node_modules/react-native/ReactCommon/jsi"
use_react_native!(
:path => config[:reactNativePath],
:hermes_enabled => false, # disabled Hermes
:fabric_enabled => flags[:fabric_enabled],
:app_path => "#{Pod::Config.instance.installation_root}/..",
)
also
"expo": {
"jsEngine": "jsc",
}
for android, I've added jsc-android
to my dev dependencies.
After all those changes, I figured, I wasn't using hermes anymore. However, I still get the same error.
TypeError: Super expression must either be null or a function, js engine: hermes
and
TypeError: Cannot read property 'JitsiMeeting' of undefined
from jitsi-meet.
It still says the engine is Hermes though.
from jitsi-meet.
It still says the engine is Hermes though.
Sorry about that! I've actually only sent it wrong. The error is the same still, only it won't show hermes... see it below:
ERROR TypeError: Super expression must either be null or a function
Prontuario@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:573315:90
RCTSafeAreaView
ScreenWrapper@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:179919:24
StaticContainer@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:178424:17
EnsureSingleNavigator@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:174225:24
SceneView@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:178329:22
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
CardSheet@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:546264:23
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:82018:62
PanGestureHandler@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:134610:38
PanGestureHandler@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:546347:34
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:82018:62
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
Card@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:545746:36
CardContainer@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:545366:34
RNSScreen
@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:82018:62
Suspender@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:502319:22
Suspense
Freeze@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:502338:23
DelayedFreeze@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:501862:22
InnerScreen@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:501910:36
Screen@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:502186:36
MaybeScreen@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:546399:24
RNSScreenContainer
ScreenContainer@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:502042:31
MaybeScreenContainer@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:546389:23
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
Background@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:543760:21
CardStack@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:544947:36
RNCSafeAreaProvider
SafeAreaProvider@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:385346:24
SafeAreaProviderCompat@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:544733:25
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
GestureHandlerRootView
StackView@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:542814:36
PreventRemoveProvider@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:177288:25
NavigationContent@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:178115:22
@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:178131:27
StackNavigator@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:542708:18
AppRoutes
EnsureSingleNavigator@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:174225:24
BaseNavigationContainer@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:173824:28
ThemeProvider@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:179346:21
NavigationContainerInner@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:179234:26
Routes@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:173175:80
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
AuthProvider@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:168889:24
App@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:133948:41
withDevTools(App)@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:133567:27
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
RCTView
View@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65383:43
AppContainer@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:65225:36
main(RootComponent)@http://192.168.1.102:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.routerRoot=app:116834:28
I do believe it's something to do with metro.config.js
...
the one I'm using right now is:
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
const defaultConfig = getDefaultConfig(__dirname);
const {
resolver: { sourceExts, assetExts },
} = getDefaultConfig(__dirname);
const config = {
transformer: {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: true,
},
}),
babelTransformerPath: require.resolve('react-native-svg-transformer'),
},
resolver: {
assetExts: assetExts.filter(ext => ext !== 'svg'),
sourceExts: [...sourceExts, 'svg'],
},
};
module.exports = mergeConfig(defaultConfig, config);
but because it's expo, I could also use:
const { getDefaultConfig } = require('expo/metro-config');
const { mergeConfig } = require('metro-config');
const defaultConfig = getDefaultConfig(__dirname);
const {
resolver: { sourceExts, assetExts },
} = getDefaultConfig(__dirname);
const config = {
transformer: {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: true,
},
}),
babelTransformerPath: require.resolve('react-native-svg-transformer'),
},
resolver: {
assetExts: assetExts.filter(ext => ext !== 'svg'),
sourceExts: [...sourceExts, 'svg'],
},
};
module.exports = mergeConfig(defaultConfig, config);
both ways would get my app running. But either way, I'd get the same error when opening jitsi
from jitsi-meet.
@saghul I believe I have found the issue.
I was working with
EXPO 50.0.7
React native: 0.73.2
I downloaded Jitsi's example and it was working fine. That was when I realized you are using "react-native": "0.72.3"
.
So i've done two tests here.
1- I've downgraded my Expo and React Native.
EXPO 49.0.15
React native: 0.72.10
And now Jitsi is working fine.
2- I've updated the react native version on the example app to the latest and it didn't work.
So, I believe is something to do with the newest React Native version.
But anyways, I could make it work here, which is what I needed. Thank you so much for your help!
from jitsi-meet.
Related Issues (20)
- shared screen Not work in Android 14 HOT 1
- Hi even with the jitsi version8.6.1 the issue persist : HOT 1
- Hi even with Jisti 8.6.1 HOT 1
- Could not resolve org.jitsi.react:jitsi-meet-sdk:8.6.2. HOT 1
- websocket initializing issue prosody log jitsi meet 2.0.9220 HOT 2
- User not able to join the meeting for recompiled Jitsi iOS SDK version 8.6.3 HOT 3
- Getting build error with make command HOT 1
- [React-native SDK] Volume mode is always set to "Phone" HOT 1
- Safari - Screen share stop not working HOT 2
- Microphone not working on iPad HOT 1
- Need Documentation for 'jitsi/web' , How docker image is created ? HOT 1
- Conference video quality drops when a user is on an Electron window HOT 22
- [react-native-sdk] resume() can only be called in the DISCONNECTED state HOT 5
- I am using JitsiMeetView in Custom Activty and hide all the buttons and toolbar. I want to mute / unmute using my own activity button click but nothing found HOT 10
- Build error on android when trying to use 9.0.0 HOT 4
- Add input sensitivity / microphone threshold feature HOT 8
- PiP not working while screen shared eventhough feature flag is enabled HOT 6
- Move Hide Self View to the Video Tab HOT 2
- Recording is not working in some jitsi meet HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jitsi-meet.