2 Replies
      Latest reply on Oct 16, 2019 3:35 AM by eskimo
      jkhkhbjhbj Level 1 Level 1 (0 points)

        Issue with CTSubscriber_priv.h - CFTelephony

         

        This is the Main Method that Helps to get new EAP value we can find this  in core telephony

         

        - (BOOL) refreshCarrierToken —OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_6_0);

         

         

        If this method returns true means we are expecting the below delegate method will get triggered and provide new EAP Token value “The issue we have right now is even though the method above returns true the delegate  method is not getting trigged to provide updated EAP value”

         

        public func subscriberTokenRefreshed(_ subscriber: CTSubscriber) {

        if let refrestCarrierToken = subscriber.carrierToken?.base64EncodedString() {

        self.carrierToken = refrestCarrierToken

        }

        }