We are moving to Discord!

Join us on the Countly Community Discord Server! Engage in discussions, share your feature ideas, and learn from fellow Countly users to build exceptional apps and experiences.

iOS SDK- Disable and Remove Push Notifications Entirely

Is it possible to easily disable/remove push notifications and remove the need to reference any associated frameworks? Maybe in a similar manner to excluding the IDFA? At first glance I cannot see that this is easily achievable with the current SDK. Maybe I am missing something. Any pointers/assistance appreciated.

Thanks in advance.

0

Comments

8 comments
  • Thanks @morphous - I believe your question is for iOS SDK. CC'ing my colleague @erkanyildiz to this thread.

    0
    Comment actions Permalink
  • Many thanks for your quick response @gorkem

    0
    Comment actions Permalink
  • Hi @morphous - we don't have this feature but may I ask what your use case and need for this particular request is please? A detailed use-case will really help us understand if we could be implementing or suggest another way.

    Many thanks.

    0
    Comment actions Permalink
  • Hi @gorkem. We have now implemented this feature since it was essential for our needs. If there is anyway to take this offline, I will detail this use case for your consideration. Cheers.

    0
    Comment actions Permalink
  • Do yo mean remove push notifications support from your app?

    0
    Comment actions Permalink
  • Yes. And, remove the need to compile with the UserNotifications framework. As I say, we have achieved this now by amending the SDK. For further details, please get in touch.

    0
    Comment actions Permalink
  • Yes, please - can you provide it as a PR please to our Github repo so my colleague can look at it?

    Appreciate your support here and have a great week ahead!

    0
    Comment actions Permalink
  • I needed this too - so I've made a PR here: https://github.com/Countly/countly-sdk-ios/pull/158

    Hopefully you can use it!

    0
    Comment actions Permalink

Please sign in to leave a comment.