halo-sdk-react-native 1.0.3 → 1.0.5
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 +56 -27
- package/README.md +735 -735
- package/android/build.gradle +90 -89
- package/android/settings.gradle +1 -1
- package/android/src/main/AndroidManifest.xml +9 -11
- package/android/src/main/kotlin/za/co/synthesis/halo/sdkreactnativeplugin/AnimationActivity.kt +160 -160
- package/android/src/main/kotlin/za/co/synthesis/halo/sdkreactnativeplugin/Const.kt +15 -15
- package/android/src/main/kotlin/za/co/synthesis/halo/sdkreactnativeplugin/HaloCallbacks.kt +126 -126
- package/android/src/main/kotlin/za/co/synthesis/halo/sdkreactnativeplugin/HaloReactActivity.kt +61 -61
- package/android/src/main/kotlin/za/co/synthesis/halo/sdkreactnativeplugin/HaloSdkImplementation.kt +81 -81
- package/android/src/main/kotlin/za/co/synthesis/halo/sdkreactnativeplugin/HaloSdkModule.kt +74 -74
- package/android/src/main/kotlin/za/co/synthesis/halo/sdkreactnativeplugin/HaloSdkPackage.kt +16 -16
- package/android/src/main/kotlin/za/co/synthesis/halo/sdkreactnativeplugin/UIContext.kt +20 -20
- package/android/src/main/kotlin/za/co/synthesis/halo/sdkreactnativeplugin/Utils.kt +154 -154
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -1,27 +1,56 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to `halo-sdk-react-native` will be documented here.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## [1.0.
|
|
8
|
-
|
|
9
|
-
###
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `halo-sdk-react-native` will be documented here.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## [1.0.5] - 2026-04-22
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- Updated Halo SDK to 4.0.18
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## [1.0.4] - 2026-03-04
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- Removed `tools:replace` and deprecated `package` attribute from the plugin's `AndroidManifest.xml`. The `tools:replace` directive belongs in the host app's manifest, not the library's, having it in the library manifest caused `processDebugManifest` to fail with "no new value specified".
|
|
18
|
+
|
|
19
|
+
### Documentation
|
|
20
|
+
- Added `tools:replace="android:label,android:allowBackup"` to the `AndroidManifest.xml` example in Getting Started — required because the Halo SDK and its bundled Visa library declare these attributes in their own manifests
|
|
21
|
+
- Added `packagingOptions` block to the `build.gradle` setup steps to prevent a duplicate OSGI metadata error from the SDK's transitive dependencies
|
|
22
|
+
- Added FAQ entries for manifest merger attribute conflicts, Gradle stale cache (`./gradlew clean`), and TypeScript `moduleResolution`/`customConditions` conflicts
|
|
23
|
+
- Fixed Full Example to drop unnecessary default `React` import (not needed with the automatic JSX transform in RN 0.73+)
|
|
24
|
+
- Fixed step numbering gap in Getting Started (was 4 → 6, now 1–6 sequential)
|
|
25
|
+
- Added Native Module Setup to the Table of Contents
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## [1.0.3] - 2026-03-04
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
- Bumped version to trigger npm re-publish after manifest fix was applied (superseded by 1.0.4)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## [1.0.2] - 2026-03-03
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
- Changed Halo SDK dependency declaration from `compileOnly` to `api` in `build.gradle` so it is exposed transitively to host apps. This prevents a `NoClassDefFoundError: HaloSDK` crash on launch, host apps no longer need to add the Halo SDK as a direct dependency.
|
|
40
|
+
|
|
41
|
+
### Documentation
|
|
42
|
+
- Updated README to remove the now-unnecessary manual Halo SDK runtime dependency step
|
|
43
|
+
- Fixed incorrect `resultType` check in code examples (`'success'`-> `'Initialized'`)
|
|
44
|
+
- Added Result Types reference table for `HaloInitializationResult` and `HaloTransactionResult`
|
|
45
|
+
- Added FAQ entries for common setup issues (Metro bundler `SyntaxError`, `JWTExpired` on init)
|
|
46
|
+
- Corrected the JWT section to reference official Halo documentation
|
|
47
|
+
- Fixed Full Example to use `requestHaloPermissions()` from `src/permissions.ts`
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## [1.0.1] - Initial release
|
|
52
|
+
|
|
53
|
+
- Initial React Native plugin wrapping the Halo Dot Android SDK
|
|
54
|
+
- Supports `initialize`, `startTransaction`, `cardRefundTransaction`, and `cancelTransaction`
|
|
55
|
+
- Event-driven callbacks via `NativeEventEmitter`: initialization, transaction result, UI messages, JWT requests, attestation errors, security errors, and camera events
|
|
56
|
+
- Scheme animations (Visa / Mastercard / Amex) on approved transactions via `AnimationActivity`
|