Skip to content

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
developfrom
task/release_RN4.2.0
Open

task: sync RN ← Android corev8.3.0 + iOS 7.7.1 (RN4.2.0)#1
clevertap-wrapper-sync[bot] wants to merge 9 commits into
developfrom
task/release_RN4.2.0

Conversation

@clevertap-wrapper-sync

Copy link
Copy Markdown

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.

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>
piyush-kukadiya and others added 8 commits June 5, 2026 14:19
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants