This will be important for when we need to begin supporting players in other countries. It would also make it easier to integrate with phone-related APIs if we're ever interested in doing so (e.g. tel: protocol support, third party call and messaging services, etc).
Instead of storing phone number values as large integers (e.g. 5551234567) and assuming the country is US, we should be storing them as strings in E.164 format (e.g. '+15551234567').
This will be important for when we need to begin supporting players in other countries. It would also make it easier to integrate with phone-related APIs if we're ever interested in doing so (e.g.
tel:
protocol support, third party call and messaging services, etc).Instead of storing phone number values as large integers (e.g.
5551234567
) and assuming the country is US, we should be storing them as strings in E.164 format (e.g.'+15551234567'
).Resources: