-
Notifications
You must be signed in to change notification settings - Fork 11
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]: Aliases, IncludeExternalUserIds as deprecated. #34
Comments
@pmikoda Good questions the aliases function similarly to external user id, expect they are a key value pair where you supply both the key and value instead of just the value. This allows you to have multiple external ids if you for example you integrated with facebook and google, and wanted to represent those different ids separately. To get the same behavior as external_user_id use the "external_id" alias label. To add an alias you can use IdentifyUserByAlias. |
@emawby The type of parameter that Currently it generates the following JSON payload: {
"include_aliases": {
"alias_label": ["values"]
}
} The |
I just bumped into this too :( |
@yasikovsky Thank you for pointing this out we will address! |
@emawby |
Any updates on this? |
This is a bug we are fixing. In the meantime, it is safe to continue using |
Has this since been resolved ? |
This fix has not yet been released. We are working on an overhaul of this library's API and Interfaces. Thank you for your continued patience. |
Any news about this issue? |
I find that IncludeExternalUserIds works for me, and I plan on using it in production. Soon. Is that a bad idea? |
@nan-li Any news from OneSignal on this? I'm constantly having problems creating a notification. It looks like the |
@nan-li: i'm away from the office. When I get back I'll post working code. I'm suspect your create notification works but doesn't know anyone to send it to. |
@nan-li In my loading page I use M plus the identity column value of the user to create the userID Then on the cloud server:
#pragma warning disable CS0612 // Type or member is obsolete |
Hello, we are having this issue as well, are you open to merging a PR? So we just change it to a dictionary and resolve this issue? |
What issue are you having? The OneSignal folks agreed that the deprecation warning is a mistake and will be corrected so I'm not worried about that. I find everything else works except: When the app is closed clicking on the notification opens the app but the Clicked event is not called. I have opened an issue for that and submitted example code. |
How can we help?
Previously I was using IncludeExternalUserIds to send notification to the certain external user/s, but from the newest version, this Datamember is marked as deprecated.
When I'm trying to use aliases I have some problems with it. I'm not sure how to create them (is it available on the FE side like it was for setting up of externalUserIds?)
Also in documentation there is a mention about visibility of aliases in OneSignal Dashboard but I can't find these.
My actual code looks like this:
and I don't know what should I pass to aliasLabel <- and where to create this if I want the same label for all users but send notifications by their externalId.
Code of Conduct
The text was updated successfully, but these errors were encountered: