title: React native Agora 3.5.0 TypeError: _reactNativeAgora.RtcEngineContext is not a constructor
body: <p>I updated our apss agora version to 3.5.0 because it wasn't working on ios 15. nwo it works on ios 15 but does not work on android.</p>
  <p>Code starts exactly of this</p>
  <p><a href="https://github.com/AgoraIO-Community/react-native-agora/blob/master/example/src/examples/basic/JoinChannelVideo/JoinChannelVideo.tsx" rel="nofollow noreferrer">https://github.com/AgoraIO-Community/react-native-agora/blob/master/example/src/examples/basic/JoinChannelVideo/JoinChannelVideo.tsx</a></p>
  <pre><code>UNSAFE_componentWillMount() {
      this._initEngine();
    }
  
    componentWillUnmount() {
      this._engine?.destroy();
    }
  
    _initEngine = async () =&gt; {
      this._engine = await RtcEngine.createWithContext(
        new RtcEngineContext(config.appId)
      );
      this._addListeners();
  
      await this._engine.enableVideo();
      await this._engine.startPreview();
      await this._engine.setChannelProfile(ChannelProfile.LiveBroadcasting);
      await this._engine.setClientRole(ClientRole.Broadcaster);
    };
  </code></pre>
  <p>And it says</p>
  <pre><code>TypeError: _reactNativeAgora.RtcEngineContext is not a constructor
  </code></pre>