diff --git a/AsyncStorageSQLiteKMP.podspec b/AsyncStorageSQLite.podspec
similarity index 100%
rename from AsyncStorageSQLiteKMP.podspec
rename to AsyncStorageSQLite.podspec
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/Info.plist b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/Info.plist
similarity index 100%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/Info.plist
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/Info.plist
index 60142ba..d727564 100644
--- a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/Info.plist
+++ b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/Info.plist
@@ -10,18 +10,15 @@
DebugSymbolsPath
dSYMs
LibraryIdentifier
- ios-arm64_x86_64-simulator
+ ios-arm64
LibraryPath
SQLiteStorageKMP.framework
SupportedArchitectures
arm64
- x86_64
SupportedPlatform
ios
- SupportedPlatformVariant
- simulator
BinaryPath
@@ -29,15 +26,18 @@
DebugSymbolsPath
dSYMs
LibraryIdentifier
- ios-arm64
+ ios-arm64_x86_64-simulator
LibraryPath
SQLiteStorageKMP.framework
SupportedArchitectures
arm64
+ x86_64
SupportedPlatform
ios
+ SupportedPlatformVariant
+ simulator
CFBundlePackageType
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Headers/SQLiteStorageKMP.h b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Headers/SQLiteStorageKMP.h
similarity index 100%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Headers/SQLiteStorageKMP.h
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Headers/SQLiteStorageKMP.h
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Info.plist b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Info.plist
similarity index 100%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Info.plist
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Info.plist
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Modules/module.modulemap b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Modules/module.modulemap
similarity index 100%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Modules/module.modulemap
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Modules/module.modulemap
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/SQLiteStorageKMP b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/SQLiteStorageKMP
similarity index 99%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/SQLiteStorageKMP
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/SQLiteStorageKMP
index ebc6bd2..2ddf037 100644
Binary files a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/SQLiteStorageKMP and b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/SQLiteStorageKMP differ
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Info.plist b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Info.plist
similarity index 100%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Info.plist
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Info.plist
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP
similarity index 99%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP
index dc08a5b..2fdc104 100644
Binary files a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP and b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP differ
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/Relocations/aarch64/SQLiteStorageKMP.yml b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/Relocations/aarch64/SQLiteStorageKMP.yml
similarity index 100%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/Relocations/aarch64/SQLiteStorageKMP.yml
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/Relocations/aarch64/SQLiteStorageKMP.yml
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Headers/SQLiteStorageKMP.h b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Headers/SQLiteStorageKMP.h
similarity index 100%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Headers/SQLiteStorageKMP.h
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Headers/SQLiteStorageKMP.h
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Info.plist b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Info.plist
similarity index 100%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Info.plist
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Info.plist
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Modules/module.modulemap b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Modules/module.modulemap
similarity index 100%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Modules/module.modulemap
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/Modules/module.modulemap
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/SQLiteStorageKMP b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/SQLiteStorageKMP
similarity index 99%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/SQLiteStorageKMP
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/SQLiteStorageKMP
index 5729030..fb5b9b2 100644
Binary files a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/SQLiteStorageKMP and b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/SQLiteStorageKMP.framework/SQLiteStorageKMP differ
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Info.plist b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Info.plist
similarity index 100%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Info.plist
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Info.plist
diff --git a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP
similarity index 99%
rename from AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP
rename to AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP
index be015d3..4cc0732 100644
Binary files a/AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP and b/AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64_x86_64-simulator/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/DWARF/SQLiteStorageKMP differ
diff --git a/AsyncStorageSQLiteKMP/src/AsyncStorageSQLite.swift b/AsyncStorageSQLite/src/AsyncStorageSQLite.swift
similarity index 98%
rename from AsyncStorageSQLiteKMP/src/AsyncStorageSQLite.swift
rename to AsyncStorageSQLite/src/AsyncStorageSQLite.swift
index 2c6aabe..f4e9d2f 100644
--- a/AsyncStorageSQLiteKMP/src/AsyncStorageSQLite.swift
+++ b/AsyncStorageSQLite/src/AsyncStorageSQLite.swift
@@ -6,9 +6,7 @@ public typealias Entry = EntryKMP
public typealias Unit = KotlinUnit
public typealias StorageAsyncSequence = NativeFlowAsyncSequence
-/**
- todo: retrieve items via kotlin flow
- */
+
public struct AsyncStorageSQLite {
public let name: String
diff --git a/README.md b/README.md
index 298987a..1bd0e5f 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Async Storage SQLite
-Multiplatform SQLite storage for React Native Async Storage
+Multiplatform native wrapper of SQLite for React Native Async Storage
## Installation
diff --git a/docs/assets/favicon.png b/docs/assets/favicon.png
new file mode 100644
index 0000000..aa6383a
Binary files /dev/null and b/docs/assets/favicon.png differ
diff --git a/docs/index.md b/docs/index.md
index 83b1bd7..95a5eb1 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,4 +1,7 @@
-# SQLite Storage
+# Async Storage SQLite
-Todo
+Multiplatform native wrapper of SQLite for React Native Async Storage
+
+!!! warning
+ Page in progress
diff --git a/docs/usage.md b/docs/usage.md
new file mode 100644
index 0000000..36e0f67
--- /dev/null
+++ b/docs/usage.md
@@ -0,0 +1,3 @@
+!!! warning
+ Page in progress
+
diff --git a/mkdocs.yml b/mkdocs.yml
index 79d7a44..487c4ff 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -1,26 +1,39 @@
-site_name: Async Storage Sqlite
-repo_url: https://github.com/react-native-async-storage/sqlite-storage
+site_name: Async Storage SQLite
+repo_url: https://github.com/react-native-async-storage/sqlite-storage-kmp
nav:
- - Home: index.md
+ - Getting started: index.md
+ - Usage: usage.md
theme:
name: material
palette:
- primary: green
- accent: teal
+ primary: deep purple
+ accent: orange
icon:
repo: fontawesome/brands/github
+ logo: octicons/database-16
+ favicon: assets/favicon.png
feature:
- navigation.tabs
- navigation.footer
+ - content.code.copy
markdown_extensions:
+ - admonition
+ - pymdownx.inlinehilite
+ - pymdownx.snippets
+ - pymdownx.details
+ - pymdownx.superfences
+ - pymdownx.tabbed:
+ alternate_style: true
- pymdownx.highlight:
- use_pygments: true
+ anchor_linenums: true
+ line_spans: __span
+ pygments_lang_class: true
extra:
social:
- icon: fontawesome/brands/github
- name: AsyncStorage
+ name: Async Storage
link: https://github.com/react-native-async-storage/async-storage
diff --git a/package_info.json b/package_info.json
index be998fe..93c1893 100644
--- a/package_info.json
+++ b/package_info.json
@@ -1,17 +1,17 @@
{
"name": "Async Storage SQLite",
"version": "0.0.1",
- "description": "Multiplatform sqlite storage for React Native Async Storage",
+ "description": "Multiplatform native wrapper of SQLite for React Native Async Storage",
"author": "Krzysztof Borowy",
- "homepage": "https://github.com/react-native-async-storage/sqlite-storage-kmp",
- "repository": "https://github.com/react-native-async-storage/sqlite-storage-kmp.git",
+ "homepage": "https://github.com/react-native-async-storage/sqlite-storage-native",
+ "repository": "https://github.com/react-native-async-storage/sqlite-storage-native.git",
"license": {
"type": "MIT",
- "url": "https://github.com/react-native-async-storage/sqlite-storage-kmp/blob/main/LICENSE.md",
+ "url": "https://github.com/react-native-async-storage/sqlite-storage-native/blob/main/LICENSE.md",
"date": "2023"
},
"darwin": {
- "podspec_name": "AsyncStorageSQLiteKMP",
+ "podspec_name": "AsyncStorageSQLite",
"xcframework_name": "SQLiteStorageKMP"
},
"android": {
diff --git a/samples/ios/Podfile b/samples/ios/Podfile
index 6453669..bdeaee0 100644
--- a/samples/ios/Podfile
+++ b/samples/ios/Podfile
@@ -5,6 +5,6 @@ target 'iosExample' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
- pod 'AsyncStorageSQLiteKMP', :path => '../../'
+ pod 'AsyncStorageSQLite', :path => '../../'
end
diff --git a/samples/ios/iosExample/Basic/BasicPage.swift b/samples/ios/iosExample/Basic/BasicPage.swift
index 6676e5f..7d75837 100644
--- a/samples/ios/iosExample/Basic/BasicPage.swift
+++ b/samples/ios/iosExample/Basic/BasicPage.swift
@@ -1,5 +1,5 @@
import SwiftUI
-import AsyncStorageSQLiteKMP
+import AsyncStorageSQLite
struct BasicPage: View {
diff --git a/samples/ios/iosExample/Basic/BasicView.swift b/samples/ios/iosExample/Basic/BasicView.swift
index 9b18c8b..1498f8b 100644
--- a/samples/ios/iosExample/Basic/BasicView.swift
+++ b/samples/ios/iosExample/Basic/BasicView.swift
@@ -1,13 +1,5 @@
-//
-// OperationsView.swift
-// iosExample
-//
-// Created by Krzysztof Borowy on 07/02/2024.
-// Copyright © 2024 orgName. All rights reserved.
-//
-
import SwiftUI
-import AsyncStorageSQLiteKMP
+import AsyncStorageSQLite
private let KEY = "random"
diff --git a/samples/ios/iosExample/Basic/DatabaseSelectorView.swift b/samples/ios/iosExample/Basic/DatabaseSelectorView.swift
index a7f433c..6877a82 100644
--- a/samples/ios/iosExample/Basic/DatabaseSelectorView.swift
+++ b/samples/ios/iosExample/Basic/DatabaseSelectorView.swift
@@ -1,5 +1,5 @@
import SwiftUI
-import AsyncStorageSQLiteKMP
+import AsyncStorageSQLite
struct DatabaseSelector: View {
@Binding private var db: AsyncStorageSQLite?
diff --git a/samples/ios/iosExample/Keys/KeysPage.swift b/samples/ios/iosExample/Keys/KeysPage.swift
index 9777cc1..4fb6ed1 100644
--- a/samples/ios/iosExample/Keys/KeysPage.swift
+++ b/samples/ios/iosExample/Keys/KeysPage.swift
@@ -1,5 +1,5 @@
import SwiftUI
-import AsyncStorageSQLiteKMP
+import AsyncStorageSQLite
struct KeysPage: View {
diff --git a/samples/ios/iosExample/Merge/MergePage.swift b/samples/ios/iosExample/Merge/MergePage.swift
index e1b3238..b628bff 100644
--- a/samples/ios/iosExample/Merge/MergePage.swift
+++ b/samples/ios/iosExample/Merge/MergePage.swift
@@ -1,5 +1,5 @@
import SwiftUI
-import AsyncStorageSQLiteKMP
+import AsyncStorageSQLite
struct MergePage: View {
diff --git a/samples/ios/iosExample/Multi/MultiPage.swift b/samples/ios/iosExample/Multi/MultiPage.swift
index 5bf476d..ed0b293 100644
--- a/samples/ios/iosExample/Multi/MultiPage.swift
+++ b/samples/ios/iosExample/Multi/MultiPage.swift
@@ -1,5 +1,5 @@
import SwiftUI
-import AsyncStorageSQLiteKMP
+import AsyncStorageSQLite
private let DatabaseName = "multiple-example.db"