mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-10-05 19:28:26 +00:00
RN upgrade to 0.84
This commit is contained in:
@@ -95,8 +95,8 @@ android {
|
||||
applicationId "com.minibits_wallet"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 58064
|
||||
versionName "0.3.4"
|
||||
versionCode 58065
|
||||
versionName "0.4.0"
|
||||
}
|
||||
|
||||
splits {
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
['module:react-native-dotenv'],
|
||||
'react-native-reanimated/plugin',
|
||||
'react-native-worklets/plugin',
|
||||
'@babel/plugin-proposal-export-namespace-from',
|
||||
'hot-updater/babel-plugin',
|
||||
],
|
||||
|
||||
+12
@@ -8,6 +8,10 @@ require Pod::Executable.execute_command('node', ['-p',
|
||||
platform :ios, min_ios_version_supported
|
||||
prepare_react_native_project!
|
||||
|
||||
# Workaround: react-native-firebase references legacy React headers not exposed
|
||||
# in RN 0.84's precompiled iOS binaries. Build RN core from source instead.
|
||||
ENV['RCT_USE_PREBUILT_RNCORE'] = '0'
|
||||
|
||||
linkage = ENV['USE_FRAMEWORKS']
|
||||
if linkage != nil
|
||||
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
|
||||
@@ -19,6 +23,14 @@ target 'minibits_wallet' do
|
||||
# Minibts - firebase start
|
||||
use_frameworks! :linkage => :static
|
||||
$RNFirebaseAsStaticFramework = true
|
||||
# RCT-Folly and its transitive deps are no longer in the CocoaPods specs repo
|
||||
# — point to the local podspecs shipped with react-native (needed by react-native-exit-app)
|
||||
pod 'RCT-Folly', :podspec => '../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec'
|
||||
pod 'boost', :podspec => '../node_modules/react-native/third-party-podspecs/boost.podspec'
|
||||
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
|
||||
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
|
||||
pod 'fast_float', :podspec => '../node_modules/react-native/third-party-podspecs/fast_float.podspec'
|
||||
pod 'fmt', :podspec => '../node_modules/react-native/third-party-podspecs/fmt.podspec'
|
||||
# Minibits - firebase end
|
||||
use_react_native!(
|
||||
:path => config[:reactNativePath],
|
||||
|
||||
+594
-1381
File diff suppressed because it is too large
Load Diff
@@ -439,6 +439,10 @@
|
||||
);
|
||||
MTL_ENABLE_DEBUG_INFO = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_CFLAGS = (
|
||||
"$(inherited)",
|
||||
"-DRCT_REMOVE_LEGACY_ARCH=1",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-DFOLLY_NO_CONFIG",
|
||||
@@ -446,6 +450,7 @@
|
||||
"-DFOLLY_USE_LIBCPP=1",
|
||||
"-DFOLLY_CFG_NO_COROUTINES=1",
|
||||
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
|
||||
"-DRCT_REMOVE_LEGACY_ARCH=1",
|
||||
);
|
||||
OTHER_LDFLAGS = (
|
||||
"$(inherited)",
|
||||
@@ -525,6 +530,10 @@
|
||||
"\"$(inherited)\"",
|
||||
);
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
OTHER_CFLAGS = (
|
||||
"$(inherited)",
|
||||
"-DRCT_REMOVE_LEGACY_ARCH=1",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-DFOLLY_NO_CONFIG",
|
||||
@@ -532,6 +541,7 @@
|
||||
"-DFOLLY_USE_LIBCPP=1",
|
||||
"-DFOLLY_CFG_NO_COROUTINES=1",
|
||||
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
|
||||
"-DRCT_REMOVE_LEGACY_ARCH=1",
|
||||
);
|
||||
OTHER_LDFLAGS = (
|
||||
"$(inherited)",
|
||||
|
||||
+16
-16
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "minibits_wallet",
|
||||
"version": "0.3.4-beta.28",
|
||||
"version": "0.4.0-beta.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"android:clean": "cd android && ./gradlew clean",
|
||||
@@ -55,10 +55,10 @@
|
||||
"nostr-tools": "minibits-cash/nostr-tools#2991f59d0150a0cb2c71e2f9a4cb6c8aca3b19d7",
|
||||
"numbro": "^2.5.0",
|
||||
"patch-package": "^8.0.0",
|
||||
"react": "19.1.1",
|
||||
"react-native": "0.82.1",
|
||||
"react": "19.2.3",
|
||||
"react-native": "0.84.0",
|
||||
"react-native-animated-pagination-dots": "^0.1.73",
|
||||
"react-native-camera-kit": "16.1.3",
|
||||
"react-native-camera-kit": "17.0.1",
|
||||
"react-native-exit-app": "^2.0.0",
|
||||
"react-native-fast-image": "^8.6.3",
|
||||
"react-native-flash-message": "^0.4.2",
|
||||
@@ -67,7 +67,7 @@
|
||||
"react-native-json-tree": "^1.5.0",
|
||||
"react-native-keychain": "^10.0.0",
|
||||
"react-native-localize": "^3.5.2",
|
||||
"react-native-logs": "^5.5.0",
|
||||
"react-native-logs": "5.6.0",
|
||||
"react-native-mmkv": "^3.3.3",
|
||||
"react-native-modal": "^14.0.0-rc.1",
|
||||
"react-native-nfc-manager": "revtel/react-native-nfc-manager#v4.0.0-beta.7",
|
||||
@@ -75,13 +75,13 @@
|
||||
"react-native-qrcode-svg": "^6.3.15",
|
||||
"react-native-quick-crypto": "^0.7.17",
|
||||
"react-native-quick-sqlite": "8.2.7",
|
||||
"react-native-reanimated": "4.1.2",
|
||||
"react-native-reanimated": "^4.2.2",
|
||||
"react-native-safe-area-context": "^5.6.1",
|
||||
"react-native-screens": "^4.16.0",
|
||||
"react-native-svg": "^15.13.0",
|
||||
"react-native-tab-view": "^4.1.3",
|
||||
"react-native-url-polyfill": "^3.0.0",
|
||||
"react-native-worklets": "^0.6.0",
|
||||
"react-native-worklets": "^0.7.4",
|
||||
"taskon": "^0.3.1",
|
||||
"text-encoding-polyfill": "^0.6.7",
|
||||
"util": "^0.12.5"
|
||||
@@ -94,13 +94,13 @@
|
||||
"@hot-updater/bare": "0.20.11",
|
||||
"@hot-updater/firebase": "0.23.1",
|
||||
"@hot-updater/sentry-plugin": "^0.23.1",
|
||||
"@react-native-community/cli": "20.0.0",
|
||||
"@react-native-community/cli-platform-android": "20.0.0",
|
||||
"@react-native-community/cli-platform-ios": "20.0.0",
|
||||
"@react-native/babel-preset": "0.82.1",
|
||||
"@react-native/eslint-config": "0.82.1",
|
||||
"@react-native/metro-config": "0.82.1",
|
||||
"@react-native/typescript-config": "0.82.1",
|
||||
"@react-native-community/cli": "20.1.0",
|
||||
"@react-native-community/cli-platform-android": "20.1.0",
|
||||
"@react-native-community/cli-platform-ios": "20.1.0",
|
||||
"@react-native/babel-preset": "0.84.0",
|
||||
"@react-native/eslint-config": "0.84.0",
|
||||
"@react-native/metro-config": "0.84.0",
|
||||
"@react-native/typescript-config": "0.84.0",
|
||||
"@sentry/cli": "^2.56.0",
|
||||
"@tsconfig/react-native": "^3.0.7",
|
||||
"@types/jest": "^29.5.13",
|
||||
@@ -118,11 +118,11 @@
|
||||
"prettier": "2.8.8",
|
||||
"react-native-clean-project": "^4.0.3",
|
||||
"react-native-dotenv": "^3.4.11",
|
||||
"react-test-renderer": "19.1.1",
|
||||
"react-test-renderer": "19.2.3",
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
"node": ">=22"
|
||||
},
|
||||
"packageManager": "yarn@3.6.4"
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/node_modules/react-native-reanimated/compatibility.json b/node_modules/react-native-reanimated/compatibility.json
|
||||
index 607760b..061baef 100644
|
||||
--- a/node_modules/react-native-reanimated/compatibility.json
|
||||
+++ b/node_modules/react-native-reanimated/compatibility.json
|
||||
@@ -4,7 +4,7 @@
|
||||
"react-native-worklets": ["nightly"]
|
||||
},
|
||||
"4.1.x": {
|
||||
- "react-native": ["0.78", "0.79", "0.80", "0.81"],
|
||||
+ "react-native": ["0.78", "0.79", "0.80", "0.81", "0.82"],
|
||||
"react-native-worklets": ["0.5.x", "0.6.x"]
|
||||
},
|
||||
"4.0.x": {
|
||||
@@ -1,63 +0,0 @@
|
||||
diff --git a/node_modules/react-native-worklets/android/build/intermediates/prefab_package_header_only/prefab_publication.json/debug b/node_modules/react-native-worklets/android/build/intermediates/prefab_package_header_only/prefab_publication.json/debug
|
||||
new file mode 100644
|
||||
index 0000000..a874a0d
|
||||
--- /dev/null
|
||||
+++ b/node_modules/react-native-worklets/android/build/intermediates/prefab_package_header_only/prefab_publication.json/debug
|
||||
@@ -0,0 +1,18 @@
|
||||
+{
|
||||
+ "installationFolder": "/Users/michal/Source/minibits_wallet/node_modules/react-native-worklets/android/build/intermediates/prefab_package/debug/prefab",
|
||||
+ "gradlePath": ":react-native-worklets",
|
||||
+ "packageInfo": {
|
||||
+ "packageName": "react-native-worklets",
|
||||
+ "packageVersion": "0.6.0",
|
||||
+ "packageSchemaVersion": 2,
|
||||
+ "packageDependencies": [],
|
||||
+ "modules": [
|
||||
+ {
|
||||
+ "moduleName": "worklets",
|
||||
+ "moduleHeaders": "/Users/michal/Source/minibits_wallet/node_modules/react-native-worklets/android/build/prefab-headers/worklets",
|
||||
+ "moduleExportLibraries": [],
|
||||
+ "abis": []
|
||||
+ }
|
||||
+ ]
|
||||
+ }
|
||||
+}
|
||||
\ No newline at end of file
|
||||
diff --git a/node_modules/react-native-worklets/android/build/intermediates/prefab_package_header_only/prefab_publication.json/release b/node_modules/react-native-worklets/android/build/intermediates/prefab_package_header_only/prefab_publication.json/release
|
||||
new file mode 100644
|
||||
index 0000000..c93fcb5
|
||||
--- /dev/null
|
||||
+++ b/node_modules/react-native-worklets/android/build/intermediates/prefab_package_header_only/prefab_publication.json/release
|
||||
@@ -0,0 +1,18 @@
|
||||
+{
|
||||
+ "installationFolder": "/Users/michal/Source/minibits_wallet/node_modules/react-native-worklets/android/build/intermediates/prefab_package/release/prefab",
|
||||
+ "gradlePath": ":react-native-worklets",
|
||||
+ "packageInfo": {
|
||||
+ "packageName": "react-native-worklets",
|
||||
+ "packageVersion": "0.6.0",
|
||||
+ "packageSchemaVersion": 2,
|
||||
+ "packageDependencies": [],
|
||||
+ "modules": [
|
||||
+ {
|
||||
+ "moduleName": "worklets",
|
||||
+ "moduleHeaders": "/Users/michal/Source/minibits_wallet/node_modules/react-native-worklets/android/build/prefab-headers/worklets",
|
||||
+ "moduleExportLibraries": [],
|
||||
+ "abis": []
|
||||
+ }
|
||||
+ ]
|
||||
+ }
|
||||
+}
|
||||
\ No newline at end of file
|
||||
diff --git a/node_modules/react-native-worklets/compatibility.json b/node_modules/react-native-worklets/compatibility.json
|
||||
index 850b8c4..a777247 100644
|
||||
--- a/node_modules/react-native-worklets/compatibility.json
|
||||
+++ b/node_modules/react-native-worklets/compatibility.json
|
||||
@@ -3,7 +3,7 @@
|
||||
"react-native": ["0.78", "0.79", "0.80", "0.81"]
|
||||
},
|
||||
"0.6.x": {
|
||||
- "react-native": ["0.78", "0.79", "0.80", "0.81"]
|
||||
+ "react-native": ["0.78", "0.79", "0.80", "0.81", "0.82"]
|
||||
},
|
||||
"0.5.x": {
|
||||
"react-native": ["0.78", "0.79", "0.80", "0.81"]
|
||||
@@ -28,7 +28,7 @@ import { Proof } from './Proof'
|
||||
import { InFlightRequest, Mint } from './Mint'
|
||||
import { getRootStore } from './helpers/getRootStore'
|
||||
import { Transaction } from './Transaction'
|
||||
//
|
||||
// refresh
|
||||
|
||||
/*
|
||||
Not persisted, in-memory only model of the cashu-ts wallet instances and wallet keys persisted in the device secure store.
|
||||
|
||||
@@ -34,7 +34,7 @@ import RNExitApp from 'react-native-exit-app'
|
||||
import { TransactionStatus } from '../models/Transaction'
|
||||
import { maxTransactionsInHistory } from '../models/TransactionsStore'
|
||||
import { StaticScreenProps, useNavigation } from '@react-navigation/native'
|
||||
//
|
||||
// refresh
|
||||
|
||||
type Props = StaticScreenProps<undefined>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import { Platform } from "react-native"
|
||||
import AppError, { Err } from "../utils/AppError"
|
||||
|
||||
const { userSettingsStore } = rootStoreInstance
|
||||
// refresh
|
||||
//
|
||||
|
||||
if (!__DEV__) {
|
||||
Sentry.init({
|
||||
|
||||
@@ -11,5 +11,6 @@
|
||||
},
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"types": ["jest"],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user