React Native zoom sdk integration failed with error Could not find method packagingOptions() for arguments

Description
React Native zoom sdk integration failed with error Could not find method packagingOptions() for arguments

Errors
A problem occurred evaluating project ‘:app’.

Could not find method packagingOptions() for arguments [build_1san3knh4xglqlu41q97hz4gg$_run_closure4@33c27cb6] on project ‘:app’ of type org.gradle.api.Project.

Which React Native Video SDK version?
1.2.0

Additional context
Followed same integration steps mentioned by zoom for react native sdk integration