From 613583daf8cb8fc1a444e392f00288ca0bfbb31a Mon Sep 17 00:00:00 2001 From: Christoph Pader Date: Fri, 4 Oct 2024 14:11:37 +0200 Subject: [PATCH] rename android cpp library --- package/android/CMakeLists.txt | 4 ++-- .../src/main/java/com/margelo/rnquicksqlite/SequelModule.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/android/CMakeLists.txt b/package/android/CMakeLists.txt index 21ddf12..b7ba2ff 100644 --- a/package/android/CMakeLists.txt +++ b/package/android/CMakeLists.txt @@ -1,7 +1,7 @@ -project(ReactNativeQuickSQLite) +project(RNQuickSQLite) cmake_minimum_required(VERSION 3.9.0) -set (PACKAGE_NAME "react-native-quick-sqlite") +set (PACKAGE_NAME "RNQuickSQLite") set (CMAKE_VERBOSE_MAKEFILE ON) set (CMAKE_CXX_STANDARD 17) set (BUILD_DIR ${CMAKE_SOURCE_DIR}/build) diff --git a/package/android/src/main/java/com/margelo/rnquicksqlite/SequelModule.java b/package/android/src/main/java/com/margelo/rnquicksqlite/SequelModule.java index b0237f7..501574f 100644 --- a/package/android/src/main/java/com/margelo/rnquicksqlite/SequelModule.java +++ b/package/android/src/main/java/com/margelo/rnquicksqlite/SequelModule.java @@ -22,7 +22,7 @@ public String getName() { @ReactMethod(isBlockingSynchronousMethod = true) public boolean install() { try { - System.loadLibrary("react-native-quick-sqlite"); + System.loadLibrary("RNQuickSQLite"); QuickSQLiteBridge.instance.install(getReactApplicationContext()); return true; } catch (Exception exception) {