54 Commits

Author SHA1 Message Date
dependabot[bot]
22690165b1 Bump rexml from 3.4.1 to 3.4.2 (#3106)
* Bump rexml from 3.4.1 to 3.4.2

Bumps [rexml](https://github.com/ruby/rexml) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.4.1...v3.4.2)

---
updated-dependencies:
- dependency-name: rexml
  dependency-version: 3.4.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump rexml from 3.4.1 to 3.4.2

Bumps [rexml](https://github.com/ruby/rexml) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.4.1...v3.4.2)

---
updated-dependencies:
- dependency-name: rexml
  dependency-version: 3.4.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-10-08 23:29:44 +02:00
Johannes Klein
9c90c2e45f Update react-native to 0.79 (#3051)
* Upgrade helper: package.json

* Upgrade helper: gems

* Upgrade helper: Android

* Update AppDelegate

* Fix error in compiling

* Update package-lock.json

* Update Podfile.lock

* Update package-lock.json

* Update Podfile.lock

* Remove no longer needed mock

* Comment out entire test and not only the expect call

* Most other unit tests use this render helper function that

wraps the component in the entire app.

* Mock react-native exports as esModule

* Update .flowconfig

* Update Gemfile

* Revert "Comment out entire test and not only the expect call"

This reverts commit 8785f81529.
2025-10-01 22:44:14 -05:00
Johannes Klein
aa5618bf09 Update ruby to v3 (and bundler to 2.7.1) (#3046)
* Update .ruby-version

* Update .ruby-version

* Update Podfile.lock

* Do "bundle update --bundler"

* Do "bundle update"

* Patch fastlane for uby 3.4

* Downgrade to ruby 3.3

* Revert "Downgrade to ruby 3.3"

This reverts commit 488fd163ec.

* Add generic platform ruby

* Do "bundle update --ruby"

* Update Gemfile
2025-08-09 15:15:50 +02:00
Johannes Klein
8950b12656 Bundle update 2025-07-09 12:11:34 +02: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
c79bdbf11f Update cocoapods (#2956)
Using "bundle update cocoapods"
2025-06-13 16:18:42 -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
a1631a1703 Do bundle update fastlane 2025-06-10 23:26:20 +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
bb8470bd99 Bundle update fastlane 2025-06-04 11:04:09 +02:00
Johannes Klein
cec7caac46 Bundle update fastlane 2025-04-18 12:24:30 +02:00
Johannes Klein
ae6b3f4065 Bundle update fastlane 2025-03-14 21:20:23 +01:00
dependabot[bot]
57b46ad467 chore(deps): bump rexml from 3.2.5 to 3.3.9 (#2656)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.5 to 3.3.9.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.5...v3.3.9)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 14:59:12 +01:00
Johannes Klein
9166f26e3a Update to React Native 0.73.11 (#2655)
* Update to RN 0.73.11

* Gemfile changes
2025-02-10 12:38:16 +01:00
Ken-ichi Ueda
537a19aea3 chore: update fastlane to 2.226.0 2024-12-12 16:32:54 -08:00
Ken-ichi
e1bc1626d9 chore: lint Ruby files with Rubocop (#2435)
* fix: set up Ruby before linting in Github Actions
* chore: separate linting from fixing

Before we commit we want to fix as much as possible, but when we're checking a
pull request we're not going to commit anything so we want to know about all
the problems, including the fixable ones.
2024-11-18 21:27:20 -08:00
budowski
7b8c88c84d feat: add onboarding carousel (#2285)
Note that offsetting the onboarding images ended up being a bit hard. We're
mostly doing so with a cropped version of one of the images.

Closes #1906

Also tried to de-flake some tests:

* Use fake timers when possible
* Ensure time travel helper doesn't un-fake our timers
* Wait for time travel helper to finish so changes don't happen outside of
  act
* Stop mocking useCurrentUser in integration tests; that's app code and should
  not be mocked when integrating all parts of the app; instead use signIn /
  signOut helpers
* Remove unnecessary direct uses of act()
* Mocked some inatjs calls to prevent React Query complaints about undefined
  query return values
* Close onboarding before all e2e tests

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2024-11-04 12:03:55 -08:00
Ken-ichi Ueda
e157e627b8 chore: use forked gem to work around fastlane random number bug 2024-10-28 09:21:39 -07:00
Ken-ichi Ueda
0076358391 chore: update to fastlane (2.225.0) 2024-10-21 09:58:12 -07:00
Ken-ichi Ueda
10e97a3255 chore: upgrade fastlane to 2.224.0 2024-10-04 17:07:45 -07:00
Ken-ichi Ueda
7fdbca83df chore: upgraded fastlane, removed vestigial Gemfiles 2024-09-27 11:52:19 -07:00
Ken-ichi Ueda
4252edb51f Updated to Fastlane 2.222.0 2024-08-05 15:49:25 -07:00
Johannes Klein
6c4fe84578 bundle update fastlane 2024-06-22 00:09:50 +02:00
dependabot[bot]
d98c442a2f Bump rexml from 3.2.6 to 3.2.8 (#1561)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.6 to 3.2.8.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.8)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 15:23:20 -07:00
Ken-ichi Ueda
5e5bddf403 Revert "Bump nokogiri from 1.15.6 to 1.16.5 (#1548)"
This reverts commit e6fb4020a2.

This caused numerous dependency problems, and I don't think the security
threat is real since we don't use nokogiri in the actual application.
2024-05-13 18:27:14 -07:00
dependabot[bot]
e6fb4020a2 Bump nokogiri from 1.15.6 to 1.16.5 (#1548)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.15.6 to 1.16.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.15.6...v1.16.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 18:16:45 -07:00
Amanda Bullington
158a9f60e5 Fix for some app freezes, ObsDetails (#1374)
* Fix freeze on ObsDetails when fetching remote observation

* Remote keepPreviousData function from react-query v5
2024-04-08 17:38:31 -07:00
Amanda Bullington
63484b1330 Package updates (#1357)
* Package updates

* Add mocks and update snapshot
2024-04-04 20:57:09 -07:00
dependabot[bot]
caab099098 Bump nokogiri from 1.15.5 to 1.15.6 (#1330)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 13:12:54 -07:00
Ken-ichi Ueda
bf3f755c31 Stop using Android draft releases 2024-02-08 18:58:22 -08:00
Johannes Klein
17518bb412 Bundle update 2024-01-26 13:28:20 +01:00
Johannes Klein
62d787dbf8 Upgrade react native patch version 2024-01-12 21:35:15 +01:00
Ken-ichi
3eddba7daf Change bundle ID (#1013)
* Changed the Android package name to org.inaturalist.iNaturalistMobile
* Changed iOS bundle ID to org.inaturalist.iNaturalistMobile
* Updated fastlane; committing eslint fixes
* Updated ios/iNaturalistReactNative-ShareExtension/Info.plist with new bundle ID
2024-01-10 12:12:17 -08:00
Ken-ichi Ueda
3bedb5033c Updated to fastlane 2.217.0 2023-11-20 18:47:27 -08:00
Amanda Bullington
5913fb511e Energy usage / performance improvements (#844)
* Remove console statements in production build

* Move uploadReducer into separate file

* Create reducer for creating obs; combine reducers

* Fixes with createObsReducer

* Move album, passes test states out of global context

* Bug fixes for ObsEdit flow

* Create photo gallery container

* Set accessibility test todo for PhotoGallery

* Improve FlashList performance MyObs

* Prevent flicker on modal close

* Create less rerenders in MyObservations

* Memoize drawer items for less rerendering

* Memoize custom tab bar

* Remove unused libraries and update snapshot

* Fix and prune dependencies

* Add AddObsModal tests

* Fix e2e test android by making comment confirm button visible
2023-11-02 11:03:48 -07:00
Ken-ichi
dacd8788ec Permission gate layouts (#743)
Primarily adds designed layouts for permission gates (also referred to as permissions priming).

* moved permission gate business logic into a container
* use react-native-permissions exclusively
* Show PermissionGate as a modal
* Basic unit tests for PermissionGate
* Consistent content width on tablet, other minor style changes
* Allow PermissionGate to be used outside of nav hierarchy
* Use user location on Explore after getting permission
* Remove redundant 'always' location perm in ios
* Isolate current location button in the Map component, which uses location fetching functionality from react-native-maps instead of our own
* Updated cocoapods; matched INatIcon.ttf to sha1 hashes
2023-10-18 16:47:12 -07:00
Ken-ichi Ueda
d2458c671c Updated fastlane to 2.216.0 2023-09-19 16:09:56 -07:00
Ken-ichi Ueda
45ed4c2cf2 Updated to Fastlane 2.214.0 2023-08-09 18:22:15 -07:00
Ken-ichi Ueda
4259a586a2 0.6.0; updated Fastlane 2023-06-09 18:27:53 -07:00
Ken-ichi Ueda
589062ced8 Updated some fastlane dependencies 2023-06-02 13:07:02 -07:00
Ken-ichi Ueda
d2783a2848 Changed extension of e2e mocks to ensure they never get included in release builds 2023-05-29 21:42:20 -07:00
Ken-ichi Ueda
adefb860ed Version bump in package-lock.json 2023-05-12 09:36:41 -07:00
Ken-ichi Ueda
e7edbfab07 Added Rubocop; try to bump iOS version number correctly on build 2023-05-03 16:02:47 -07:00
Ken-ichi
5747d4d1d9 Several minor UI fixes (#572)
* use `shrink` tailwind class instead of hard-coded max widths to control
  overflow in a few situations
* fixed some spacing issues with the Toolbar during upload
* center text in buttons by default
* export KebabMenu from SharedComponents (how was it working without this?)
* added some extra colors for debugging purposes
2023-04-17 15:50:39 -07:00
Ken-ichi Ueda
f0581cfa48 Updated fastlane 2023-04-04 13:11:34 -07:00
Ken-ichi
3320aec7f6 Add icons to repo & use script to generate font (#518)
This uses an npm package to convert SVGs into an icon font, allowing us to
not step on each others' toes when adding new icons in branches and
simplifying the icon addition process. It also allows us to track changes to
the icons, and embed them directly as SVGs if we need to.

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2023-03-10 12:21:09 -08:00
Ken-ichi Ueda
0c461d1081 Updated fastlane 2022-11-14 15:04:28 -08:00
Johannes Klein
99d306cd24 Realm 11 (#208)
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>
2022-11-07 14:13:13 -08:00
Ken-ichi Ueda
911a71d294 Updated fastlane 2022-10-21 12:30:41 -07:00
Ken-ichi Ueda
6f6631a5d1 Updated fastlane 2022-09-06 17:46:19 -07:00