community-cordova-plugin-nfc 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/FUNDING.yml +2 -0
- package/CHANGES.txt +118 -0
- package/LICENSE.txt +21 -0
- package/README.md +1371 -0
- package/doc/GettingStartedBlackBerry10.md +64 -0
- package/doc/GettingStartedCLI.md +71 -0
- package/doc/GettingStartedPhoneGapBuild.md +77 -0
- package/doc/phonegap_build.png +0 -0
- package/doc/read_tag_1_basic_app.png +0 -0
- package/doc/read_tag_2_dump_tag.png +0 -0
- package/doc/read_tag_3_payload_as_string.png +0 -0
- package/package.json +33 -0
- package/plugin.xml +147 -0
- package/src/android/src/com/chariotsolutions/nfc/plugin/NfcPlugin.java +1020 -0
- package/src/android/src/com/chariotsolutions/nfc/plugin/Util.java +140 -0
- package/src/blackberry10/index.js +148 -0
- package/src/ios/NfcPlugin.h +40 -0
- package/src/ios/NfcPlugin.m +627 -0
- package/src/webworks/build.xml +24 -0
- package/src/webworks/src/com/chariotsolutions/nfc/plugin/NfcPlugin.java +341 -0
- package/src/webworks/src/com/chariotsolutions/nfc/plugin/Util.java +137 -0
- package/src/windows/nfc-plugin.js +285 -0
- package/src/windows-phone-8/Ndef.cs +191 -0
- package/src/windows-phone-8/NfcPlugin.cs +200 -0
- package/tests/package.json +14 -0
- package/tests/plugin.xml +11 -0
- package/tests/tests.js +135 -0
- package/www/phonegap-nfc-blackberry.js +76 -0
- package/www/phonegap-nfc.js +912 -0
package/CHANGES.txt
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
= 1.2.0 =
|
|
2
|
+
iOS allow tag read and write in same session #419
|
|
3
|
+
|
|
4
|
+
= 1.1.2 =
|
|
5
|
+
Android Fix null pointer exception and possible crash #415 Thanks pschlang
|
|
6
|
+
iOS Notify Cordova on Successful Tag Write - #408 Thanks H0schi
|
|
7
|
+
iOS NDEF tags with no messages causes Read Failed #416
|
|
8
|
+
|
|
9
|
+
= 1.1.1 =
|
|
10
|
+
CoreNFC Framework is optional #400 Thanks M3skar and wux-shuto
|
|
11
|
+
|
|
12
|
+
= 1.1.0 =
|
|
13
|
+
Implement nfc.write for iOS
|
|
14
|
+
New iOS specific APIs
|
|
15
|
+
* scanNdef
|
|
16
|
+
* scanTag
|
|
17
|
+
* cancelScan
|
|
18
|
+
Deprecated old iOS APIs
|
|
19
|
+
* beginSession
|
|
20
|
+
* invalidate
|
|
21
|
+
Remove usage of UIWebView and WKWebView. Send event data to Javascript via the channel callback.
|
|
22
|
+
|
|
23
|
+
= 1.0.4 =
|
|
24
|
+
Added TAG string for iOS entitlement compatibility #376 Thanks ActionZachson
|
|
25
|
+
Add DeviceCapability proximity for Windows 10 builds #358 #265 Thanks DirkHeinke
|
|
26
|
+
Fix issue with AndroidManifest.xml #372 by LuisEGR
|
|
27
|
+
Fix error in documentation arrayBufferToString doesn't exist #356 Thanks JohnMcLear
|
|
28
|
+
|
|
29
|
+
= 1.0.3 =
|
|
30
|
+
Remove ES6 code from phonegap-nfc.js #325
|
|
31
|
+
|
|
32
|
+
= 1.0.2 =
|
|
33
|
+
Add reader mode for Android #326 #198
|
|
34
|
+
Add es6 to jshint config, remove strict mode, cleanup jshint errors #325
|
|
35
|
+
|
|
36
|
+
= 1.0.1 =
|
|
37
|
+
Replace webview.sendJavascript with channel on Android Fixes #196 #249 #225 #263 Thanks jmorille
|
|
38
|
+
Update code that removes event listener #257
|
|
39
|
+
NFC events not firing on first scan Fixes #217 #324 Thanks homer-jay
|
|
40
|
+
|
|
41
|
+
= 1.0.0 =
|
|
42
|
+
Add new commands nfc.connect, nfc.tranceive, nfc.close to support sending raw commands to NFC tags on Android.
|
|
43
|
+
Support tag types: NfcA (ISO 14443-3A), NfcB (ISO 14443-3B), NfcF (JIS 6319-4), NfcV (ISO 15693), and IsoDep (ISO 14443-4) #320
|
|
44
|
+
|
|
45
|
+
= 0.7.3 =
|
|
46
|
+
Bump version for npm issues
|
|
47
|
+
|
|
48
|
+
= 0.7.2 =
|
|
49
|
+
Add support for WKWebView #288 Thanks andreamaioli
|
|
50
|
+
|
|
51
|
+
= 0.7.1 =
|
|
52
|
+
Automatically Add NFC entitlement for iOS #285 Thanks andreamaioli
|
|
53
|
+
|
|
54
|
+
= 0.7.0 =
|
|
55
|
+
Add iOS support #139
|
|
56
|
+
Fixed language code field length detection #219 Thanks homer-jay
|
|
57
|
+
Fixed java.util.ConcurrentModificationException #231 Thanks João Gonçalves (Chuckytuh)
|
|
58
|
+
Documentation fixes #224 Thanks Tom Brückner (derwaldgeist)
|
|
59
|
+
|
|
60
|
+
= 0.6.6 =
|
|
61
|
+
Update Windows platforms (includes Windows Phone 8.1)
|
|
62
|
+
* tag event contains nested ndefMessage object #215
|
|
63
|
+
* support unformatted tags with addTagDiscoveredListener & removeTagDiscoveredListener #204
|
|
64
|
+
* implement showSettings #147
|
|
65
|
+
* better error messages when NFC is disabled #213
|
|
66
|
+
* use NDEF parsing and encoding code from www/phonegap-nfc.js (remove duplication)
|
|
67
|
+
* update documentation
|
|
68
|
+
|
|
69
|
+
= 0.6.5 =
|
|
70
|
+
Add nfc.showSettings for Android and BlackBerry 10 #147
|
|
71
|
+
Fix package name for Blackberry 10
|
|
72
|
+
|
|
73
|
+
= 0.6.4 =
|
|
74
|
+
Fix Android compile issue #192
|
|
75
|
+
|
|
76
|
+
= 0.6.3 =
|
|
77
|
+
Drop support for Cordova 2.9 #192
|
|
78
|
+
Move plugin to NPM #194
|
|
79
|
+
|
|
80
|
+
= 0.6.2 =
|
|
81
|
+
Add support for Windows Phone 8.1 and Windows 8.1 @jlkalberer #182
|
|
82
|
+
Update share on BlackBerry 10.2 #172
|
|
83
|
+
Fix callback for enabled on Android #169
|
|
84
|
+
Fix documentation @lezardrouge #180
|
|
85
|
+
Fix documentation @JohnMcLear #171
|
|
86
|
+
|
|
87
|
+
= 0.6.1 =
|
|
88
|
+
Add ndef.tnfToString Fixes #145
|
|
89
|
+
Add ndef.androidApplicationRecord(packageName) Fixes #161
|
|
90
|
+
Add more documentation for NO_NFC and NFC_DISABLED error codes Fixes #160
|
|
91
|
+
Ensure window.nfc is undefined on unsupported platforms like iOS. Fixes #151 & 152 from Jakob Witte Larsen @jakobwitte
|
|
92
|
+
Check if NFC is enabled #146 & #154 from David Froehlich @didlich
|
|
93
|
+
|
|
94
|
+
= 0.6.0 =
|
|
95
|
+
Change signature for remove*Listener methods. Fixes #142
|
|
96
|
+
|
|
97
|
+
= 0.5.1 =
|
|
98
|
+
nfc.makeReadOnly Fixes #6
|
|
99
|
+
Better encoding and decoding of UTF-8 strings. Fixes #102
|
|
100
|
+
|
|
101
|
+
= 0.5.0 =
|
|
102
|
+
remove listeners for Android implemented by Axel Nennker @AxelNennker #129
|
|
103
|
+
bug fix in stopNfc() from Michal Letynski @mletynski #125 #126
|
|
104
|
+
|
|
105
|
+
= 0.4.9 =
|
|
106
|
+
handleNfcFromIntentFilter is android only
|
|
107
|
+
add isType helper #103
|
|
108
|
+
|
|
109
|
+
= 0.4.8 =
|
|
110
|
+
Fix IllegalArgumentException #110
|
|
111
|
+
Update documentation about filtering mime types #71 and #72
|
|
112
|
+
Add onLoad for Android #105 and #99
|
|
113
|
+
Build better JSON from @didlich #113
|
|
114
|
+
|
|
115
|
+
= 0.4.7 =
|
|
116
|
+
Rewrite BlackBerry10 implementation for Cordova 3.0
|
|
117
|
+
Remove unused Android Ant scripts
|
|
118
|
+
Update documentation
|
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2011-2017 Chariot Solutions
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|