react-native-agora icon indicating copy to clipboard operation
react-native-agora copied to clipboard

V4 Migration Guide is pretty unclear

Open anisurrahman072 opened this issue 3 months ago • 6 comments

I'm using Agora for last 2 years. All the code was working pretty well with version v3 (^3.7.0). Recently started the migration to v4 (^4.3.0-build.1). Found a migration guide. (Link)

I found that the MIGRATION guide of above is pretty unclear. Just want to share 1 example below 👇

In V3 I used this code & it was working pretty well 👇

import { RtcLocalView, VideoRenderMode } from 'react-native-agora'

return (
        <RtcLocalView.SurfaceView
		renderMode={VideoRenderMode.Hidden}
		zOrderMediaOverlay={false}
		zOrderOnTop={false}
		style={styles.rtcViewStyle}
	/>
);

When I converted the version to v4 from package.json file, I see that all of these RtcLocalView, VideoRenderMode are stale. Ok great, but why they were not mentioned in the "Migration Guide" ?

This waste my time to identify, "Hey, what happened! Migration guide didn't specify it 😵‍💫 ".

My concern, did I miss any new Migration guide or some thing like that ? Or If I'm Ok, then what are the new code in V4 instead of above mentioned functions of V3 ?

@LichKing-2234 would you help here please ? We are a paid customer for last 2 years.

anisurrahman072 avatar Mar 18 '24 08:03 anisurrahman072