Skip to content

Commit 3b422dd

Browse files
Merge pull request #8 from rn-bridge/rn_0.78_support
React native 0.78.0 upgrade
2 parents f7293b8 + 84a6994 commit 3b422dd

File tree

16 files changed

+3585
-9031
lines changed

16 files changed

+3585
-9031
lines changed

.yarnrc.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
nodeLinker: node-modules
2+
nmHoistingLimits: workspaces
23

3-
yarnPath: .yarn/releases/yarn-3.6.1.cjs
4+
plugins:
5+
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
6+
spec: "@yarnpkg/plugin-interactive-tools"
7+
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
8+
spec: "@yarnpkg/plugin-workspace-tools"
9+
10+
yarnPath: .yarn/releases/yarn-3.6.1.cjs

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ React native library for android shortcuts and iOS quick actions which allow use
66

77
Fully compatible with TypeScript & Turbomodules.
88

9+
Required React Native Version >=0.72.0
10+
911
## Example
1012

1113
| Android | iOS |
@@ -261,8 +263,5 @@ To run example app, follow the below steps
261263
262264
1. Clone the repository
263265
2. Do `yarn install`
264-
3. Next navigate to example folder i.e `cd example`
265-
4. Do `yarn install`
266-
5. Next navigate to ios folder i.e `cd ios` and do `pod install`, then `cd ..`
267-
6. For android run `yarn android`
268-
7. For ios run `yarn ios`
266+
3. For android`yarn example android`
267+
5. For iOS `cd ios` and do `bundle exec pod install` and run the iOS app from XCode

android/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
1212
# org.gradle.parallel=true
1313
#Sun Aug 18 23:34:54 IST 2024
14-
ReactNativeShortcuts_compileSdkVersion=34
14+
ReactNativeShortcuts_compileSdkVersion=35
1515
ReactNativeShortcuts_kotlinVersion=2.0.21
1616
ReactNativeShortcuts_minSdkVersion=24
1717
ReactNativeShortcuts_ndkversion=27.1.12297006
18-
ReactNativeShortcuts_targetSdkVersion=34
18+
ReactNativeShortcuts_targetSdkVersion=35
1919
android.useAndroidX=true

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

android/gradlew

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

example/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Lines changed: 541 additions & 0 deletions
Large diffs are not rendered by default.

example/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Lines changed: 28 additions & 0 deletions
Large diffs are not rendered by default.

example/.yarn/releases/yarn-3.6.1.cjs

Lines changed: 874 additions & 0 deletions
Large diffs are not rendered by default.

example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ def enableProguardInReleaseBuilds = false
6363
* The preferred build flavor of JavaScriptCore (JSC)
6464
*
6565
* For example, to use the international variant, you can use:
66-
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
66+
* `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
6767
*
6868
* The international variant includes ICU i18n library and necessary data
6969
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
7070
* give correct results when using with locales other than en-US. Note that
7171
* this variant is about 6MiB larger per architecture than default.
7272
*/
73-
def jscFlavor = 'org.webkit:android-jsc:+'
73+
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
7474

7575
android {
7676
ndkVersion rootProject.ext.ndkVersion

example/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
buildscript {
22
ext {
3-
buildToolsVersion = "34.0.0"
3+
buildToolsVersion = "35.0.0"
44
minSdkVersion = 24
5-
compileSdkVersion = 34
6-
targetSdkVersion = 34
5+
compileSdkVersion = 35
6+
targetSdkVersion = 35
77
ndkVersion = "27.1.12297006"
88
kotlinVersion = "2.0.21"
99
}

0 commit comments

Comments
 (0)