Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Franco committed Jul 28, 2022
1 parent 048e124 commit 2f08850
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ import {
} from './Database';
import type { User } from './model/User';
import { Buffer } from 'buffer';
import { QuickSQLite } from 'react-native-quick-sqlite';

export default function App() {
let [users, setUsers] = React.useState<User[]>([]);

React.useEffect(() => {
QuickSQLite.nativeStorage.asyncBar().then((res) => {
console.warn('async result', res);
});
lowLevelInit();
const users = queryUsers();
// console.warn('db users', users);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-quick-sqlite",
"version": "4.0.1",
"version": "4.0.2",
"description": "Fast SQLite for react-native",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
2 changes: 1 addition & 1 deletion react-native-quick-sqlite.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Pod::Spec.new do |s|
}

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

s.dependency "React-callinvoker"
s.dependency "React"
Expand Down

0 comments on commit 2f08850

Please sign in to comment.