amplify-swift/AmplifyPlugins/Geo/AWSLocationGeoPluginIntegra...
Chris Ameter 40182cf2e8 feat(geo): Incorporate API review updates into geo category API. (#1491) 2021-11-18 11:29:46 -07:00
..
AWSLocationGeoPluginIntegrationTests.swift feat(geo): Incorporate API review updates into geo category API. (#1491) 2021-11-18 11:29:46 -07:00
Info.plist feat(geo): add AWSLocationGeoPlugin (#1453) 2021-11-18 11:29:46 -07:00
README.md feat(geo): Incorporate API review updates into geo category API. (#1491) 2021-11-18 11:29:46 -07:00

README.md

Geo Integration Tests

The following steps demonstrate how to set up Geo. Auth category is also required to allow unauthenticated and authenticated access.

Set-up

  1. amplify init

  2. amplify add geo

? Select which capability you want to add: `Map (visualize the geospatial data)` 
? geo category resources require auth (Amazon Cognito). Do you want to add auth now? `Yes`
  Do you want to use the default authentication and security configuration? `Default configuration`
  How do you want users to be able to sign in? `Username`
  Do you want to configure advanced settings? `No, I am done.`
? Provide a name for the Map: `<default>`
? Who can access this Map? `Authorized and Guest users`
? Are you tracking commercial assets for your business in your app? `No, I do not track devices or I only need to track consumers' personal devices`
? Do you want to configure advanced settings? `No`
  1. amplify add geo
? Select which capability you want to add: `Location search (search by places, addresses, coordinates)`
? geo category resources require auth (Amazon Cognito). Do you want to add auth now? `Yes`
? Provide a name for the location search index (place index): `<default>`
? Who can access this search index? `Authorized and Guest users`
? Do you want to configure advanced settings? `No`
  1. amplify push

  2. Copy amplifyconfiguration.json to a new file named AWSLocationGeoPluginIntegrationTests-amplifyconfiguration.json inside ~/.aws-amplify/amplify-ios/testconfiguration/.

  3. You can now run all of the integration tests.