Commit Graph

442 Commits

Author SHA1 Message Date
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
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
8394e82c51 Revert "Update package.json"
This reverts commit b3268fdd5d.
2025-06-17 16:09:23 +02:00
Johannes Klein
b3268fdd5d Update package.json 2025-06-17 16:02:51 +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
Amanda Bullington
bb31c1907b Update react navigation libraries for performance (#2903)
* Update navigators and create util for tabstack navigation

* Changes for react navigation 7

* Refactor to use navigateToTabStack throughout app

* Add comment about unmountOnBlur

* Get all unit tests passing; remove navutils & mock HeaderBackButton

* Fix animation issues in tests

* Temporarily remove parts of tests with back functionality

* Fix tests

* Delete ios/iNaturalistReactNative.xcodeproj/project.pbxproj

* Fix pbxproj

* Code cleanup; minimize unnecessary changes

* Fix tests

* Downgrade react-native-screens to v4.4.0 (#2918)

react-native-screens version 4.5.0 increases the react native version that it supports to 0.74.0+ (https://github.com/software-mansion/react-native-screens/pull/2613/files). So, by using 4.4.0 we are still able to build the app on Android as we are still on 0.73 for now (have tested and it works).
Have not seen any effect on the changes related to the latest react-navigation versions.

* Make requested changes

* Speed up Explore nearby tile loading (#2912)

* Create a performance tracker to show urltile load time in debug mode

* Set default radius to 1km, not 50km

* Code cleanup & TypeScript definitions

* Fix TypeError

* Address eslint error

* Make github actions happy

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>

* New Crowdin translations by GitHub Action (#2920)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* MOB-690 - Add error context to 401 errors (#2921)

* MOB-690 - Add error context to 401 errors

* Add Object.defineProperty like in the other error classes

* Add logger line

* Also throw 401 error if the error object has no response property

---------

Co-authored-by: Yaron Budowski <budowski@gmail.com>

* v1.0.4+164

* Rebase with latest version of RN screens. Remove unused code and packages, add eslint package for TS, suppress TS errors (#2924)

* New Crowdin translations by GitHub Action (#2926)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* New Crowdin translations by GitHub Action (#2929)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* Use 3 separate initial routes for tabs; hide animations on drawer screens

* Fix test

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
Co-authored-by: Ken-ichi <kenichi.ueda@gmail.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Yaron Budowski <budowski@gmail.com>
2025-05-30 09:26:47 -07:00
Amanda Bullington
95151e065b Remove unused code and packages, add eslint package for TS, suppress TS errors (#2924) 2025-05-28 17:01:10 -07:00
Johannes Klein
dd671f5160 Update version to 1.0.4 2025-05-20 22:36:45 +02:00
Johannes Klein
2ba2d366bf Update to react-native-vector-icons 10.2.0 (#2913) 2025-05-20 09:51:03 +02:00
Johannes Klein
83eed85a74 Update react-native-safe-area-context-to >4.10.1 (#2911)
* Update react-native-safe-area-context-to >4.10.1

Version 4.10.1 adds support for react native 0.74.

* Re-establish mock after it was reset

I think the better way forward would be to restructure these tests, so that we don't need to resetAllMocks in between the two describe blocks, but I don't want to increase the scope of this PR.
2025-05-20 09:50:32 +02:00
Johannes Klein
551fc1d372 Update version to 1.0.3 2025-05-13 14:27:36 +02:00
Johannes Klein
6b2f867641 Update version number to 1.0.2 2025-04-30 15:08:29 +02:00
Johannes Klein
1b05f49c6e Update version number to 1.0.1 2025-04-18 11:45:02 +02:00
Amanda Bullington
bf902fb4a7 Bump version to 1.0.0 2025-04-10 15:04:06 -07:00
Kirk van Gorkom
0ae64a27f7 Bump version to 0.59.16 2025-04-08 14:28:01 -07:00
Kirk van Gorkom
e470d9f389 Bump version to 0.59.15 2025-04-07 22:42:50 -07:00
Kirk van Gorkom
a6ecf91e07 Bump version to 0.59.14 2025-04-04 18:07:48 -07:00
Kirk van Gorkom
4580b35eb2 Bump version to 0.59.13 2025-04-03 15:39:11 -07:00
Johannes Klein
ce7d398d10 v0.59.12 2025-03-27 17:54:53 +01:00
Kirk van Gorkom
18cd17af34 Bump version to 0.59.11; podfile and xcodeproj font icon change 2025-03-21 21:24:35 -07:00
Johannes Klein
620eee7711 v0.59.10 2025-03-19 15:47:20 +01:00
Amanda Bullington
d2da84edf7 Upgrade realm and realm react (#2770)
* Upgrade realm and realm react

* Update Podfile.lock

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-03-19 14:18:46 +01:00
Johannes Klein
a998c52582 v0.59.9 2025-03-17 15:41:54 +01:00
Johannes Klein
7f9f6ea42d v0.59.8 2025-03-14 17:46:17 +01:00
Amanda Bullington
73ea2c9180 Fix for common name display for previously seen organisms on Match (#2760) 2025-03-13 14:07:03 -07:00
Johannes Klein
69441b2323 v0.59.7 2025-03-13 17:26:58 +01:00
Johannes Klein
ee11bceebc v0.59.6 2025-03-12 16:48:55 +01:00
Johannes Klein
e39dc03078 Bump version 2025-03-11 17:52:24 +01:00
Johannes Klein
58bd263c23 Update vision-plugin to prepare for cv model v2.20 (#2732)
* Update vision-camera-plugin-inatvision

* Update Podfile.lock
2025-03-09 17:59:02 +01:00
Kirk van Gorkom
6624acf65f Bump version to 0.59.4 2025-03-06 22:22:31 -08:00
Kirk van Gorkom
672e1913ef Bump version to 0.59.3 2025-03-06 10:48:44 -08:00
Johannes Klein
bd4723c2d2 Bump version 2025-03-04 17:57:45 +01:00
Johannes Klein
12c2e0e8ea Update vision-camera-plugin; breaking changes (#2701)
* Update vc plugin

* Update tests with breaking change: combined_score now 0-100

* Frame processor predictions are in range of 0-100 with new key

* Remove offline convert score to confidence

* Update calculateConfidence.js

* Common ancestor should use combine_score

* Offline suggestions have combined_scores now instead of scores

* Change filtering to range 0-100

* Only use combined_score for Match screen

* Update debug data

* Fic typo in tests

* Remove key from type
2025-02-28 14:21:01 +01:00
Amanda Bullington
58eb356cf7 Fix precommit hook (#2697)
* Fix precommit hook, since Flow is expecting to work on the whole project & can't handle staged files
2025-02-25 16:30:17 -08:00
Amanda Bullington
a89ed25283 Speed up precommits (#2693)
* Speed up precommit hook by only checking staged files with eslint and using eslint cache

* Linting test

* Add rubocop cache to gitignore

* Try to speed up flow
2025-02-22 07:28:12 -08:00