-
Notifications
You must be signed in to change notification settings - Fork 220
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
[Bug]: External Id not set when logging users [iOS] #759
Comments
@cgmleadtech Thank you for reaching out! I am not able to reproduce this can you clarify what you mean by "it doesn't work" |
Hi @emawby , so basically when I do the login with a revenuecat ID the external ID is not being set at all
revenueCatUserID is not null, obviously hahaha |
I'm facing same issue. not setting external ID for both Android and iOS. |
@sharad-paghadal Thank you for the log that is helpful. Unfortunately I am not able to reproduce this but I will keep investigating. Does your app have identity verification enabled? |
thank you @emawby , that was the issue. Just turned off identity verification and everything is working!! |
@emawby I do not have identity verification enabled, and if I add as external id any kind of string, not just the revenuecatid, it does not work |
@emawby thank you for the tip! I have faced the same Problem, turned the identity verification to disable, with solved my issue. It's nice to see, that there are no hints on the documentation. |
@cgmleadtech, it seems you're using both OneSignal and RevenueCat. So am I (for an unreleased Flutter app). But for the integration to work, according to RevenueCat's documentation, the app needs to send $onesignalId to RevenueCat's user attributes: But I can't find a way to get the OneSignal ID in v.5.0.3. Onesignal ID was previously available in v3.x.x but now only the subscription ID and the token are available from the Onesignal.User.pushSubscription.id property. How can I get it? How are you integrating OneSignal and RevenueCat if you're not using the OneSignal ID? Thanks :) |
I think you can read the migration guide and that actually the push subscription.id is what you are looking for but mayb I'm wrong @emawby could you clarify this? |
Identity verification is not yet supported and still in development. @RicBau2610: you're right, this limitation should be clear in documentation. We will work on updating all our docs. @jmmdk and @cgutierr-zgz: the OneSignal ID can be retrieved via our REST API or our Server SDKs using the The OneSignal ID is different from the Push Subscription ID. We see the need to be able to get the OneSignal ID from the SDK, and will be adding a getter. |
@cgmleadtech, I am also not able to reproduce. Is this is only happening on iOS?
|
@nan-li, thanks for your response. However, I just got a response to my message to your support and they say that we should simply send RevenueCat the Subscription ID instead of the OneSignal ID (contrary to the RC docs). So is support wrong and the docs are correct? If so, that means that we can't actually integrate with RC because you don't have a getter for that OneSignal ID? We don't use the REST API/server SDK. And if that's true, how fast can you add that getter? We really need that ASAP. |
Yeah I think you really just need a getter because I can already read the onesignalId from the debug prints so I guess it's there?
|
Any updates on this topic? |
Hi, is there any update on the OneSignal ID getter? |
i think if you are all only want to get the Onesignal ID, you just use this |
I was facing the same issue. but OneSignal.login(46644) with sdk didn't return any error message. I deleted all subscriptions linked with my external ID then it works. |
In my case, |
Hi everyone, I apologize for the delayed response. If you are managing at the user-level rather than device-level (which is what the subscription ID effectively does), please use the OneSignal ID as the identifier. The get method was added in Release 5.1.3. |
Hi @chaos128, the Hi @tamamura3, the |
Hm I also have an issue that EDIT: I found a separate thread for my issue #714 |
Hello Everyone, OneSignal.Notifications.addPermissionObserver((state) { |
Hello everyone--appreciate the discussion here! It looks like the conversation has wrapped up with some good solutions. Any additional concerns before we close this out? Just as an FYI since it was mentioned in this thread: Identity Verification beta for Flutter is in the works and should be ready in the next few weeks. |
What happened?
In iOS I'm logging a user with a certain Id and the external id is not being placed in OneSignal
Steps to reproduce?
What did you expect to happen?
I would have expected the external id worked
OneSignal Flutter SDK version
5.0.2
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: