facebook-sdk-for-unity
facebook-sdk-for-unity copied to clipboard
Feature Request: Expose the ability to set a custom userId
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");
I'm also interested in this feature. Any updates here?