iOS Question Push error

fishwolf

Well-Known Member
Licensed User
Longtime User
I would update my app develepor with b4i ver. 2.51
i have update to B4i Ver. 3.60, re-create all certificate (expired) and compile with success
but when i run the app and get token for push i have this error (also with temporary id for hosted builder)
i have create a new apn certificate today

B4X:
Code:
Error getting token: <B4IExceptionWrapper: Error Domain=NSCocoaErrorDomain Code=3000"non è stata trovata nessuna stringa di autorizzazione “aps-environment” valida per l'applicazione" UserInfo={NSLocalizedDescription=non è stata trovata nessuna stringa di autorizzazione “aps-environment” valida per l'applicazione}>Private Sub Application_PushToken (Success As Boolean, Token() As Byte)

B4X:
Private Sub Application_PushToken (Success As Boolean, Token() As Byte)
  If Success Then
    Dim bc AsByteConverter
    Dim StringToken AsString
      StringToken = bc.HexFromBytes(Token)Log ("StringToken: " & StringToken)
  Else
    Log("Error getting token: " & LastException)
  EndIf

End Sub
 

DonManfred

Expert
Licensed User
Longtime User
This is the B4J forum!
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
Great, work fine in devepoler enviroment

can you explain better?
is it the same line for dev and prod?

Thanks
 
Upvote 0
Top