Skip to main content
  • FixtureAsset describes a capture by what would be read from it: lines of text, labels, barcodes, a capture date.
  • FixtureSource stands in for the photo library. Add and remove assets, or call setPermission to test limited and denied access.
  • PoolClient.preview runs the same store, policy and query engine as production, in memory.

Test the unhappy paths

On a device or simulator, use a pk_test_ key. Test keys are free, never billed, and limited to 25 installs and 10,000 cloud assist units a month, enough to index a test library of a few thousand photos and try ask, profile and classify.