task: sync RN ← Android corev8.3.0 + iOS 7.7.1 (RN4.2.0)#1
Open
clevertap-wrapper-sync[bot] wants to merge 9 commits into
Open
task: sync RN ← Android corev8.3.0 + iOS 7.7.1 (RN4.2.0)#1clevertap-wrapper-sync[bot] wants to merge 9 commits into
clevertap-wrapper-sync[bot] wants to merge 9 commits into
Conversation
Android: core 8.3.0 iOS: core 7.7.1 Auto-generated by clevertap-wrapper-sync via clevertap-wrapper-tooling. Co-Authored-By: Claude <noreply@anthropic.com>
Auto-sync produced a silent no-op stub here because the diff tool's Java regex missed the multi-line declaration in Android core 8.3.0 (HashMap<String, Object> param wrapped onto a second line). Replaced the stub with a real call to the native method, using the existing eventPropsFromReadableMap convention for ReadableMap -> HashMap conversion. Updated the Android CHANGELOG line to mention the element-click attribution method too.
…rID test surfaces - App Inbox section gets two new menu entries: fetchInbox() and fetchInbox (with callback). The callback variant prints the boolean success result to the Metro console. - Native Display section gets a quick smoke-test entry for the new pushDisplayUnitElementClickedEventForID method. - New top-level "Push DisplayUnit Element Click" form section that pre-fills with mixed-type props (string, number, bool, nested object via JSON, array via JSON, null) so the bridge marshalling is exercised end-to-end. Editable per field. - Extend DynamicForm to accept optional initialValues so configs can ship pre-populated rows. - Add parseFormValue helper in app-utils that infers bool/number/ null/JSON-object/JSON-array from TextInput strings, falling back to string. Drives the mixed-type form above. - metro.config.js: add the wrapper repo (../..) as a watchFolder and pin nodeModulesPaths to Example/node_modules. Required so Metro can resolve Example/node_modules/clevertap-react-native -> ../.. (the live wrapper) without searching the wrapper's own node_modules and ending up with duplicate React installs.
- Bump package.json + android/build.gradle (versionCode 420, versionName 4.2.0). - Reformat CHANGELOG [Unreleased] into proper Version 4.2.0 (June 5 2026) block matching the existing v4.1.0 format. Calls out App Inbox Cross-Device Sync + pull-to-refresh on both platforms, iOS-only silent-in-foreground push, and the new fetchInbox / pushDisplayUnitElementClickedEventForID APIs. - docs/usage.md: document fetchInbox(callback?) under App Inbox and pushDisplayUnitElementClickedEventForID under Native Display, with availability tagged as v4.2.0 and a realistic mixed-type example. - docs/install.md: bump the Android native SDK pin from 8.1.0 to 8.3.0.
…llback fetchInbox was logging-only when the SDK wasn't initialized, while fetchVariables and fetchInApps deliver the error through the callback. Match the convention: log always, and when a callback is provided also invoke it with (CLEVERTAP_NOT_INITIALIZED, null) so host apps observing the (err, success) pattern see the failure instead of waiting forever.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There's an issue with the selected model (sonnet-4-6). It may not exist or you may not have access to it. Run --model to pick a different model.