SharinPix WebView on a Native iOS Mobile Application
token = sharinpix.Client.getInstance().token(
new Map<String, Object> {
'Id' => wOrder.Id,
'exp' => 0,
'path' => '/pagelayout/' + wOrder.Id,
'abilities' => new Map<String, Object> {
wOrder.Id => new Map<String, Object> {
'Access' => new Map<String, Boolean> {
'see' => true,
'image_list' => true,
'image_upload' => true,
'image_delete' => true
}
},
'Display' => new Map<String, Object> {
'tags'=> true
}
}
}
);
if (Trigger.isInsert) {
updatedWOrders.add(new WorkOrder(
Id = wOrder.Id,
SharinPix_Token__c = token
));
} else {
wOrder.SharinPix_Token__c = token;
}Example of a WebView with the link
ContentController
Example of a ContentController
Example of a WebViewController
iOS Permissions
Accessing the native camera




Last updated
Was this helpful?

