Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Sep 25, 2024
1 parent 197f46e commit cbe3c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

def reactNativeArchitectures() {
def value = project.getProperties().get("reactNativeArchitectures")
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
}

def getExtOrDefault(name) {
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["OPSQLite" + name]
}
Expand All @@ -116,7 +111,7 @@ android {
}

defaultConfig {
minSdkVersion 23
minSdkVersion safeExtGet("minSdkVersion", 23)
targetSdkVersion safeExtGet('targetSdkVersion', 34)
versionCode 1
versionName "1.0"
Expand Down Expand Up @@ -157,7 +152,6 @@ android {
"-DUSE_CRSQLITE=${useCRSQLite ? 1 : 0}",
"-DUSE_LIBSQL=${useLibsql ? 1 : 0}",
"-DUSE_SQLITE_VEC=${useSqliteVec ? 1 : 0}"
abiFilters (*reactNativeArchitectures())
}
}

Expand Down
2 changes: 1 addition & 1 deletion op-sqlite.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Pod::Spec.new do |s|
s.license = package["license"]
s.authors = package["author"]

s.platforms = { :ios => "13.0", :osx => "10.15" }
s.platforms = { :ios => "13.0", :osx => "10.15", :visionos => "1.0" }
s.source = { :git => "https://github.com/op-engineering/op-sqlite.git", :tag => "#{s.version}" }

s.source_files = "ios/**/*.{h,m,mm}", "cpp/**/*.{h,cpp,c}"
Expand Down

0 comments on commit cbe3c4c

Please sign in to comment.