Commit Graph

2741 Commits

Author SHA1 Message Date
Johannes Klein
6723a0c119 Update package.json 2025-07-31 23:55:26 +02:00
Johannes Klein
2068911ddf Update package.json 2025-07-31 21:39:34 +02:00
Johannes Klein
9fab4a0bb9 Update .flowconfig 2025-07-31 21:28:45 +02:00
Johannes Klein
86990cf191 Updates for native files with upgrade-helpers 2025-07-31 21:28:24 +02:00
Johannes Klein
ed61c51d83 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-07-20 11:49:45 +02:00
Johannes Klein
c34ce8ae8f Update Podfile.lock from main 2025-07-18 16:36:18 +02:00
Johannes Klein
e8a8d53269 Update Podfile.lock 2025-07-18 16:25:32 +02:00
Johannes Klein
4cb138c88e Update package-lock.json 2025-07-18 16:24:25 +02:00
Johannes Klein
cc6a114710 Update .flowconfig 2025-07-18 16:24:25 +02:00
Johannes Klein
66cad31d57 Update react-native-modal 2025-07-18 16:24:25 +02:00
Johannes Klein
dab4fe5c9c BackHandler.removeEventListener is deprecated 2025-07-18 16:24:25 +02:00
Johannes Klein
607ae20166 Create react-native-modal+14.0.0-rc.1.patch 2025-07-18 16:24:25 +02:00
Johannes Klein
63426397aa Update project.pbxproj 2025-07-18 16:24:25 +02:00
Johannes Klein
e8fabc116e Upgrade helper iOS side 2025-07-18 16:24:25 +02:00
Johannes Klein
0420d6e820 Upgrade helper Android 2025-07-18 16:23:27 +02:00
Johannes Klein
8c8e6a2b83 Upgrade helper changes JS side 2025-07-18 16:23:27 +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
Angie
1f3bd48ede Replace donorbox donate link to inaturalist donate page link (#3011) 2025-07-09 10:37:25 +02:00
Johannes Klein
b0b41b7bb6 Fix freeze on login, by commenting out tooltip for new users (#3010)
* Temporarily disable the tooltip for new users, as it is freezing the app in some cases

* Disable unit tests
2025-07-09 09:55:01 +02:00
budowski
46ea4ea4af MOB-711 - add location for better IDs change (#2965)
* MOB-711 - add location for better IDs change

* Various fixes according to PR feedback

* Make button fill all available space

* Change padding to margin

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-07-08 23:23:41 +02:00
Johannes Klein
c0902412fd Allow a logged in user to log in again with password only Debug login button (#3007)
* A button to navigate to login screen

From the debug menu.

* Add TODO

* Allow to log in only the currentUser.login if not null

* Remove TODO
2025-07-08 00:35:20 +02:00
Johannes Klein
1ffa0bb920 Return addListener result in useEffects (#3005)
* Rename const

* Return the result of addListener

* Split useEffect apart and return result of each addListener
2025-07-07 19:34:33 +02:00
Ken-ichi
86c1b195de New Crowdin translations by GitHub Action (#3006)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-07-07 10:15:21 -07:00
Johannes Klein
8ab9a36cf3 Revert "Rename file and fix error"
This reverts commit cc2139b9b3.
2025-07-07 15:01:53 +02:00
Johannes Klein
248556af2d Revert "Add properties types"
This reverts commit 2bce3924a2.
2025-07-07 15:01:50 +02:00
Johannes Klein
f717f8e20b Revert "Add param type"
This reverts commit 19aa9e526c.
2025-07-07 15:01:47 +02:00
Johannes Klein
75cd48865b Revert "Add function param type"
This reverts commit bbdd95ece0.
2025-07-07 15:01:43 +02:00
Johannes Klein
62fe5a8f01 Revert "Update imports"
This reverts commit ca99dbfcf2.
2025-07-07 15:01:37 +02:00