540 Commits

Author SHA1 Message Date
Johannes Klein
29b4878a22 Update react-native-localize to latest (#3066)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-08-23 02:19:15 +02:00
Johannes Klein
22030f3024 Update react-native-maps to 1.20.1 (#3065)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-08-22 22:19:31 +02:00
Johannes Klein
bf96d9a53c Update lodash types (#3063)
* Update package.json

* Update package-lock.json

* Change to named import
2025-08-22 10:32:05 +02:00
Johannes Klein
080d0721c4 Update detox to latest (#3061)
* Update package.json

* Update package-lock.json
2025-08-21 14:40:14 +02:00
Johannes Klein
ac9f1f468c Revert "chore: update inaturalistjs (#3029)"
This reverts commit 672dc268a7.
2025-08-13 23:38:15 +02:00
Johannes Klein
fb13df6d1f Update version to 1.0.9 2025-08-13 15:39:19 +02:00
Johannes Klein
7a48f45a9c Update react-native-worklets-core (#3054)
* Update package.json

* Update Podfile.lock

* Update package-lock.json
2025-08-11 14:11:32 +02:00
Johannes Klein
8f5cf434ac Update eslint-plugin-testing-library (#3053)
* Update package.json

* Update package-lock.json
2025-08-11 12:49:25 +02:00
Johannes Klein
b4516b7b25 Update react native to v0.78.x (#3043)
* Update package.json

* Update package.json

* Updates for native files with upgrade-helpers

* Update .flowconfig

* Update package-lock.json

* Update Podfile.lock

* Add react-dom types

* Update package-lock.json

* Wrong install

* Use types-react-codemod

* Update TaxonSearch.tsx

* Remove react-native-accessibility-engine dependency

This is currently not maintained and not compatible with RN 0.78

* Comment out accessibility tests

* Disable broken snapshot test

* Move broken test

* Move broken test

* Move broken test

* Remove duplicate file

* Move broken tests

* Move broken tests

* Move broken tests

* Move broken tests

* Move broken tests

* Move broken test

* Remove duplicate file

* Move broken tests
2025-08-09 13:47:46 +02:00
Johannes Klein
e0d714cb9f Update react-native-device-info to latest (#3047)
* Update package.json

* Update package-lock.json

* Update Podfile.lock

* Update PrivacyInfo.xcprivacy
2025-08-08 17:02:59 +02:00
Johannes Klein
1cce11918a Update @react-native-clipboard/clipboard to latest (#3049)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-08-08 16:14:19 +02:00
Johannes Klein
f0f2c63db6 Update @react-native-community/netinfo to latest (#3048)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-08-08 16:00:46 +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
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
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
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
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
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
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
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
8233830867 Update version to 1.0.6 2025-07-01 21:55:33 +02:00
Johannes Klein
b4383a3db7 Update react native gesture handler 2.22.1 (#2988)
* Update package.json

* Update package-lock.json

* Update Podfile.lock

* Update Podfile.lock
2025-06-27 15:39:30 -07:00
Johannes Klein
f2145dc86d Update react-native-reanimated (#2987)
* Update package.json

* Update package-lock.json

* Update Podfile.lock

* Reactivate snapshot tests

* Update Podfile.lock
2025-06-27 15:29:21 -07:00
Johannes Klein
1f0300db57 Update react native to 0.76.9 (#2974)
* Changes according to the RN upgrade helper

* Update .flowconfig

* Update Gemfile.lock

* Fix typo in minimunSDK version specified

* Disable New Architecture

* Prefer double-quotes

* Update .flowconfig

* Update vision camera patch version number

* Update package-lock.json

* Update Podfile.lock

* Remove no longer needed mock
2025-06-27 14:13:23 -07:00
Johannes Klein
085cac9a33 Update datetimepicker libraries (#2972)
* Update date time picker libraries

* Update package-lock.json

* Update Podfile.lock
2025-06-26 12:00:21 -07:00
dependabot[bot]
f746130f3b Bump image-size from 1.1.1 to 1.2.1 (#2983)
Bumps [image-size](https://github.com/image-size/image-size) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/image-size/image-size/releases)
- [Commits](https://github.com/image-size/image-size/compare/v1.1.1...v1.2.1)

---
updated-dependencies:
- dependency-name: image-size
  dependency-version: 1.2.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-26 11:41:24 -07:00
dependabot[bot]
e06732aa10 Bump tar-fs from 2.1.1 to 2.1.3 (#2981)
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.1 to 2.1.3.
- [Commits](https://github.com/mafintosh/tar-fs/compare/v2.1.1...v2.1.3)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-26 11:40:57 -07:00
Johannes Klein
1e3be948e8 Update react native gesture handler 2.20 (#2969)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-06-26 11:34:21 -07:00
Johannes Klein
7b0d952c79 React native vision camera 4.7.0 (#2973)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-06-26 11:22:28 -07:00
Johannes Klein
d9f9c16074 Update react-native-keep-awake to version ^1.3.1 (#2971)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-06-26 08:32:02 +02:00
Johannes Klein
43ff500643 Update react native worklets core 1.5.0 (#2970)
* Reapply "Update package.json"

This reverts commit 8394e82c51.

* Reapply "Update package-lock.json"

This reverts commit 618b9e2fcc.

* Reapply "Update Podfile.lock"

This reverts commit a892307c3a.
2025-06-26 08:31:07 +02:00
Johannes Klein
356bbb5ae5 Update react native svg (#2967)
* Update package.json

* Update package-lock.json

* Update Podfile.lock
2025-06-25 16:44:13 -07:00
Johannes Klein
e3d9edc433 Show a tooltip to find the obs wheel with all observation options (#2927)
* Add react-native-walkthrough-tooltip dependency

* WIP: Basic tooltip (always shown)

* Adjust arrow size

* Adjust background color

* Adjust tooltip shadow

* Adjust hight and vertical spacing

* Adjust border radius

* Adjust padding horizontal

* Only allow long press if tooltip is visible

* Move Tooltip into AddObsButton

* Show tooltip only once

Dismiss on long press of AddObsButton only

* Only show the tooltip if the user has only AI camera as an option

* Only show the tooltip on MyObservations screen

* Only show the tooltip on MyObservations screen for real

* Show tooltip after user making their second observation

* Code style

* Fix typo in comment

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Prevent navigation when modal is opened

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Remove return

* Update CustomTabBar.test.js.snap

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-20 12:28:31 +02:00
Johannes Klein
618b9e2fcc Revert "Update package-lock.json"
This reverts commit 257524d0b5.
2025-06-17 16:09:19 +02:00
Johannes Klein
257524d0b5 Update package-lock.json 2025-06-17 16:03:38 +02:00
Johannes Klein
b9b58bdfc4 Update react-native-reanimated to version 3.16.6 (#2957)
* Use updated version

Version 3.16.0 introduces support for RN 0.76. 3.16.7 introduces support vor RN 0.77 so I decided for 3.16.6 for now.

* Update package-lock.json

* Update Podfile.lock

* Update UploadStatus.test.js.snap

* Comment out snapshot tests

* Comment out snapshot tests
2025-06-16 10:56:52 -07:00
Johannes Klein
3faf5e3e29 Update to react-native 0.75 (#2950)
* Update to RN 0.75.5 with upgrade helper diff

* Update .flowconfig

* Update package-lock.json

* Update Gemfile.lock

* Update Podfile.lock

* Update project.pbxproj

* Use double quotes

* Update to RN 0.75.5 with upgrade helper diff

* Update .flowconfig

* Update package-lock.json

* Update Gemfile.lock

* Update Podfile.lock

* Update project.pbxproj

* Use double quotes

* Update Podfile.lock

* Update CustomTabBar.js

* Revert "Update CustomTabBar.js"

This reverts commit 2eb085e3bb.

* Update NavBar. Remove percentage based width as it broke the UI

Now we rely solely on flexbox spacing of justify-around.

* Update FloatingActionButton percentage values

* Update CustomTabBar.test.js.snap
2025-06-12 21:18:28 +02:00
Johannes Klein
4e7322ed3b Update react native gesture handler (#2955)
* Update react-native-gesture-handler

Version 2.18.x introduces support for RN 0.75

* Update package-lock.json

* Update Podfile.lock

* Fix PhotoLibrary tests

* Update jest.setup.js

* Remove time travel calls
2025-06-11 23:24:38 +02:00
Johannes Klein
d999b8d409 Update react native reanimated (#2954)
* Use fixed version

* Update vision-camera-plugin-inatvision

* Update react-native-reanimated

Version 3.15.x is the minimum version that supports react-native 0.75.x
2025-06-11 21:46:18 +02:00
Johannes Klein
d034e15eea Update vision camera and plugin (#2949)
* Update package.json

* Update package-lock.json

* Update Podfile.lock

* Update vision camera patch (that removes branded metadate)

* Remove camera orientation prop and patch

* Remove frame processor orientation patch

No longer needed, and accepted by the vision-plugin

* Remove rotationLocalPhotoPatch as it is not used

* Do not rotate freshly taken photos anymore to save in a temporary folder

I have not yet removed the actual making of a copy of the photo into the temp folder. It is only no longer rotated.

* Remove unused deviceOrientation param

* Rename file

* Change function name as it no longer rotates

* Move image resize logic to the existing helper function

Instead of calling it a "patch"

* Move helper function to the only file it is imported into

* Latest camera library versions

* Revert "Latest camera library versions"

This reverts commit da6b2f7c28.

* Remove iPad camera orientation patch

* Update import

* Update Podfile.lock
2025-06-11 08:15:01 +02:00
Johannes Klein
38029bee8a Update to react-native 0.74 (3rd attempt) (#2937)
* Upgrade to RN0.74 with upgrade helper

* Bump minor version

* Remove yarn files

* RN 0.74.7

* Update .flowconfig

* Update Gemfile.lock

* Update project.pbxproj

* Update PrivacyInfo.xcprivacy

* Refactor uri into constant

* Only use filename for name

Because using the full uri does no longer work like this.

* Check for uri being null

* Update metro.config.js

* Rubocop autocorrect

* Update package-lock.json

* Update react-native-vision-camera+4.0.5.patch

* Update Podfile.lock
2025-06-04 23:02:20 +02:00
Johannes Klein
9c798e034b Update version to 1.0.5 2025-06-04 08:20:53 +02:00