I have solved this issue by adding latest version of worklet library even though my project doesn't support it and also adding latest version of reanimated library