IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMAPNSConfig

Properties

NSData * token
 
int businessID
 
BOOL isTPNSToken
 

Property Documentation

◆ token

- (NSData*) token
readwritenonatomicstrong

APNS token

◆ businessID

- (int) businessID
readwritenonatomicassign

Apple Push certificate ID, generated by IM cloud console. Ignored when use TPNS channel

◆ isTPNSToken

- (BOOL) isTPNSToken
readwritenonatomicassign

Indicated whether using TPNS channel, and the token is generated by TPNS channel.

Attention
The field has been deprecated
  • If you have built offline push by TPNS and have setup configuration on the TPNS console, you can continue to use TPNS with setting this field to YES.
  • If you have not built offline push by TPNS and have not setup configuration on the TPNS consoleļ¼Œplease not to use TPNS again. This feature has not been supported any more. https://cloud.tencent.com/document/product/269/74284