This application is a Proof of Concept to show how Salesforce SmartSync can be used to handle offline data and synchronization with salesforce server, and to capture a finger signature. This version is built in Natively for IoS using objective C and this repo is the exact same soltuion using ionic hybrid framework.
This is an iOS application to be run in an iPhone/iPad device. It uses Pod to retrieve all its dependencies:
See deployment guide in doc dir. Please note the credinetials in the word doc wont work with this code because the developer used a namespace prefix which has been removed.
This application was based on a sample provided by Salesforce team that demonstrates the usage of SmartStore and SmartSync functionalities. It was extended to allow multiple soups to be stored in SmartStore for different objects defined in Salesforce.
For this particular application it was used the Contact object and 2 new custom objects, Product and Sample Request. To allow many-to-many relationship between Sample Request object and User object a junction object called Authorized_Users was created.
Since the Sample Request object depends on data from Contact and Product objects some care has been taken: