Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
f1f529a
allow to hide the dashed border (on iOS)
May 16, 2017
cf8ebba
bump version no
jedt Jun 1, 2017
bb301d4
Fix compatibility for RN 0.47
Sep 1, 2017
0a75cc9
Change proptypes source
Sep 1, 2017
64c44f6
Merge pull request #78 from elieteyssedou/master
jedt Sep 11, 2017
6b4e36c
Merge pull request #60 from haraldreingruber/allowToHideDashedBorder
jedt Oct 10, 2017
f3bec47
bump version no.
jedt Oct 11, 2017
decb6bb
fixed dependencies and linked to ios
spencewine Oct 12, 2017
58d9d37
Merge pull request #90 from spencewine/exampleFix
jedt Oct 16, 2017
811a4e1
bump version
jedt Oct 16, 2017
b236ec8
add .podspec file for installation via CocoaPods
Oct 26, 2017
5f99394
removed readme text
jedt Dec 22, 2017
60626b7
update prop-types module
Jan 23, 2018
bd76b60
Merge branch 'master' into master
6pm Jan 23, 2018
473ccfa
Merge pull request #116 from 6pm/master
jedt Jan 23, 2018
92c418f
Applied getViewManagerconfig() as UIManager.RSSignatureView no longer…
TimothyOsborn Mar 29, 2019
c57f45e
Merge pull request #158 from TimothyOsborn/UIManagerRSSignatureView-w…
jedt Mar 29, 2019
41515e7
build.gradle updated
Dec 8, 2018
2f8a53b
Merge pull request #159 from Prokure/master
jedt Apr 23, 2019
2346c39
Merge pull request #91 from haraldreingruber/addPodspecFile
jedt Aug 1, 2019
b8236b8
bump version
jedt Aug 30, 2019
fa70be6
Allow backgroundColor to be customized on iOS.
amyboyd Jun 11, 2020
bc84847
Allow backgroundColor to be transparent in Android.
amyboyd Jun 11, 2020
93b453b
Remove line breaks from Android's base 64 encoding.
amyboyd Jun 11, 2020
ad8a6ea
Allow strokeColor to be changed on iOS.
amyboyd Jun 17, 2020
fa61bc3
Added "minStrokeWidth" and "maxStrokeWidth" props to README.md
Aug 12, 2020
261cf63
Update example react-native to 0.63.2
friederbluemle Aug 25, 2020
c7ef2c6
textual change
jedt Jan 8, 2021
5ab34ed
Merge pull request #222 from NeliHarbuzava/patch-1
jedt Jan 21, 2021
b78c515
Merge pull request #224 from friederbluemle/update-example
jedt Jan 26, 2021
ff37346
Merge branch 'master' of https://github.com/eaze/react-native-signatu…
jedt Jan 26, 2021
95f4ea7
Merge branch 'eaze-master'
jedt Jan 26, 2021
a3606c1
updated example and readme text
jedt Jan 26, 2021
4fb07b5
Remove executable bit from podspec file
friederbluemle Aug 25, 2020
1a27f22
Convert package-lock.json to yarn.lock
friederbluemle Aug 25, 2020
43860d1
Add react and react-native devDependencies
friederbluemle Aug 25, 2020
91f8a7a
Update example lock files
friederbluemle Jan 26, 2021
fe9920f
Merge pull request #233 from friederbluemle/update-project
jedt Jan 27, 2021
a5c87f5
Replace getExternalStorageDirectory function call with getExternalFil…
Legend1991 Mar 12, 2021
04de315
Merge pull request #236 from Legend1991/master
jedt Jun 7, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Example/.babelrc

This file was deleted.

4 changes: 4 additions & 0 deletions Example/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
root: true,
extends: '@react-native-community',
};
65 changes: 46 additions & 19 deletions Example/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,69 @@
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/

; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*
; Ignore polyfills
node_modules/react-native/Libraries/polyfills/.*

; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js
.*/Libraries/react-native/ReactNative.js
; These should not be required directly
; require from fbjs/lib instead: require('fbjs/lib/warning')
node_modules/warning/.*

; Flow doesn't support platforms
.*/Libraries/Utilities/LoadingView.js

[untyped]
.*/node_modules/@react-native-community/cli/.*/.*

[include]

[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow
flow/
node_modules/react-native/interface.js
node_modules/react-native/flow/

[options]
emoji=true

module.system=haste
esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable

experimental.strict_type_args=true
module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js

munge_underscores=true

module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-8]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-8]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
[lints]
sketchy-null-number=warn
sketchy-null-mixed=warn
sketchy-number=warn
untyped-type-import=warn
nonstrict-import=warn
deprecated-type=warn
unsafe-getters-setters=warn
unnecessary-invariant=warn
signature-verification-failure=warn
deprecated-utility=error

unsafe.enable_getters_and_setters=true
[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import

[version]
^0.38.0
^0.122.0
16 changes: 11 additions & 5 deletions Example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IntelliJ
#
Expand All @@ -40,14 +39,21 @@ yarn-error.log
buck-out/
\.buckd/
*.keystore
!debug.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
# https://docs.fastlane.tools/best-practices/source-control/

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# Bundle artifact
*.jsbundle

# CocoaPods
/ios/Pods/
6 changes: 6 additions & 0 deletions Example/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
bracketSpacing: false,
jsxBracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
};
2 changes: 1 addition & 1 deletion Example/.watchmanconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
14 changes: 14 additions & 0 deletions Example/__tests__/App-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* @format
*/

import 'react-native';
import React from 'react';
import App from '../App';

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';

it('renders correctly', () => {
renderer.create(<App />);
});
66 changes: 0 additions & 66 deletions Example/android/app/BUCK

This file was deleted.

55 changes: 55 additions & 0 deletions Example/android/app/_BUCK
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# To learn about Buck see [Docs](https://buckbuild.com/).
# To run your application with Buck:
# - install Buck
# - `npm start` - to start the packager
# - `cd android`
# - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
# - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
# - `buck install -r android/app` - compile, install and run application
#

load(":build_defs.bzl", "create_aar_targets", "create_jar_targets")

lib_deps = []

create_aar_targets(glob(["libs/*.aar"]))

create_jar_targets(glob(["libs/*.jar"]))

android_library(
name = "all-libs",
exported_deps = lib_deps,
)

android_library(
name = "app-code",
srcs = glob([
"src/main/java/**/*.java",
]),
deps = [
":all-libs",
":build_config",
":res",
],
)

android_build_config(
name = "build_config",
package = "com.signaturecaptureexample",
)

android_resource(
name = "res",
package = "com.signaturecaptureexample",
res = "src/main/res",
)

android_binary(
name = "app",
keystore = "//android/keystores:debug",
manifest = "src/main/AndroidManifest.xml",
package_type = "debug",
deps = [
":app-code",
],
)
Loading