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

SDK 1409 [Unity] Expose QR code creation methods #210

Closed rob-gioia-branch closed 7 months ago

rob-gioia-branch commented 1 year ago

Reference

SDK 1409 [Unity] Expose QR code creation methods

Summary

Enabled creation of QR codes using the Unity SDK. Android fully works, iOS may require a native SDK update to bridge the functionality.

UnityQRDemo

Motivation

To keep Unity up to date with our other SDKs

Type Of Change

Testing Instructions

cc @BranchMetrics/saas-sdk-devs for visibility.

nsingh-branch commented 1 year ago

@rob-gioia-branch Just tested it on Android and it looks good. But i see the issue with iOS and the callBackWithData. What's required to be updated in the iOS SDK to fix this?

rob-gioia-branch commented 1 year ago

@rob-gioia-branch Just tested it on Android and it looks good. But i see the issue with iOS and the callBackWithData. What's required to be updated in the iOS SDK to fix this?

Hi @nsingh-branch , thank you for reviewing! More details on the iOS issue here https://branch.slack.com/archives/CDFGXRM9S/p1692298562187739 but essentially:

ahmednawar commented 11 months ago

@nsingh-branch @rob-gioia-branch what's the next step here?

nsingh-branch commented 11 months ago

@ahmednawar There is a small change required on the native iOS side. It has been merged in and is currently just waiting on release.

ahmednawar commented 11 months ago

When is the release planned?

nsingh-branch commented 11 months ago

When is the release planned?

I believe it will go out with the iOS 17 changes once those are ready.

ahmednawar commented 10 months ago

Did this go out?

rob-gioia-branch commented 10 months ago

Did this go out?

Hey @ahmednawar ! Yes Nipun informed me that the new iOS SDK was released. I just need to make the change and test it in this Branch and then this will be good to go. Apologies, I've been swamped with lots of client questions but will look to get this done by early next week

nsingh-branch commented 8 months ago

@rob-gioia-branch Just wanted to check and see if this is ready to be merged and released or is more testing/review required?

rob-gioia-branch commented 8 months ago

Hi @nsingh-branch thanks for checking! There is currently one bug on iOS that I am still debugging and just started looking at again today. The request from Branch comes back with a 200 success code but the app freezes up with an invalid JSON write error.

2024-01-02 16:30:41.713094-0500 BranchUnityTestBed[65009:393413] [branch.io] BranchQRCode.m(159) Debug: Network finish operation https://api3.branch.io/v1/qr-code 0.495s. Status 200.
2024-01-02 16:30:41.718777-0500 BranchUnityTestBed[65009:393413] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid type in JSON write (OS_dispatch_data)'

I'm going to take a deeper look tomorrow, may need a second set of eyes on it from you or @echo-branch if I still can't figure it out after that, because I don't want that one bug to keep holding up this task. Thanks!