Question about max length of some fields

)Hi,


I'm currently developping the Api Rest Service for updating our generated passes and I was wondering if anyone knew the max length of some fields:


  • Device Library Identifier
  • Pass Type Identifier
  • Push Token
  • Authentification Token
  • Serial Number


Since I store those fields in three table like described here https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/Updating.html#//apple_ref/doc/uid/TP40012195-CH5-SW1


Thanks.

I never read about *maximum* restrictions for thse strings in the docs. Do you really need such ?


Especially not for authentication token or serial number; as you obviously create these yourself according to your individual requirements.

Common are structures like

0afee342-a0af-4410-abcc-9f2d32ff45b5 


The push token is generated by Apple and thus may increase in length over time with increased security requirements.


The device type identifier comes in formats like 9fb51a4eafc5cdca4ca32cd3ccc48277 .


As the device type identifier uses inverse-url type naming as common with programming languages (i.e. pass.com.yourbiz.detail) it may help to limit yourself to what is common with classpaths.

Question about max length of some fields
 
 
Q