Mobile Support SDK: Why are all of my end-users called Mobile App User?

Return to top
Have more questions? Submit a request

5 Comments

  • Amer Sultan

    Hello,

     

    Are we looking for a specific version of Zendesk library to check against the mentioned solution.
    We are on ZendeskSDK (2.3.0) and Swift 4.2, the method which we can find in the library is

    • let ident = Identity.createAnonymous(name: "Test XYZ", email: "usera@XYZ.com")
      Zendesk.instance?.setIdentity(ident) *

    Please confirm if this is appropriate for the solution?

    0
  • Brett Bowser
    Zendesk Community Team

    Hi Amer,

    I was able to reach out internally and it looks like our documentation is using old code snippets. What you're using is correct :) I've also attached our Support SDK for iOS in a nutshell documentation which should also be helpful.

    Let us know if you have any other questions!

    0
  • Matteo
    Zendesk Community Team

    Hi Amer,

    I have updated the snippets in the article to the most recent version, thank you for reporting it.

    Let us know if you have any other questions!

    0
  • Jon Simone

    We experiencing this issue and are using JWT authorization. Any ideas?

    Here is the code:


    NSString *token = [RCTConvert NSString:params[@"token"]];

    id<ZDKObjCIdentity> userIdentity = [[ZDKObjCJwt alloc] initWithToken:token];
    [[ZDKZendesk instance] setIdentity:userIdentity];
    0
  • Eric Nelson
    Zendesk Developer Support Team

    Hey Jon,

    It looks like you're using authenticating the end-users via JWT, but you're not defining any of their identity info. Due to that we are defaulting to the default, the same way we would an anonymous identity. You can read more about it here.

    Have a wonderful day!

    Eric Nelson | Manager - Developer Advocacy

    0

Please sign in to leave a comment.

Powered by Zendesk