A .contact file allows a business to deliver a list of contacts to the LongReach end user.
A backend server program could generate a contact file which contains a range of contacts an end user might need to complete a work order.
If you create a file with the .contact extension and use the following JSON format, the end user can open this file and tap the table entry to open the iOS App associated with the contact type.
For example the Task.contact could contain the following JSON data.
{
"title":"Work Order 124",
"contacts":
[
{"type":"sms","address":"89000000","title":"John Smith"},
{"type":"phone","address":"89000000","title":"John Smith","subtitle":"Business number"},
{"type":"phone","address":"+61289000000","title":"John Smith","subtitle":"Personal number"},
{"type":"facetime","address":"89000000","title":"John Smith","subtitle":"Facetime"},
{"type":"email","address":"johm.smith@mycompany.com?subject=Work 124&cc=manager@mycompany.com","title":"John Smith","subtitle":"Business email"},
{"type":"email","address":"johm.smith@mycompany.com","title":"John Smith","subtitle":"Personal email"},
{"type":"map","address":"122 Arthur St North Sydney, NSW","title":"John Smith","subtitle":"Business address"},
{"type":"web","address":"http://www.mycompany.com","title":"Corporate Website"},
{"type":"url","address":"facetime://89000000","title":"Custom URL"}
]
}