Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RN 0.75 upgrade #45289

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
ba2f779
Initial upgrade
MrRefactor Apr 11, 2024
dc8775d
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Apr 11, 2024
59ee0c4
Dependency reinstall
MrRefactor Apr 17, 2024
5a52d22
Update Podfile and patches
MrRefactor Apr 19, 2024
dd3bd88
Update @onfido/react-native-sdk to include gradle 8
MrRefactor Apr 19, 2024
d788526
Update expo to pre release beta version
MrRefactor Apr 19, 2024
d3fd7f0
Update expo-av and remove patch
MrRefactor Apr 19, 2024
c1a7494
Add expo to overrides and update versions of expo libs
MrRefactor Apr 19, 2024
166ab46
Add react-native-quick-sqlite patch for iOS builds
MrRefactor Apr 19, 2024
25712ce
Update/remove outdated patches
MrRefactor Apr 19, 2024
9e85c60
Update react-native patches
MrRefactor Apr 19, 2024
60cd192
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Apr 21, 2024
c161f78
Update libs for rn 0.74
MrRefactor Apr 22, 2024
f92f238
Change Airship min deploy version
MrRefactor Apr 22, 2024
aecc096
rn-clipboard patch
MrRefactor Apr 22, 2024
2d88c21
rnmapbox patch + patch update
MrRefactor Apr 22, 2024
57f6125
rn-quick-sqlite & rn-webview patch update
MrRefactor Apr 22, 2024
86cc8d9
rn-svg patch
MrRefactor Apr 22, 2024
10de97a
react native textinput patch update
MrRefactor Apr 22, 2024
7e868fe
fix inverted flat list patch removal
MrRefactor Apr 22, 2024
7d2c993
Update patch for react-native-plaid-link-sdk
MrRefactor Apr 22, 2024
d4036db
Change react-native version from 0.74.0-rc.9 to 0.74.0
MrRefactor Apr 23, 2024
0adae9e
Lock react-native-vision-camera to version 4.0.0-beta.13 and apply pa…
MrRefactor Apr 24, 2024
621ca54
Upgrade react-native-picker & react-native-screens
MrRefactor Apr 25, 2024
8007989
Update version of react-native-gesture-handler and react-native-live-…
MrRefactor Apr 29, 2024
e0e8fcd
Update rnmapbox/map patch for iOS
MrRefactor Apr 29, 2024
4ba14ba
Disable bridgeless mode on iOS
MrRefactor Apr 29, 2024
3e6a9f7
Update react-native-vision-camera patch to fix build issues on iOS
MrRefactor Apr 29, 2024
62bd856
Update version of @react-native-async-storage/async-storage
MrRefactor Apr 29, 2024
3acb528
Dependencies reinstall
MrRefactor Apr 29, 2024
7b016b5
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor May 6, 2024
c9e6c9d
Update patches after merge with main
MrRefactor May 8, 2024
36bfa44
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor May 14, 2024
5856706
Upgrade rnmapbox/maps to 10.1.23 and update dependencies
MrRefactor May 14, 2024
ed5e570
react-native-device-info patch
MrRefactor May 31, 2024
2dd0308
react-native mapbufferjni patch
MrRefactor May 31, 2024
0930768
react-native-live-markdown patch
MrRefactor May 31, 2024
a5c5305
react-native bridgeless android patch
MrRefactor May 31, 2024
fc7eb08
react-native-vision-camera update patch
MrRefactor May 31, 2024
7c27fd7
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor May 31, 2024
d206990
Reainstall dependencies
MrRefactor May 31, 2024
315a820
@react-native-community/netinfo update patch
MrRefactor May 31, 2024
3c907f5
react-native-document-picker patch
MrRefactor May 31, 2024
249a0bb
Update react-native-reanimated to 3.11.0
MrRefactor May 31, 2024
a1bf9c9
Update react-native-safe-area-context to 4.10.3
MrRefactor May 31, 2024
8510813
Update versions of patches
MrRefactor May 31, 2024
25a2e6a
Update onfido/react-native-sdk patch
MrRefactor May 31, 2024
649cc83
Reainstall dependencies
MrRefactor Jun 4, 2024
2512b86
Remove multiplicated includes in settings.gradle
MrRefactor Jun 5, 2024
9d9d37d
Upgrade react-native-svg to 15.3.0 and remove patch
MrRefactor Jun 5, 2024
e61b69e
Adjust minSdkVersion in patches
MrRefactor Jun 5, 2024
4ac4311
Override react-native-cli version and adjust patches
MrRefactor Jun 5, 2024
11f932c
Upgrade react-native to 0.74.1 and reinstall dependencies
MrRefactor Jun 5, 2024
ed29d46
Upgrade expo to 51.0.0
MrRefactor Jun 5, 2024
c87e3d9
Update patches
MrRefactor Jun 5, 2024
1e26c67
Align libs for rn 0.74.1
MrRefactor Jun 5, 2024
7af110d
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Jun 5, 2024
df819bb
Reinstall deps
MrRefactor Jun 5, 2024
6eeef78
fix tsc errors for cursor styles
kbieganowski Jun 5, 2024
985a5c6
Update github actions
MrRefactor Jun 5, 2024
b82f337
add @types/node to compilerOptions
kbieganowski Jun 5, 2024
dae01ef
bump reassure to latest version
kbieganowski Jun 5, 2024
98efaf8
update validateReassureOutput gh action
kbieganowski Jun 5, 2024
5402779
Remove duplicate of gradle-wrapper.properties
MrRefactor Jun 5, 2024
5125515
fix: verifyPodfile script
kubabutkiewicz Jun 6, 2024
206e3a5
Merge branch 'react-native-0.74-upgrade' of github.com:MrRefactor/App…
kubabutkiewicz Jun 6, 2024
207cfcd
fix: 2fa
kubabutkiewicz Jun 6, 2024
77936ca
storybook version upgrade
kbieganowski Jun 7, 2024
7e9fa14
Add patch for inverted flatlist
MrRefactor Jun 7, 2024
a42e6c8
Reinstall pods
MrRefactor Jun 7, 2024
05b371c
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Jun 7, 2024
3276989
Update github actions
MrRefactor Jun 7, 2024
8ad446d
Fix eslint
MrRefactor Jun 8, 2024
5044f3f
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Jun 10, 2024
53b73c2
Reinstall pods
MrRefactor Jun 10, 2024
1d721c3
fix: modal issue
kubabutkiewicz Jun 10, 2024
9df8dff
patch expo-asset to fix storybook fail on CI
kbieganowski Jun 11, 2024
a7b61f6
Upgrade rn to 0.74.2
MrRefactor Jun 11, 2024
a13a974
Disable useNativeDriver on android
MrRefactor Jun 11, 2024
5fad813
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Jun 11, 2024
23d95a5
fix: verifyPodfile issue
kubabutkiewicz Jun 14, 2024
eb4a637
Apply workaround patch for @rnmapbox/maps
MrRefactor Jun 14, 2024
66dc307
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Jun 14, 2024
1a55e32
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Jun 17, 2024
45ac8d8
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Jun 18, 2024
772252a
Reinstall pods
MrRefactor Jun 18, 2024
bc6f02c
fix: feature training modal
kubabutkiewicz Jun 19, 2024
a52e239
fix: moved GestureHandlerRootView deeper
kubabutkiewicz Jun 20, 2024
17a1af3
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Jun 24, 2024
9c03722
Reinstall deps
MrRefactor Jun 24, 2024
fc5b0eb
Update patches
MrRefactor Jun 24, 2024
45d9ded
Add useNativeDriver react-native patch
MrRefactor Jun 24, 2024
3cea9b7
Fix verifyPodfile script
MrRefactor Jun 24, 2024
2a8c75e
Align jest version
MrRefactor Jun 24, 2024
c1a3d3f
fix: displaying attachment preview
kubabutkiewicz Jun 26, 2024
f58a162
Update expo libraries to latest versions
MrRefactor Jun 26, 2024
0c2e15b
checking tests in CI
kubabutkiewicz Jun 26, 2024
19704ef
fix: attachments in pagerview
kubabutkiewicz Jun 27, 2024
01596d9
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Jun 27, 2024
96640c6
Reinstall pods
MrRefactor Jun 27, 2024
b85b7ec
fix: tests
kubabutkiewicz Jun 27, 2024
4956372
fix tests wip
kubabutkiewicz Jun 28, 2024
c6468ed
fix: web crash
kubabutkiewicz Jun 28, 2024
a03d7a8
Revert "fix: web crash"
kubabutkiewicz Jul 1, 2024
6f3ea46
Merge branch 'main' into react-native-0.74-upgrade
MrRefactor Jul 1, 2024
893a325
Update github actions
MrRefactor Jul 1, 2024
fb0f410
wip: fix tests
kubabutkiewicz Jul 1, 2024
2fbd405
Revert "wip: fix tests"
kubabutkiewicz Jul 1, 2024
c5b3274
wip fix tests
kubabutkiewicz Jul 1, 2024
615a331
revert
kubabutkiewicz Jul 1, 2024
112e3e3
fix: wip tests
kubabutkiewicz Jul 1, 2024
3a4821a
wip tests
kubabutkiewicz Jul 1, 2024
be08d1d
revert prev changes
kubabutkiewicz Jul 1, 2024
b6a846a
wip fix tests
kubabutkiewicz Jul 1, 2024
c6f2b0c
Update react-native-release-profiler
MrRefactor Jul 2, 2024
a95dd08
Add patch for strictMode fix
MrRefactor Jul 2, 2024
efa980c
Fix iOS video crash
MrRefactor Jul 2, 2024
1af73c4
Update patches
MrRefactor Jul 2, 2024
d59ecd9
fix: upgrade expo sdk
kubabutkiewicz Jul 3, 2024
730078d
fix: expo modules core patch
kubabutkiewicz Jul 3, 2024
10b94a4
fix: expo asset patch
kubabutkiewicz Jul 3, 2024
e64423e
fix: expo asset patch
kubabutkiewicz Jul 3, 2024
13368b0
feat: prepare app for RN 0.75
WoLewicki Jul 11, 2024
982b92b
chore: merge current main
WoLewicki Jul 11, 2024
fe92e07
feat: bump react-native-keyboard-controller
WoLewicki Jul 11, 2024
ab7394b
fix: make android compile and work
WoLewicki Jul 17, 2024
42a8419
chore: merge current main
WoLewicki Jul 17, 2024
575be41
chore: merge current main
WoLewicki Jul 17, 2024
c1e0494
feat: update patches
WoLewicki Jul 25, 2024
149203c
chore: merge current main
WoLewicki Jul 26, 2024
cfc2506
chore: merge current main
WoLewicki Jul 26, 2024
55b1335
chore: update patch version
WoLewicki Jul 26, 2024
36dc829
fix: proper lock
WoLewicki Jul 26, 2024
20f63d5
fix: update podfile.lock
WoLewicki Jul 26, 2024
08c5a61
fix: revert react 19 change
WoLewicki Jul 29, 2024
8d8cf8a
chore: merge current main
WoLewicki Jul 29, 2024
012e664
fix: ci
WoLewicki Jul 29, 2024
0767bd5
feat: bump to rn 0.75.0-rc.6
WoLewicki Jul 31, 2024
9d8ca66
chore: merge current main
WoLewicki Jul 31, 2024
0853025
fix: patch
WoLewicki Jul 31, 2024
f3dc8b1
fix: push hermes-engine update
WoLewicki Jul 31, 2024
4481ee9
fix: bump lib
WoLewicki Jul 31, 2024
097a2d0
fix: update patches
WoLewicki Jul 31, 2024
f24c87d
fix: remove unused patch
WoLewicki Aug 1, 2024
418983d
feat: update patches
WoLewicki Aug 1, 2024
78bb30c
chore: merge current main
WoLewicki Aug 1, 2024
9e1ad73
fix: update patches
WoLewicki Aug 1, 2024
3e29e99
fix: storybook tests
WoLewicki Aug 1, 2024
7cafc34
fix: failing tests
j-piasecki Aug 7, 2024
1ea95db
chore: merge current main
WoLewicki Aug 9, 2024
55ed83b
Fix delete modal flicker
j-piasecki Aug 13, 2024
3ee5be3
Merge branch 'main' into @wolewicki/rn-075-upgrade
j-piasecki Aug 13, 2024
669e5ad
Fix patch name
j-piasecki Aug 14, 2024
4e4cb1b
feat: add patches for hybridApp, dialog style, animations and pagerView
WoLewicki Aug 14, 2024
f22f6ec
chore: bump patches
WoLewicki Aug 14, 2024
78180f3
feat: add patch for pager view
WoLewicki Aug 14, 2024
1028494
fix: add patch fixing inital scrollview state
j-piasecki Aug 14, 2024
8620cad
fix: update patch for pager-view
WoLewicki Aug 14, 2024
56676f3
chore: bump rn version to stable
WoLewicki Aug 19, 2024
673e95e
fix: add patch for RNSVGImage
WoLewicki Aug 19, 2024
20d3a76
fix: bump library versions and remove patches
WoLewicki Aug 19, 2024
b2f2b69
chore: merge current main
WoLewicki Aug 19, 2024
bc06f52
chore: merge current main
WoLewicki Aug 19, 2024
db6ef00
chore: bump patch version
WoLewicki Aug 19, 2024
f041426
fix: stick to proper commit in qrcode-svg
WoLewicki Aug 19, 2024
b2b9140
Merge branch 'main' into @wolewicki/rn-075-upgrade
j-piasecki Aug 19, 2024
a25e948
Merge remote-tracking branch 'origin/@wolewicki/rn-075-upgrade' into …
j-piasecki Aug 19, 2024
3c113f9
Merge branch 'main' into @wolewicki/rn-075-upgrade
j-piasecki Aug 19, 2024
c33ac58
Fix patch
j-piasecki Aug 19, 2024
3deb943
feat: hybrid app patches
WoLewicki Aug 21, 2024
72d4cb6
chore: merge current main
WoLewicki Aug 21, 2024
27ecd8b
fix: patch keyboard controller
WoLewicki Aug 21, 2024
d995b97
chore: update patches names
WoLewicki Aug 22, 2024
534e353
feat: bump to rn 0.75.2
WoLewicki Aug 23, 2024
1d09b6e
chore: merge current main
WoLewicki Aug 23, 2024
2edaae3
fix: bump hermes-engine
WoLewicki Aug 23, 2024
1a7cc20
chore: merge current main
WoLewicki Aug 26, 2024
aecefaa
fix: use shared value instead of ref
WoLewicki Aug 26, 2024
14bab6a
Fix `SendButton` being clickable only once
j-piasecki Aug 26, 2024
d679a18
fix: truncated images
WoLewicki Aug 26, 2024
fcd989d
Merge branch 'main' into @wolewicki/rn-075-upgrade
WoLewicki Aug 26, 2024
205299a
chore: merge current main and bump pager-view
WoLewicki Aug 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14543,6 +14543,7 @@ function getCommitHistoryAsJSON(fromTag, toTag) {
});
spawnedProcess.on('close', (code) => {
if (code !== 0) {
console.log('code: ', code);
return reject(new Error(`${stderr}`));
}
resolve(stdout);
Expand Down Expand Up @@ -15369,9 +15370,9 @@ module.exports = require("zlib");
/***/ 3286:
/***/ ((module) => {

function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
"default": obj
function _interopRequireDefault(e) {
return e && e.__esModule ? e : {
"default": e
};
}
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11881,6 +11881,7 @@ function getCommitHistoryAsJSON(fromTag, toTag) {
});
spawnedProcess.on('close', (code) => {
if (code !== 0) {
console.log('code: ', code);
return reject(new Error(`${stderr}`));
}
resolve(stdout);
Expand Down
1 change: 1 addition & 0 deletions .github/actions/javascript/getPreviousVersion/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2959,6 +2959,7 @@ function getCommitHistoryAsJSON(fromTag, toTag) {
});
spawnedProcess.on('close', (code) => {
if (code !== 0) {
console.log('code: ', code);
return reject(new Error(`${stderr}`));
}
resolve(stdout);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as core from '@actions/core';
import type {CompareResult, PerformanceEntry} from '@callstack/reassure-compare/src/types';
import type {CompareResult, MeasureEntry} from '@callstack/reassure-compare';
import fs from 'fs';

const run = (): boolean => {
Expand All @@ -16,8 +16,8 @@ const run = (): boolean => {

for (let i = 0; i < regressionOutput.countChanged.length; i++) {
const measurement = regressionOutput.countChanged[i];
const baseline: PerformanceEntry = measurement.baseline;
const current: PerformanceEntry = measurement.current;
const baseline: MeasureEntry = measurement.baseline;
const current: MeasureEntry = measurement.current;

console.log(`Processing measurement ${i + 1}: ${measurement.name}`);

Expand Down
1 change: 1 addition & 0 deletions .github/libs/GitUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ function getCommitHistoryAsJSON(fromTag: string, toTag: string): Promise<CommitT
});
spawnedProcess.on('close', (code) => {
if (code !== 0) {
console.log('code: ', code);
return reject(new Error(`${stderr}`));
}

Expand Down
15 changes: 15 additions & 0 deletions .github/scripts/removeInvalidJson.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env ruby
require 'json'

# List of JSON strings
json_strings = ARGV

# Parse each JSON string and remove any that couldn't be parsed
valid_jsons = json_strings.select do |json_string|
begin
JSON.parse(json_string)
true
rescue JSON::ParserError
false
end
end
4 changes: 3 additions & 1 deletion .github/scripts/verifyPodfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ if ! read_lines_into_array PODSPEC_PATHS < <(npx react-native config | jq --raw-
cleanupAndExit 1
fi

PODSPECS=$(./.github/scripts/printPodspec.rb "${PODSPEC_PATHS[@]}")

# Format a list of Pods based on the output of the config command
if ! FORMATTED_PODS=$( \
jq --raw-output --slurp 'map((.name + " (" + .version + ")")) | .[]' <<< "$(./.github/scripts/printPodspec.rb "${PODSPEC_PATHS[@]}")" \
jq --raw-output --slurp 'map((.name + " (" + .version + ")")) | .[]' <<< "$(./.github/scripts/removeInvalidJson.rb "${PODSPECS}")" \
); then
error "Error: could not parse podspecs at paths parsed from react-native config"
cleanupAndExit 1
Expand Down
12 changes: 10 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ DerivedData
*.p12
*.mobileprovision
ios-fastlane-json-key.json
ios/.xcode.env.local
**/.xcode.env.local

# Android/IntelliJ
#
Expand Down Expand Up @@ -78,7 +78,7 @@ android/app/android-fastlane-json-key.json
*.jsbundle

# Ruby / CocoaPods
/ios/Pods/
**/Pods/
/vendor/bundle/

# Local DEV config
Expand Down Expand Up @@ -127,6 +127,14 @@ config/webpack/*.pem
dist/
web-build/

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Storage location for downloaded app source maps (see scripts/symbolicate-profile.ts)
.sourcemaps/

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "https://rubygems.org"
ruby ">= 2.6.10"

gem "cocoapods", "= 1.15.2"
gem "activesupport", ">= 6.1.7.3", "< 7.1.0"
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
gem "fastlane", "~> 2", ">= 2.222.0"
gem "xcpretty", "~> 0"

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
activesupport (>= 6.1.7.3, < 7.1.0)
activesupport (>= 6.1.7.5, != 7.1.0)
cocoapods (= 1.15.2)
fastlane (~> 2, >= 2.222.0)
fastlane-plugin-aws_s3
Expand All @@ -302,4 +302,4 @@ RUBY VERSION
ruby 2.6.10p210

BUNDLED WITH
2.4.14
2.4.19
17 changes: 9 additions & 8 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ fullstory {
react {
/* Folders */
// The root of your project, i.e. where "package.json" lives. Default is '..'
// root = file("../")
// The folder where the react-native NPM package is. Default is ../node_modules/react-native
// reactNativeDir = file("../node_modules/react-native")
// The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen
// codegenDir = file("../node_modules/@react-native/codegen")
// The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
// cliFile = file("../node_modules/react-native/cli.js")
// root = file("../../")
// The folder where the react-native NPM package is. Default is ../../node_modules/react-native
// reactNativeDir = file("../../node_modules/react-native")
// The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
// codegenDir = file("../../node_modules/@react-native/codegen")
// The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
// cliFile = file("../../node_modules/react-native/cli.js")

/* Variants */
// The list of variants to that are debuggable. For those we're going to
Expand Down Expand Up @@ -62,6 +62,8 @@ react {
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
// hermesFlags = ["-O", "-output-source-map"]
//
/* Autolinking */
autolinkLibrariesWithApp()
// Added by install-expo-modules
entryFile = file(["node", "-e", "require('expo/scripts/resolveAppEntry')", rootDir.getAbsoluteFile().getParentFile().getAbsolutePath(), "android", "absolute"].execute(null, rootDir).text.trim())
cliFile = new File(["node", "--print", "require.resolve('@expo/cli')"].execute(null, rootDir).text.trim())
Expand Down Expand Up @@ -246,6 +248,5 @@ dependencies {
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0")
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
apply plugin: 'com.google.gms.google-services' // Google Play services Gradle plugin
apply plugin: 'com.google.firebase.crashlytics'
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ class MainApplication : MultiDexApplication(), ReactApplication {
SoLoader.init(this, /* native exopackage */false)
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
// If you opted-in for the New Architecture, we load the native entry point for this app.
load()
load(bridgelessEnabled = false)
}
if (BuildConfig.DEBUG) {
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(false)
}

// Force the app to LTR mode.
val sharedI18nUtilInstance = I18nUtil.getInstance()
val sharedI18nUtilInstance = I18nUtil.instance
sharedI18nUtilInstance.allowRTL(applicationContext, false)

// Start the "js_load" custom performance tracing metric. This timer is stopped by a native
Expand Down
4 changes: 2 additions & 2 deletions android/app/src/main/res/drawable/rn_edit_text_material.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
android:insetLeft="@dimen/abc_edit_text_inset_horizontal_material"
android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
android:insetTop="@dimen/abc_edit_text_inset_top_material"
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material">

android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
>
<selector>
<!--
This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
buildscript {
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 21
minSdkVersion = 23
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "25.1.8937393"
ndkVersion = "26.1.10909125"

androidXCore = "1.0.2"
multiDexEnabled = true
googlePlayServicesVersion = "17.0.0"
kotlinVersion = '1.8.10'
kotlinVersion = "1.9.24"

// This property configures the type of Mapbox SDK used by the @rnmapbox/maps library.
// "mapbox" indicates the usage of the Mapbox SDK.
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
16 changes: 8 additions & 8 deletions android/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand Down Expand Up @@ -145,15 +145,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Expand Down Expand Up @@ -202,11 +202,11 @@ fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.

set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
Expand Down
20 changes: 10 additions & 10 deletions android/gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand All @@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand Down
8 changes: 3 additions & 5 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
plugins { id("com.facebook.react.settings") }
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
rootProject.name = 'NewExpensify'
include ':react-native-webview'
project(':react-native-webview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview/android')
include ':react-native-webview'
project(':react-native-webview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview/android')
include ':react-native-webview'
project(':react-native-webview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview/android')
include ':react-native-image-size'
project(':react-native-image-size').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-size/android')
include ':react-native-config'
Expand All @@ -13,7 +12,6 @@ include ':react-native-plaid-link-sdk'
project(':react-native-plaid-link-sdk').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-plaid-link-sdk/android')
include ':react-native-dev-menu'
project(':react-native-dev-menu').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-dev-menu/android')
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')
includeBuild('../node_modules/react-native') {
Expand Down
Loading
Loading