7

I implemented new pushkit voip push notifications and until now it has been working properly in all iOS8 devices I tested except one. I ve got an iPhone iOS 8.0.2 which is not receiving any voip push. It registers correctly as I get the pushRegistry:didUpdatePushCredentials: forType: delegate called I tested previous remote pushes (registerForRemoteNotifications) with success but none of sent voip push are received.

So my questions are:

*Anyone has experienced same behavior for pushkit voip push notifications?

*Could it be something related with iOS version (iOS 8.0.2)?

*Could anyone having this version (iOS 8.0.2), implementpushkit voip push and try to receive a voip push notification in order to discard version problem?

If you need to implement pushkit voip push notifications you can check my answer on stackoverflow question

Community
  • 1
  • 1
M Penades
  • 1,572
  • 13
  • 24

2 Answers2

2

It only works on iOS8. With this SDK only works on iOS 8.1 (as of writing this it's beta 1). The reason for this is that in 8.0 the compiler linked is a dynlib and is not able to locate push kit framework for 32bits when running on 64bit hardware. But for now you need to compile for armv7 and armv7s.

Tanuj
  • 531
  • 4
  • 10
  • I do not understand, because I m'able to register correctly to pushkit notifications and even I'm receiving pushRegistry:didUpdatePushCredentials:forType: pushkit function called. Wouldn't it be impossible in case I cannot reach framework? – M Penades Mar 26 '15 at 13:59
  • What version are you mean? 8.1 beta1? – Arturo Mar 26 '15 at 14:12
  • Currently the support for iOS8 VoIP Push is still experimental as there seams to be a bug in the new PushKit Framework. For iOS 8.1 and onwards they have released beta 1 version for PushKit Framework. – Tanuj Mar 26 '15 at 17:05
  • Hi, thanks for the answer Tanuj, but how do you know all that? I ve already raised the question on apple developer support but currently I m not able to find any official documentation about that. – M Penades Mar 27 '15 at 07:55
  • 1
    thanks, i had used this framework in my last project and done some R&D. Accept my answer if it is useful for you :) – Tanuj Mar 27 '15 at 08:20
  • :) probably I will finish accepting your answer. But still I do not understand how I can execute pushkit framework code when iOS 8.0.2 is not able to locate pushkit framework for 32bits when running on 64bit hardware. How can I get voip push credentials but no push notifications? – M Penades Mar 27 '15 at 08:45
  • Please do the needful. Apple looking into this issue and sooner fix this for 64bit hardware. I'll update you accordingly. – Tanuj Mar 27 '15 at 08:52
  • Ok, apple support answered: "There was an issue in iOS 8.0.x where only sandbox pushes would work with PushKit. Production environment push notifications would be ignored. Please try your app on iOS 8.1 or later." With no more details... XD You get the answer Tanuj! Thanks! – M Penades Mar 30 '15 at 21:33
  • [Tanuj](http://stackoverflow.com/users/4627750/tanuj) Can you clarify iOS8.1 is on beta 1? iOS 8.2 has already been released and iOS 8.3 is already on beta 4. – Sergio Artero Mar 26 '15 at 13:24
  • HI I am trying to implement PushKit in my app.But My project deployment target must be 6.1 Because of other framework. Now If i implement Pushkit will it work?.Please help me – Bittoo Jun 14 '16 at 08:58
-1

You have to configure the Voip Push on the server-side, its not just about implementing it to the code.

Joe Sene
  • 139
  • 1
  • 12