Giter Site home page Giter Site logo

Comments (4)

hokstuff avatar hokstuff commented on July 18, 2024

Hi @remarcus,

A user "logging out" is not a concept with the Braze SDK and is something that only happens in the host app. Can you contact [email protected] with additional context around your integration, since depending on your integration and specific steps to repro, this behavior might be something controlled by Apple / APNs:

  • Can you attach verbose logging when you repro this behavior?
  • Are you displaying the push notifications on the foreground or background?
  • Can you attach your push integration code?

Thanks!

from appboy-ios-sdk.

remarcus avatar remarcus commented on July 18, 2024

Hi @hokstuff,

Thanks for explaining that Braze does not have such a concept as logging out.

I wanted to understand if SDK supports some way of removing push token for the specified user that could be invoked after certain actions, because I could not find any information in the documentation. If that's not the case, I will close the issue and just use unregisterForRemoteNotifications for the APNs.

Thanks

from appboy-ios-sdk.

hokstuff avatar hokstuff commented on July 18, 2024

Hi @remarcus,

We currently don't support removing a push token for a specific user. Your use case makes sense so you can submit a product request to Support to get this prioritized in our backlog to update our APIs on the iOS SDK.

The workaround with unregisterForRemoteNotifications should work, except Apple's docs warns around specific usage of that API. Note that the push token will still be stored in the Braze dashboard even after calling Apple's API, but the notification would not be delivered to the device because it has been unregistered with APNs.

from appboy-ios-sdk.

remarcus avatar remarcus commented on July 18, 2024

Thanks @hokstuff,

Yes, that's why I wanted to know more how it works. We will talk in our team and will decide on further actions.

Closing the issue,
Thanks!

from appboy-ios-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.