Skip to content

Commit 54c1a10

Browse files
New architecture (#33)
## Description Migrated react native executorch library to new architecture, implemented new version of event emitters offered by new architecture, adjusted native code to implement codegen generated classes also updated react native version to 0.76 and changed folder structures so it's more self explanatory. ### Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [x] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update (improves or adds clarity to existing documentation) ### Tested on - [x] iOS - [x] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [x] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent fe00d6b commit 54c1a10

33 files changed

+2061
-1684
lines changed

android/build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ android {
6363
defaultConfig {
6464
minSdkVersion getExtOrIntegerDefault("minSdkVersion")
6565
targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
66-
66+
buildConfigField("boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString())
6767
}
6868

6969
buildTypes {
@@ -98,4 +98,3 @@ dependencies {
9898
implementation(files("libs/executorch-llama.aar"))
9999
implementation("com.squareup.okhttp3:okhttp:4.9.2")
100100
}
101-

android/gradlew

-249
This file was deleted.

android/gradlew.bat

-92
This file was deleted.

android/src/main/java/com/rnexecutorch/RnExecutorchPackage.kt

-17
This file was deleted.

0 commit comments

Comments
 (0)