facebook-sdk-for-unity icon indicating copy to clipboard operation
facebook-sdk-for-unity copied to clipboard

Feature Request: Expose the ability to set a custom userId

Open stefan-applantis opened this issue 3 years ago • 1 comments

Checklist

  • [x] I've updated to the latest released version of the SDK
  • [x] I've searched for existing feature requests on GitHub issues
  • [x] I've read the Code of Conduct
  • [x] I've given my issue the title: Feature Request: [name of my feature request]

Goals

What do you want to achieve?

I am unable to set the userId property in the current version of the SDK, however both the native iOS and Android SDK's allow this ability. Could this functionality please be exposed to the Unity SDK. I see there is functionality implemented in the IOSWrapper.cs to achieve this, but I can't seem to access it directly.

Code Samples & Details

Please provide a code sample, as well as any additional details, to help us track down the issue. If you can provide a link to a test project that allows us to reproduce the issue, this helps us immensely in both the speed and quality of the fix.

Note: Remember to format your code for readability:

// Current iOS Functionality
AppEvents.userId = "foo"
// Desired C# Functionality
FB.SetUserId("foo");

stefan-applantis avatar Nov 05 '21 04:11 stefan-applantis

I'm also interested in this feature. Any updates here?

AytoMaximo avatar Aug 12 '22 09:08 AytoMaximo