implemented iOS.. TODO: array of fingerprints