Current Status of Branch SDK integration


Wanted to ask real quick what’s the status of implementing SDK with Expo.

Been working with it lately and calling showShareSheet works perfectly but when trying to call generateShortUrl the app crashes with a

Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference

Following the documentation in GitHub - BranchMetrics/react-native-branch-deep-linking-attribution: The Branch React Native SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.

Running this code post exp build:android.

Thanks in advance.

cc @janic who built the Branch integration

Any update on the status of the Branch SDK for Expo 21?


Hi! I think @jesse may know what’s happening with Branch for SDK 21.

Did you guys ever resolve this issue? I’m getting this same crash on Android 4 years later.