Skip to content

Commit

Permalink
Merge pull request standardnotes#3 from standardnotes/refactor
Browse files Browse the repository at this point in the history
Refactor
  • Loading branch information
radko93 authored Sep 9, 2020
2 parents 389fcbb + 1b11da9 commit 509627e
Show file tree
Hide file tree
Showing 291 changed files with 29,434 additions and 349 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

indent_style = space
indent_size = 2

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
66 changes: 56 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,67 @@
# Sodium
/libsodium

# OSX
#
.DS_Store

# XDE
.expo/

# VSCode
.vscode/
jsconfig.json

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IJ
#
android/build
android/.externalNativeBuild
android/lib
*.iml
.idea
.gradle
local.properties
android.iml
android/build
android/.externalNativeBuild
android/lib
# android/.cxx

# Xcode
ios/build
project.xcworkspace
xcuserdata
# Cocoapods
#
example/ios/Pods

# OSX
# node.js
#
.DS_Store
node_modules/
npm-debug.log
yarn-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore

# Expo
.expo/*

# generated by bob
lib/
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
example/
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,16 @@ Optionally, you can choose to compile libsodium by yourself (run __npm run&

### Usage

1. npm install react-native-sodium
2. react-native link react-native-sodium
3. react-native run-ios or react-native run-android
1. `npm install react-native-sodium`
2. `npx pod-install ios`
3. Run your app.

### Help
See [example application](https://www.npmjs.com/package/react-native-sodium-example).
### Example app

1. `yarn bootstrap`
2. `yarn example`
3. `yarn ios` or `yarn android`


### Credits
This repo is based on [react-native-sodium](https://github.com/lyubo/react-native-sodium) by @lyubo.
Binary file added android/.cxx/cmake/debug/arm64-v8a/.ninja_deps
Binary file not shown.
3 changes: 3 additions & 0 deletions android/.cxx/cmake/debug/arm64-v8a/.ninja_log
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ninja log v5
0 196 0 CMakeFiles/sodium-jni.dir/src/main/cpp/sodium-jni.c.o b60e1863624d94dd
197 273 0 ../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libsodium-jni.so c295f8d6820e0e4c
Loading

0 comments on commit 509627e

Please sign in to comment.