public static void AddTag(string tag, string group)
{
TagGroupsEditor tagGroupsEditor = new TagGroupsEditor(TagGroupsEditorAddTagOnApply);
tagGroupsEditor.SetTag(tag, group).Apply();
}

private static void TagGroupsEditorAddTagOnApply(List<TagGroupsEditor.TagOperation> obj)
{
// throw new NotImplementedException();
}

 

I am using above code to create new tag. But when i go to segment i can't find anything. 

Project: Xamarin.forms

I am using UrbanAirship.NETStandard;

 

 

Didn't find what you were looking for?

New post

Comments

3 comments

  • Hello Nasir,

    Thanks for contacting Airship. My name is Chilun from Technical Support here at Airship and I would be happy to help with this.

    When you mentioned is "not working", are devices not seen in the segment estimator, or are you referring to something else?

    Have you tried to target the tag?

    What is the app key and tag are they using? if they are using a tag_group did you previously create it in the dashboard?

    Please feel free to send me any follow-up questions and I'll gladly get back to you as soon as possible.

    Kind regards,
    Chilun Liu
    Senior Technical Support Engineer
    Airship

    The Embassy Tea House, 195-205 Union Street, London, SE1 0LN
    Portland | San Francisco | London | Paris | New York | New Delhi

    0
  • What i mean is that when i use following line of code:

    tagGroupsEditor.SetTag("tag-in-group1","TestGroup1").Apply(); 

    I can't see the Group created in Airship dashboard for example in Automation or Segments etc.

    I didn't create "TestGroup1" in dashboard. I can see somewhere in documentation that the group will be created if already doesn't exist.

    I suppose i should not share my app key here? Should i send you on support@urbanairship.com?

     

     

     

     

     

    0
  • Hi Nasir,

    There's a ticket of this conversation here:

    https://dirigible.zendesk.com/agent/tickets/53906

    I will communicate with you through that thread.

    Kind regards,
    Chilun Liu
    Senior Technical Support Engineer
    Airship

    The Embassy Tea House, 195-205 Union Street, London, SE1 0LN
    Portland | San Francisco | London | Paris | New York | New Delhi

    0

Please sign in to leave a comment.