* #144 - when creating new observation, import first photo EXIF data for location + date
* #144 - usePhotoExif - read partial file data; added testing for usePhotoExif hook
* #144 - import photo exif - use our own react-native-exif-reader library + other fixes (not to automatically fetch location, save original uri)
* Do not save original photo URI in DB, only pass it along to obs edit screen for EXIF parsing
* Upgraded testing library version to support renderHook
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
This also upgrades us to React Native 0.70.4 and adds a number of files that get us ready for the New Architecture.
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
* Add Whitney fonts to project
* Use styled components to pass whitney as default font for all app text
* Add header component using Papyrus as default font
* Update realm and add custom font examples for Android
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
* add location permission access to android manifest
* request permission to access location for android
* removes location fetching from the observation model and adds it to ObsEdit
* do not fetch location if it is existing observation
Co-authored-by: Merhawit Gubsa <merhawitgubsa@Merhawits-MacBook-Pro.local>
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
Configures fastlane to automate our current release process of making a git tag, making a git release, building, and pushing to the Play Store internal track and Testflight. See README.md for details on setup and usage.
Co-authored-by: Amanda Bullington <albullington@gmail.com>
* Add exception handler library; fix computer vision results
* Create loggedIn hook to check whether user is logged in before cv suggestions or upload
* Create user profile card on MyObs
* Update packages
* Add text for camera permissions denied
* Remove log
* Upgrade react native on iOS
* Add vendor file for ruby gems to gitignore
* Remove vendor file from github
* Update react native for android
* Add plural example to fluent; create TranslatedText component to render translations
* Add translations and update camera roll screens
* Small changes to uploader flow; add date/time picker
* Separate explore into landing screen and view screen
* Show total number of observations, explore
* Clean up styling and add details for grid view; banner for total observations in explore
* Add checkboxes for status, quality grade, media filters
* Add a lot of explore filters
* Show months in Explore filters
* Create About screen; sync package.json version using react native version
* Get explore filters in mostly working condition
* Observations download after login; clear login screen after nav; closes#62 and #60
* Allow separating photos if at least 1 combined photo obs is selected; closes#68
* Fix auth tests; add user id
* Pop text input above keyboard to address #66
* Lint cleanup
* Create bottom modal for user tapping back button on ObsEdit
* Check permissions on android only, camera
* Keep trying to get android camera working
* Change version number to 0.1.0
* Get camera and sound recording working in Android
* Use obs uuid for create observation
* Fix no evidence upload screen; create new obs to upload
* Fix tests and flow errors
* Get photo gallery working on android; fetch more photos on user scroll
* Add alert for upload in progress
* Update build number
* Set up upload key for release build
* Make test todo
* Override base URL for AuthenticationService + some integration fixes for Android
* Update lock file
* Trying to get staging JWT working; allow navigation from Login screen
* Code cleanup
* More code cleanup
* Fix tests; set username
Co-authored-by: Yaron Budowski <budowski@gmail.com>
* Add gallery library; hide camera stack in drawer navigation since we can't use a tab navigator
* Add gallery permissions ios and android
* Move to obs edit screen when a photo is selected from gallery
* Make sure camera options modal closes on navigate
* Create shared hook for reverse geocoded locations
* Obs edit; dismiss keyboard; uuid generator
* Use popup modal to search for projects / taxa from obs edit & add to obs
* Obs edit updates
* Add i18next mock for global testing
* Add tests for photo gallery
* Add test for obs edit
* Get album picker working and store albums + photos in ObsEditProvider
* Maintain photo selection across multiple photo albums
* Create GroupPhotos screen with photos sorted by timestamp across all albums
* Add styling for group photos
* Pseudocode for grouping photos
* Combine photos into observations in photo gallery
* Remove photos from camera roll selection on group photos screen
* Fix remove photos function
* Finish combine, separate, remove photo functionality
* Display multiple obs and multiple photos on obs edit screen
* Code cleanup
* Code cleanup again
* Show number observation at top of obs edit screen
* Update navigation
* Get one photo gallery test passing
* Fix obs edit test
* Fix warning eslint
* Make tests happy
* Remove unused variable