Unity and /getTags

Answered

Comments

9 comments

  • Avatar
    Alexander Belyaev

    Hello !

    I suggest implementing /getTags API request using .NET into your application for that purpose. Currently, there is no equivalent method in the Unity plugin itself. You may refer to our /createMessage .NET sample for more information on syntax.

    Regards, Alex.

  • Avatar
    joaokucera

    Hello Alex,

    Thank for your quick response.

    Could you send me a link to /createMessage .NET sample. I couldn't find by myself.

    Regards, João Kucera.

  • Avatar
    Alexander Belyaev

    Sure. Please follow the link below and switch to the .Net

    http://docs.pushwoosh.com/docs/createmessage#createmessage-snippets

    Regards, Alex.

  • Avatar
    joaokucera

    Hi Alex,

    I created a code to call /getTags in Unity: http://pastebin.com/XM3kNu4L

    The method GetTags is the main on. I followed the link that you provide me, but it's not working.

    It's the error that I'm having: "WebException: Error writing request: The authentication or decryption has failed. at System.Net.WebConnectionStream.WriteHeaders () at System.Net.WebConnectionStream.SetHeaders (System.Byte[] buffer) at System.Net.HttpWebRequest.SendRequestHeaders (Boolean propagate_error)"

    Could you advise me about this authentication issue and how to fix that?

    Regards, João Kucera.

  • Avatar
    Vitaly Romanychev

    Hi,

    The following thread might be useful for you, please have a look:

    http://stackoverflow.com/questions/36412349/in-c-mono-not-able-to-communicate-with-google-cloud-storage

  • Avatar
    joaokucera

    Thank you Vitaly, but it don't help me. I think my issue is with the data that I have to send in the Request Header.

  • Avatar
    joaokucera

    Hi Alex, have you seen my last message about my /getTags implementation in Unity?

  • Avatar
    Alexander Belyaev

    Hello,

    I’ve created a task for our developers to add a getTags method to our Unity plugin, so as soon as it is released you will be able to use it out-of-the-box. Please stay tuned for the further updates!

    Regards, Alex.

  • Avatar
    joaokucera

    Thank you Alex!

Please sign in to leave a comment.