BranchMetrics / unity-branch-deep-linking-attribution

The Branch Unity 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.
https://docs.branch.io/apps/unity/
MIT License
118 stars 24 forks source link

check for null fields in branch link data to avoid exception errors #75

Closed bvschwartz closed 7 years ago

bvschwartz commented 7 years ago

I was getting mysterious exception errors from deep in the branch unity code. It was because the branch link data had many null fields such as $og_title. I really don't know why other people weren't seeing the same problems. Also... this is a brute force fix. It would be better to have a shared function/method for reading fields that checked for null instead of doing them one by one.