@hawcx/react-native-sdk 1.0.4 → 1.0.6
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/CHANGELOG.md +7 -1
- package/README.md +2 -2
- package/android/build.gradle +2 -2
- package/android/libs/hawcx-5.1.2.aar +0 -0
- package/example/ios/HawcxExampleApp.xcodeproj/project.xcworkspace/xcuserdata/agambhullar.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/example/ios/Podfile.lock +2 -2
- package/example/package-lock.json +4 -4
- package/example/package.json +2 -2
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64/HawcxFramework.framework/HawcxFramework +0 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/arm64-apple-ios.abi.json +18 -1
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/HawcxFramework +0 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/arm64-apple-ios-simulator.abi.json +18 -1
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json +18 -1
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/_CodeSignature/CodeResources +8 -8
- package/package.json +1 -1
- package/android/libs/hawcx-5.1.1.aar +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.6] - YYYY-MM-DD
|
|
4
|
+
- TODO: add release notes
|
|
5
|
+
|
|
6
|
+
## [1.0.5] - YYYY-MM-DD
|
|
7
|
+
- TODO: add release notes
|
|
8
|
+
|
|
3
9
|
## [1.0.4] - 2025-11-28
|
|
4
10
|
- Include Android sources in npm package and clarify linking error message.
|
|
5
11
|
|
|
@@ -17,4 +23,4 @@
|
|
|
17
23
|
|
|
18
24
|
## [0.0.1] - 2025-11-15
|
|
19
25
|
- Initial React Native bridge for Hawcx V5 authentication
|
|
20
|
-
- Added HawcxClient helpers, hooks, push support, and example app
|
|
26
|
+
- Added HawcxClient helpers, hooks, push support, and example app
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Official React Native bindings for the Hawcx V5 mobile authentication platform.
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npm install @hawcx/react-native-sdk
|
|
14
|
+
npm install @hawcx/react-native-sdk@1.0.6
|
|
15
15
|
# or yarn add @hawcx/react-native-sdk
|
|
16
16
|
```
|
|
17
17
|
|
|
@@ -27,7 +27,7 @@ Open the workspace (`ios/*.xcworkspace`) in Xcode when you need to run on a devi
|
|
|
27
27
|
|
|
28
28
|
### Android
|
|
29
29
|
|
|
30
|
-
No manual steps are required—Gradle picks up the bundled `hawcx-*.aar`. Make sure the Android SDK is installed and `ANDROID_HOME`/`adb` are on your path, then run `npm run android`.
|
|
30
|
+
No manual steps are required—Gradle picks up the bundled `hawcx-*.aar`. Make sure the Android SDK is installed and `ANDROID_HOME`/`adb` are on your path, then run `npm run android`. If you upgrade from an older package version, run `cd android && ./gradlew clean` once before rebuilding so React Native re-links the native module.
|
|
31
31
|
|
|
32
32
|
## Quick Start
|
|
33
33
|
|
package/android/build.gradle
CHANGED
|
@@ -22,7 +22,7 @@ def safeExtGet(prop, fallback) {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
group = 'com.hawcx.reactnative'
|
|
25
|
-
version = project.findProperty('HAWCX_REACT_NATIVE_ANDROID_VERSION') ?: '1.0.
|
|
25
|
+
version = project.findProperty('HAWCX_REACT_NATIVE_ANDROID_VERSION') ?: '1.0.6'
|
|
26
26
|
|
|
27
27
|
repositories {
|
|
28
28
|
mavenCentral()
|
|
@@ -124,7 +124,7 @@ afterEvaluate {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
dependencies {
|
|
127
|
-
api("api.hawcx:hawcx:
|
|
127
|
+
api("api.hawcx:hawcx:1.0.6")
|
|
128
128
|
def reactNativeVersion = safeExtGet('reactNativeAndroidVersion', '0.73.9')
|
|
129
129
|
implementation "com.facebook.react:react-android:$reactNativeVersion"
|
|
130
130
|
implementation 'androidx.annotation:annotation:1.8.1'
|
|
Binary file
|
|
Binary file
|
package/example/ios/Podfile.lock
CHANGED
|
@@ -11,7 +11,7 @@ PODS:
|
|
|
11
11
|
- ReactCommon/turbomodule/core (= 0.73.9)
|
|
12
12
|
- fmt (6.2.1)
|
|
13
13
|
- glog (0.3.5)
|
|
14
|
-
- HawcxReactNative (1.0.
|
|
14
|
+
- HawcxReactNative (1.0.6):
|
|
15
15
|
- React-Core
|
|
16
16
|
- hermes-engine (0.73.9):
|
|
17
17
|
- hermes-engine/Pre-built (= 0.73.9)
|
|
@@ -1236,7 +1236,7 @@ SPEC CHECKSUMS:
|
|
|
1236
1236
|
FBReactNativeSpec: 4fe1d8c2fadc7949344b197d933f76b40401aac5
|
|
1237
1237
|
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
|
|
1238
1238
|
glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2
|
|
1239
|
-
HawcxReactNative:
|
|
1239
|
+
HawcxReactNative: 8040e520764ac0b1c1fc78a546cefe7a06c7133b
|
|
1240
1240
|
hermes-engine: ed62e0dcd013bf4a3b487f164feec1c4e705b5b5
|
|
1241
1241
|
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
|
|
1242
1242
|
RCT-Folly: cd21f1661364f975ae76b3308167ad66b09f53f5
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hawcx-react-native-sdk-example",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "hawcx-react-native-sdk-example",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.6",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@hawcx/react-native-sdk": "
|
|
11
|
+
"@hawcx/react-native-sdk": "1.0.6",
|
|
12
12
|
"react": "18.2.0",
|
|
13
13
|
"react-native": "0.73.9",
|
|
14
14
|
"react-native-safe-area-context": "4.10.5",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"..": {
|
|
31
31
|
"name": "@hawcx/react-native-sdk",
|
|
32
|
-
"version": "1.0.
|
|
32
|
+
"version": "1.0.6",
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@react-native/eslint-config": "^0.74.0",
|
package/example/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hawcx-react-native-sdk-example",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "react-native start",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"lint": "eslint . --ext .js,.ts,.tsx"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@hawcx/react-native-sdk": "
|
|
12
|
+
"@hawcx/react-native-sdk": "1.0.6",
|
|
13
13
|
"react": "18.2.0",
|
|
14
14
|
"react-native": "0.73.9",
|
|
15
15
|
"react-native-safe-area-context": "4.10.5",
|
package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64/HawcxFramework.framework/HawcxFramework
CHANGED
|
Binary file
|
|
@@ -8482,6 +8482,16 @@
|
|
|
8482
8482
|
"RawDocComment"
|
|
8483
8483
|
]
|
|
8484
8484
|
},
|
|
8485
|
+
{
|
|
8486
|
+
"kind": "Import",
|
|
8487
|
+
"name": "Foundation",
|
|
8488
|
+
"printedName": "Foundation",
|
|
8489
|
+
"declKind": "Import",
|
|
8490
|
+
"moduleName": "HawcxFramework",
|
|
8491
|
+
"declAttributes": [
|
|
8492
|
+
"RawDocComment"
|
|
8493
|
+
]
|
|
8494
|
+
},
|
|
8485
8495
|
{
|
|
8486
8496
|
"kind": "Import",
|
|
8487
8497
|
"name": "CommonCrypto",
|
|
@@ -9202,7 +9212,14 @@
|
|
|
9202
9212
|
{
|
|
9203
9213
|
"filePath": "\/Users\/agambhullar\/dev_ios\/ios_sdk\/HawcxFramework\/auth\/HawcxAuthV5.swift",
|
|
9204
9214
|
"kind": "BooleanLiteral",
|
|
9205
|
-
"offset":
|
|
9215
|
+
"offset": 1596,
|
|
9216
|
+
"length": 5,
|
|
9217
|
+
"value": "false"
|
|
9218
|
+
},
|
|
9219
|
+
{
|
|
9220
|
+
"filePath": "\/Users\/agambhullar\/dev_ios\/ios_sdk\/HawcxFramework\/auth\/HawcxAuthV5.swift",
|
|
9221
|
+
"kind": "BooleanLiteral",
|
|
9222
|
+
"offset": 1639,
|
|
9206
9223
|
"length": 5,
|
|
9207
9224
|
"value": "false"
|
|
9208
9225
|
},
|
|
Binary file
|
|
@@ -8482,6 +8482,16 @@
|
|
|
8482
8482
|
"RawDocComment"
|
|
8483
8483
|
]
|
|
8484
8484
|
},
|
|
8485
|
+
{
|
|
8486
|
+
"kind": "Import",
|
|
8487
|
+
"name": "Foundation",
|
|
8488
|
+
"printedName": "Foundation",
|
|
8489
|
+
"declKind": "Import",
|
|
8490
|
+
"moduleName": "HawcxFramework",
|
|
8491
|
+
"declAttributes": [
|
|
8492
|
+
"RawDocComment"
|
|
8493
|
+
]
|
|
8494
|
+
},
|
|
8485
8495
|
{
|
|
8486
8496
|
"kind": "Import",
|
|
8487
8497
|
"name": "CommonCrypto",
|
|
@@ -9202,7 +9212,14 @@
|
|
|
9202
9212
|
{
|
|
9203
9213
|
"filePath": "\/Users\/agambhullar\/dev_ios\/ios_sdk\/HawcxFramework\/auth\/HawcxAuthV5.swift",
|
|
9204
9214
|
"kind": "BooleanLiteral",
|
|
9205
|
-
"offset":
|
|
9215
|
+
"offset": 1596,
|
|
9216
|
+
"length": 5,
|
|
9217
|
+
"value": "false"
|
|
9218
|
+
},
|
|
9219
|
+
{
|
|
9220
|
+
"filePath": "\/Users\/agambhullar\/dev_ios\/ios_sdk\/HawcxFramework\/auth\/HawcxAuthV5.swift",
|
|
9221
|
+
"kind": "BooleanLiteral",
|
|
9222
|
+
"offset": 1639,
|
|
9206
9223
|
"length": 5,
|
|
9207
9224
|
"value": "false"
|
|
9208
9225
|
},
|
|
@@ -8482,6 +8482,16 @@
|
|
|
8482
8482
|
"RawDocComment"
|
|
8483
8483
|
]
|
|
8484
8484
|
},
|
|
8485
|
+
{
|
|
8486
|
+
"kind": "Import",
|
|
8487
|
+
"name": "Foundation",
|
|
8488
|
+
"printedName": "Foundation",
|
|
8489
|
+
"declKind": "Import",
|
|
8490
|
+
"moduleName": "HawcxFramework",
|
|
8491
|
+
"declAttributes": [
|
|
8492
|
+
"RawDocComment"
|
|
8493
|
+
]
|
|
8494
|
+
},
|
|
8485
8495
|
{
|
|
8486
8496
|
"kind": "Import",
|
|
8487
8497
|
"name": "CommonCrypto",
|
|
@@ -9202,7 +9212,14 @@
|
|
|
9202
9212
|
{
|
|
9203
9213
|
"filePath": "\/Users\/agambhullar\/dev_ios\/ios_sdk\/HawcxFramework\/auth\/HawcxAuthV5.swift",
|
|
9204
9214
|
"kind": "BooleanLiteral",
|
|
9205
|
-
"offset":
|
|
9215
|
+
"offset": 1596,
|
|
9216
|
+
"length": 5,
|
|
9217
|
+
"value": "false"
|
|
9218
|
+
},
|
|
9219
|
+
{
|
|
9220
|
+
"filePath": "\/Users\/agambhullar\/dev_ios\/ios_sdk\/HawcxFramework\/auth\/HawcxAuthV5.swift",
|
|
9221
|
+
"kind": "BooleanLiteral",
|
|
9222
|
+
"offset": 1639,
|
|
9206
9223
|
"length": 5,
|
|
9207
9224
|
"value": "false"
|
|
9208
9225
|
},
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Modules/HawcxFramework.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
kipeaVQqudsiCalUjrsBKtrFgGU=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/HawcxFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
20
20
|
<data>
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/HawcxFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
v8spgCO5RCScNkLyrROujHaQ3ZY=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/HawcxFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
kipeaVQqudsiCalUjrsBKtrFgGU=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/HawcxFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
40
40
|
<data>
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/HawcxFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
B5CYP1lvwoBP/QhlrEtb15Zqnlg=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/module.modulemap</key>
|
|
56
56
|
<data>
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
<dict>
|
|
71
71
|
<key>hash2</key>
|
|
72
72
|
<data>
|
|
73
|
-
|
|
73
|
+
FgoPy0sTYahSuyhwF/ahgkEPk+YbYJoiiLlqCOkeuyE=
|
|
74
74
|
</data>
|
|
75
75
|
</dict>
|
|
76
76
|
<key>Modules/HawcxFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
@@ -98,14 +98,14 @@
|
|
|
98
98
|
<dict>
|
|
99
99
|
<key>hash2</key>
|
|
100
100
|
<data>
|
|
101
|
-
|
|
101
|
+
Adr3+OhrQwksqJjW0mqkN+gkEpJumRTpivDzur2ayHw=
|
|
102
102
|
</data>
|
|
103
103
|
</dict>
|
|
104
104
|
<key>Modules/HawcxFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
105
105
|
<dict>
|
|
106
106
|
<key>hash2</key>
|
|
107
107
|
<data>
|
|
108
|
-
|
|
108
|
+
FgoPy0sTYahSuyhwF/ahgkEPk+YbYJoiiLlqCOkeuyE=
|
|
109
109
|
</data>
|
|
110
110
|
</dict>
|
|
111
111
|
<key>Modules/HawcxFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
<dict>
|
|
134
134
|
<key>hash2</key>
|
|
135
135
|
<data>
|
|
136
|
-
|
|
136
|
+
yj+CbdOVcCuCjCr2YKuJ50nTQkjPuO38POrkoJOaIiI=
|
|
137
137
|
</data>
|
|
138
138
|
</dict>
|
|
139
139
|
<key>Modules/module.modulemap</key>
|
package/package.json
CHANGED
|
Binary file
|