Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question]: How do I retrieve a users current tags? #85

Closed
1 task done
matthewrdev opened this issue Dec 21, 2023 · 4 comments
Closed
1 task done

[question]: How do I retrieve a users current tags? #85

matthewrdev opened this issue Dec 21, 2023 · 4 comments

Comments

@matthewrdev
Copy link

matthewrdev commented Dec 21, 2023

How can we help?

As per title.

In previous implementations of the OneSignal Xamarin SDK, I could invoke the following code to retrieve the tags for a given user:

var myTags = await OneSignal.Default.GetTags();

However, in the current OneSignalSDK.DotNet nuget package (5.0.2), I cannot see an equivalent method.

In this repository I can see that the OneSignalSDK.DotNet.OneSignal class has a method CreateOneSignal which creates a platform specific OneSignalSDKInternal which implements a GetTags method.

This is my IntelliSense view for the OneSignalSDK.DotNet.OneSignal APIS:

onesignal-1 onesignal-2

And when I have used dotPeek to inspect the DLLs bundled into the MAUI app, dotPeek does not show any references to OneSignalSDKInternal.

Am I missing a NuGet reference? How can I get access to the GetTags method?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@shepherd-l
Copy link
Contributor

We are in the process of adding GetTags to 5.x and it should be available in the next release. (We have a PR up for it here: #84)

@matthewrdev
Copy link
Author

@shepherd-l Thanks for following up and great to see there was already a PR. 🎉

Is there an ETA on when this feature will be released? We have a few apps in the final steps of a MAUI conversion and this was one of the final pieces.

@shepherd-l
Copy link
Contributor

@matthewrdev
We plan to get a release out next week

@emawby
Copy link
Contributor

emawby commented Jan 31, 2024

This is available in the 5.1.0 version

@emawby emawby closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants