Files
iNaturalistReactNative/env.example
Amanda Bullington 5ee4a433df Add location picker to ObsEdit (#593)
* Crosshairs, location accuracy warnings, text input for location picker

* Add LocationPicker tests

* UI improvements and code refactor into smaller components; get GMaps working

* Add shadows to icons/text boxes

* Use debouncing to avoid map jitter when typing in location

* Show place results & let user pick new location from web api

* Add tests for location picker with remote results

* Add gmaps api key to github actions

* Try adding manifest placeholders for env variable to work in github actions

* Add key to printf in github actions

* Try accessing GMAPS_API_KEY a different way

* Update android e2e env file step

This updates the "Create .env file" step to use printf to print the Google Maps key into a newly created .env file in the GitHub Action runner. Using the same key as in env.example.

* Fix newline

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2023-04-26 10:51:05 -07:00

18 lines
561 B
Plaintext

# Base URL for the iNat API
API_URL=https://api.inaturalist.org/v2
# Base URL for the iNat API used for OAUTH
OAUTH_API_URL=https://www.inaturalist.org
# Javascript Web Token for anonymous access to protected iNat API endpoints
JWT_ANONYMOUS_API_SECRET=some-secret
# iNaturalist OAuth client credentials (https://www.inaturalist.org/oauth/applications)
OAUTH_CLIENT_ID=your-client-id
OAUTH_CLIENT_SECRET=your-client-secret
# Credentials to log in a user for e2e testing
E2E_TEST_USERNAME=test-username
E2E_TEST_PASSWORD=test-password
GMAPS_API_KEY=some-key