BranchMetrics / xamarin-branch-deep-linking-attribution

The Branch Xamarin 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/xamarin/
MIT License
72 stars 17 forks source link

Branch doesn't contain definition for "EnableLogging" #136

Closed kirillivonin closed 3 years ago

kirillivonin commented 3 years ago

image

As Debug mode is being phased out, I can't enable logging anymore as of 7.x Branch Xamarin iOS SDK. As far as I can see from the source, EnableLogging is private and not exposed

echo-branch commented 3 years ago

This is in our backlog.

For iOS you can try the following code snippet to enable it.

// Enables logging, this is really an ugly way of doing it, need a cleaner API for end users
IOSNativeBranch.Branch tmp = IOSNativeBranch.Branch.GetInstance("your_branch_key");
tmp.EnableLogging();

On Android, you could try the following code. But I believe its broken and that's why the shared one didn't make the release.

AndroidNativeBranch.EnableLogging();
kirillivonin commented 3 years ago

Thanks!