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

Fix linux editor string splitting #190

Closed Kitcat490 closed 3 years ago

Kitcat490 commented 3 years ago

BranchEditor had conditional compilation for handling newlines for UNITY_EDITOR_OSX and UNITY_EDITOR_WIN, but not UNITY_EDITOR_LINUX. The solution here is to have the Linux editor use the same code path as the OSX editor, as both systems treat newlines the same way.

This change has been already in production at my workplace for over a year without any issues, so I'm quite confident that it does not cause any problems.