Repository navigation
v0.2.9 — Release Notes
[3 tools called]
İşte release note:
feedback-react-native-sdk v0.2.9 — Release Notes
What's New
code parameter in boot (required)
feedbackSDKBoot now requires a code parameter (3rd argument). This is the channel/configuration identifier from the Pisano dashboard (e.g. "PSN-xxxxx"). The SDK uses it for all subsequent API calls.
Before (0.2.8):
feedbackSDKBoot(appId, accessKey, apiUrl, feedbackUrl, eventUrl, callback);After (0.2.9):
feedbackSDKBoot(appId, accessKey, 'PSN-xxxxx', apiUrl, feedbackUrl, eventUrl, callback);
// ^^^^^^^^^^
// new required parameterOptional code override in show
feedbackSDKShow now accepts an optional code parameter (4th argument) to override the boot code for a single call. Pass null to use the boot code.
Before (0.2.8):
feedbackSDKShow(viewMode, title, titleFontSize, language, customer, payload, callback);After (0.2.9):
feedbackSDKShow(viewMode, title, titleFontSize, code, language, customer, payload, callback);
// ^^^^
// new optional parameter (null = use boot code)New callback values
feedbackSDKCallback enum now includes:
| Value | Description |
|---|---|
DisplayRateLimited |
Server-side display rate throttling triggered |
SurveyPassive |
Channel is set to passive mode |
HealthCheckFailed |
SDK initialization failed |
Bug Fixes
- Android: Fix SDK initialization crash caused by using Application context instead of Activity context
- Android: Fix
showparameter ordering (codeandlanguagewere swapped) - Android: Implement unified
ActionListenerfor correct callback routing across boot/show/track - Android: Pass
debugModeflag to nativePisanoSDKManager.Builder - Android: Handle empty
eventUrlconsistently with iOS (treat as null)
Migration Guide
- Update dependency:
npm install feedback-react-native-sdk@0.2.9- Add
codeto boot call:
// Add your channel code as the 3rd parameter
feedbackSDKBoot(
'YOUR_APP_ID',
'YOUR_ACCESS_KEY',
'PSN-xxxxx', // <-- add this
'https://api.pisano.co',
'https://web.pisano.co/web_feedback',
undefined,
(status) => console.log(status)
);- Add
codeto show call (or pass null):
feedbackSDKShow(
feedbackSDKViewMode.Default,
'Title',
16,
null, // <-- add this (null = use boot code)
'en',
customer,
payload,
callback
);- iOS: Run
cd ios && pod install - Android: Rebuild (
npx react-native run-android)
Bu notu istediğin yere koyabilirsin - GitHub release, CHANGELOG, veya ayrı bir dosya. Nereye yazayım?