Skip to content

Commit 2fa536c

Browse files
authored
Merge pull request #4 from ajaykumar97/feat-react-native-0-79
feat react native 0 79
2 parents 423cc35 + 6895f66 commit 2fa536c

File tree

28 files changed

+2670
-3952
lines changed

28 files changed

+2670
-3952
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v2
9-
- uses: actions/cache@v2
9+
- uses: actions/cache@v4
1010
with:
1111
path: '**/node_modules'
1212
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ local.properties
3535
!debug.keystore
3636
*.apk
3737
output.json
38+
.kotlin/
3839

3940
# node.js
4041
#

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ npm uninstall -g react-native-cli
5959

6060
## Quick start
6161

62-
Generate a new React Native(**v0.76**) app using the **@ajaysidhu/react-native-template**:
62+
Generate a new React Native(**v0.79**) app using the **@ajaysidhu/react-native-template**:
6363

6464
```shell
6565
npx @react-native-community/cli@latest init myapp --template @ajaysidhu/react-native-template --skip-install --pm npm --skip-git-init
@@ -84,7 +84,7 @@ npm start
8484
```
8585

8686
2. Minimum supported versions:
87-
- iOS: 15
87+
- iOS: 15.1
8888
- Android: 26
8989

9090
## Use Older versions

template/Gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ ruby ">= 2.6.10"
77
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
99
gem 'xcodeproj', '< 1.26.0'
10+
gem 'concurrent-ruby', '< 1.3.4'
11+
12+
# Ruby 3.4.0 has removed some libraries from the standard library.
13+
gem 'bigdecimal'
14+
gem 'logger'
15+
gem 'benchmark'
16+
gem 'mutex_m'

template/_gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ local.properties
3636
!debug.keystore
3737
*.apk
3838
output.json
39+
.kotlin/
3940

4041
# node.js
4142
#

template/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ def enableProguardInReleaseBuilds = false
7777
* The preferred build flavor of JavaScriptCore (JSC)
7878
*
7979
* For example, to use the international variant, you can use:
80-
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
80+
* `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
8181
*
8282
* The international variant includes ICU i18n library and necessary data
8383
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
8484
* give correct results when using with locales other than en-US. Note that
8585
* this variant is about 6MiB larger per architecture than default.
8686
*/
87-
def jscFlavor = 'org.webkit:android-jsc:+'
87+
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
8888

8989
android {
9090
ndkVersion rootProject.ext.ndkVersion

template/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ buildscript {
33
buildToolsVersion = "35.0.0"
44
minSdkVersion = 26
55
compileSdkVersion = 35
6-
targetSdkVersion = 34
7-
ndkVersion = "26.1.10909125"
8-
kotlinVersion = "1.9.24"
6+
targetSdkVersion = 35
7+
ndkVersion = "27.1.12297006"
8+
kotlinVersion = "2.0.21"
99
}
1010
repositories {
1111
google()

template/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.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

template/android/gradlew

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

9190
# Use the maximum available, or set MAX_FD != -1 to use that value.
9291
MAX_FD=maximum
@@ -205,7 +204,7 @@ fi
205204
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
206205

207206
# Collect all arguments for the java command:
208-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
209208
# and any embedded shellness will be escaped.
210209
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
211210
# treated as '${Hostname}' itself on the command line.

template/android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins { id("com.facebook.react.settings") }
33
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
44

55
rootProject.name = 'com.projectname'
6-
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
6+
77
include ':app'
88
includeBuild('../node_modules/@react-native/gradle-plugin')
99

0 commit comments

Comments
 (0)