Commit Graph

2752 Commits

Author SHA1 Message Date
Johannes Klein
88ea050b90 Update PrivacyInfo.xcprivacy 2025-08-08 14:23:26 +02:00
Johannes Klein
f97dcf829f Update Podfile.lock 2025-08-08 14:21:43 +02:00
Johannes Klein
4c52be6a93 Update package-lock.json 2025-08-08 14:20:48 +02:00
Johannes Klein
1043a299ea Update package.json 2025-08-08 14:07:15 +02:00
Johannes Klein
69ac220798 Enable tooltip for new account creation (#3040) 2025-08-07 09:23:17 +02:00
Johannes Klein
7452224266 v1.0.8+175 v1.0.8+175 2025-08-05 23:05:20 +02:00
Johannes Klein
a618b6e870 Update react-native-testing-library to latest (#3044)
* Update package.json

* Update package-lock.json

* Update

* Update to v13

* Update package-lock.json

* Breaking change: remove extend-expect

* Latest version

* Update package-lock.json

* Breaking change: Removed Accessibility matcher

* Update Suggestions.test.js

* Update DisplayTaxonName.test.js

* Testing the same but differently phrased

* Not really needed to test this

And since not.toHaveTextContent stopped working I just remove it.

* Update useTaxonSearch.test.js

* Move broken tests into folders that are not run

* Only move single tests that are failing

* This does work after all

* Remove only single tests that are broken

* Only move failed tests

* Only move failed tests

* Only move failed tests

* Does not pass on CI only
2025-08-05 13:44:49 +02:00
Johannes Klein
eb92895b78 Update to zustand 4.5.7 (#3041)
* Update package.json

* Update package.json

* Update package-lock.json
2025-08-01 15:14:58 +02:00
Johannes Klein
f334dbf191 Update @tanstack/react query (#3042)
* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package-lock.json
2025-08-01 14:54:56 +02:00
Johannes Klein
3023eb33ca Update Podfile.lock 2025-08-01 13:42:43 +02:00
Johannes Klein
f10188250c Some Flow to Typescript migrations, in simple components (#3034)
* Update Attribution.tsx

* Update FollowButton.tsx

* Update LoginSheet.tsx

* Update UnfollowSheet.tsx

* Update UnfollowSheet.tsx

* Update EstablishmentMeans.tsx

* Update TaxonDetailsTitle.tsx

* Update Taxonomy.tsx

* Update TaxonMapPreview.tsx

* Update FullScreenActivityIndicator.tsx

* Update ActivityIndicator.tsx

* Update SpeciesSeenCheckmark.tsx

* Update Mortal.tsx

* Update HideView.tsx

* Update ConfidenceInterval.tsx

* Update ViewWrapper.tsx

* Update ScrollViewWrapper.tsx

* Update SimpleObservationLocation.tsx

* Update Divider.tsx

* Update DateTimePicker.tsx

* Update MediaNavButtons.tsx

* Update MediaNavButtons.tsx

* Update MediaNavButtons.tsx

* Update DisplayTaxon.tsx

* Update InputField.tsx

* Update InputField.tsx

* Update ObservationLocation.tsx

* Update WarningText.tsx

* Update LoadingIndicator.tsx

* Update CrosshairCircle.tsx

* Update CoordinatesCopiedNotification.tsx

* Update PhotoSharing.tsx

* Update TaxonDetailsMediaViewerHeader.tsx

* Update EvidenceButton.tsx

* Update TextSheet.tsx

* Update Wikipedia.tsx

* Update About.tsx

* Update About.tsx

* Update imports

* Code style
2025-08-01 12:25:46 +02:00
Johannes Klein
672dc268a7 chore: update inaturalistjs (#3029) 2025-08-01 12:11:44 +02:00
Johannes Klein
6e696cb524 Update to react-native 0.77 (#3026)
* Upgrade helper changes JS side

* Upgrade helper Android

* Upgrade helper iOS side

* Update project.pbxproj

* Create react-native-modal+14.0.0-rc.1.patch

* BackHandler.removeEventListener is deprecated

* Update react-native-modal

* Update .flowconfig

* Update package-lock.json

* Update Podfile.lock

* Update Podfile.lock from main

* Replace toBeVisible with toBeOnTheScreen

This is not recommended by react-navigation, because even though toBeOnTheScreen makes sure the components are in the tree it does not mean they are visible to the user. For example, in terms of navigation a previous screen is still i the tree but not visible to the user in the app.
I spent around a day trying to figure out why the isVisible check stopped working, and still have no clear answer.
Testing in the actual app shows that all of those flows are still working as expected, so it is a test-environment-only problem.
My suggestion would be to re-visit this problem after we have updated RN to latest, and testing related libraries to latest versions.
2025-08-01 12:11:13 +02:00
Angie
15d72cc7fb Remove suggestions screens when navigating back after choosing a taxon (#3020)
* Remove suggestions screens when navigating back after choosing a taxon

* Rewrite to use StackActions

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-07-31 14:31:01 -07:00
Johannes Klein
5eb425bab8 Update uuid (#3039)
* Update package.json

* Update package-lock.json

* Update package-lock.json
2025-07-31 16:27:36 +02:00
Johannes Klein
f17a346f23 Repair ObsWheel tooltip (#3022)
* Refactor Tooltip into AddObsModal

* Update AddObsModal.tsx

* Remove unintentionally hardcoded condition

* Disallow close modal while tooltip is visible

While the tooltip is visible the modal should not be dismissed

* Reinstate logged-in triggers

* Disable tooltip for users that just signed up

Because of a bug in showing the "Account creation" pivot card the trigger here is not always set to true and so the correct behaviour of showing the tooltip is currently not possible.

* Remove buggy check for button press

* Re-position modal

* Make sure we have numbers of observations by the user

We need it to make a decision on wether to show the tooltip. If we don't have it don't show it.

* Show the modal when tooltip should be shown

With a timeout because we have a lot of overlapping modals here.

* Remove react-native-walkthrough-tooltip dependency

* Add triangle under bubble

* Update snapshot tests
2025-07-31 10:15:53 +02:00
Johannes Klein
4d8013bae7 Use node v22 in crowdin CI action (#3038) 2025-07-30 17:12:17 +02:00
Johannes Klein
f857ecd234 Use node v22 in CI tests (#3037) 2025-07-30 15:44:54 +02:00
Johannes Klein
85832d8464 Use node v22 also when building for e2e in CI (#3036)
* Use node v22 also in CI

We want to test the app under the same build conditions as a release build would be made with.

* Update e2e_android.yml
2025-07-30 14:30:04 +02:00
Johannes Klein
4765e49fd0 v1.0.8+174 v1.0.8+174 2025-07-30 11:48:31 +02:00
Johannes Klein
5e251f68b0 Update version to 1.0.8 2025-07-30 11:47:33 +02:00
Johannes Klein
8d3dece317 Update @react-native-community/geolocation to latest (#3014)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-07-30 11:19:03 +02:00
budowski
bb54de0540 MOB-827 - crash fix in SuggestionsResult when trying to access invalidated Realm object of the taxon (#3033) 2025-07-29 15:02:10 +02:00
Ken-ichi
521d37b518 New Crowdin translations by GitHub Action (#3024)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-07-29 11:40:21 +02:00
budowski
6dc1c8d097 MOB-870 - fix - account creation pivot card not showing up immediately, if no observations were made (#3030) 2025-07-28 23:05:31 +02:00
Johannes Klein
506aedf3a5 v1.0.7+173 v1.0.7+173 2025-07-22 23:41:38 +02:00
Johannes Klein
019693c08c Update version to 1.0.7 2025-07-22 23:39:58 +02:00
Johannes Klein
71fd691ec3 Update react-native-screens to latest (#3003)
* Update package.json

* Update package-lock.json

* Update Podfile.lock

* Fix package.lock broken by merge
2025-07-18 10:41:56 +02:00
Johannes Klein
9c0fcf1d60 Recovery from observations not uploading (#3015)
* Log app version on start

This is helpful for log files sent in from users, to see what version of he code they were actually running while errors happened.

* Add some types

* Import as types

* Remove unused param

* Update types

* Add string

* Update strings.ftl

* Add explanatory text to login screen if logging in again

* Add TODO

* Define new error class

* Throw a RecoverableError if trying to upload without token

* Do not make a new Error if caught. Instead re-throw the one caught.

This preserves the RecoverableError type if thrown.

* Update string

* Add to return info of function that handles errors

* Recover from an error that login again might fix

By sending the user to the login screen. In case of a multi-observation upload we stop the current queue because subsequent observations will also error out (and send one navigation event each).

* Update errorHandling.test.js

* Revert "Add TODO"

This reverts commit 57437f1ece.

* Add unit tests for recovery options
2025-07-18 07:58:42 +02:00
Johannes Klein
0ba77e7810 Update react-native-safe-area-context to latest (#3000)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-07-17 10:01:41 +02:00
budowski
96376626f2 Fix MOB 725 - reset password form - scroll view so keyboard won't hide field (#2936)
* Fix MOB 725 - reset password form - scroll view so keyboard won't hide field

* Revert "Fix MOB 725 - reset password form - scroll view so keyboard won't hide field"

This reverts commit 9cf957b465.

* Fixes according to PR review

* Fixed syntax error

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-07-16 15:00:26 +02:00
Johannes Klein
a433388bea v1.0.6+172 v1.0.6+172 2025-07-16 10:51:05 +02:00
Ken-ichi
36a3bd646d New Crowdin translations by GitHub Action (#3018)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-07-16 09:53:46 +02:00
Johannes Klein
830d47893f Add more fields to the log in case of error (#3019)
The problem with this log is that what we see on the server is response.status being null.
2025-07-16 09:35:42 +02:00
Johannes Klein
a83a96fa4f Use same return values for Android as iOS (#3009) 2025-07-16 09:31:33 +02:00
Johannes Klein
f5bb2037c5 Update react-native-webview to latest (#3001)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-07-16 09:23:33 +02:00
Johannes Klein
aca6de6646 Update @react-native-picker/picker to latest (#3002)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-07-16 09:19:49 +02:00
Johannes Klein
5dd6ab1593 Add small timeout to modal showing (#3021) 2025-07-16 09:01:31 +02:00
Johannes Klein
41fde613d8 Update @shopify/flash-list to latest (#2995)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-07-11 00:30:58 -07:00
Johannes Klein
a007457daa Update react-native-svg to latest (#2993)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-07-10 22:10:46 -07:00
Johannes Klein
99a1ca0fa0 Update Fastfile 2025-07-10 10:54:35 +02:00
Johannes Klein
fc388f6e57 v1.0.6+171 v1.0.6+171 2025-07-10 09:27:22 +02:00
Johannes Klein
979127ba02 Assert that observationPhoto position is a number (#3008)
* Update import

* Import realm models as types

* Remove unused import

* Add function param types

* Add function param types

* Rename param for consistency

* Remove unused function param

* Type param

* Update type

* Add TODO

* Import function param type

* File rename without change

* Update imports

* Add some fct types

* Add fct param types

* Add function param types

* Update ObservationPhoto.ts

* Remove unused param

* Type fct param

* Add type

* Remove unused param

* Update comment

* Add fct param type as accessed by local context

* Add types from what is accessed in function

* Add types

* Remove unused types

* Add basic type, as is used in  local context

* Bring require statement back

* Import other function param types

* Add property types

* Fix wrong extends

* Assert inputs and outputs for mapping a local observation photo to server action

* Update unit tests for errors

* Rename file

* Update imports
2025-07-10 08:15:03 +02:00
Johannes Klein
8bbe670a7d Fix: Observations shown without data (#3013)
* Request all observation fields again for observations loaded from notifications

* add back user fetch field in notifications

* Also fetch login to show observation owner on the others tab

---------

Co-authored-by: Angie Ta <angie@inaturalist.org>
2025-07-10 07:53:19 +02:00
Johannes Klein
6110291f2f Rubocop fixes 2025-07-09 14:55:36 +02:00
Johannes Klein
af41d41996 Update README.md 2025-07-09 14:06:35 +02:00
Johannes Klein
39ebdb1f47 v1.0.6+170 v1.0.6+170 2025-07-09 12:16:43 +02:00
Johannes Klein
8950b12656 Bundle update 2025-07-09 12:11:34 +02:00
Johannes Klein
2a43f31080 Update README.md 2025-07-09 12:09:55 +02:00
Ken-ichi
5ea8fac0b5 New Crowdin translations by GitHub Action (#3012)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-07-09 10:43:46 +02:00