Expo Branch: undefined is not an object (evaluating ‘RNBranch.STANDARD EVENT ADD_TO_CART’)

I am using expo for my react native application. I start my application using the expo start command and it works fine. When I start the app back the next day using the same command expo start I encounter this error. I did not change a single line of code.

I believe this has something to do with the expo branch feature (https://docs.expo.io/versions/latest/sdk/branch/). This error only occurred on Android. It is working fine in IOS.

Error Message