- New
getUnseenNotificationsBadge
/setUnseenNotificationsBadge
functions
- New
getInstallationId
function
- Remove
backgroundAnimation
option fromshowLoadingOverlay
- New
showLoadingOverlay
/hideLoadingOverlay
functions - Use web api when available in
readTextFromClipboard
andwriteTextToClipboard
functions - Optimize bundle size
- New
getBatteryInfo
function - New
readTextFromClipboard
andwriteTextToClipboard
functions
- New
downloadBase64
function
- New
getTopazValues
function
- New
focusNavbar
function
- New
shareBase64
function
nativeConfirm
: addeddestructive
modenativeMessag
: addedbuttonAccessibilityLabel
prop
updateNavigationBar
addsectionName
to top navbar actions- removed tealium methods:
getCustomerHash
/setCustomerHash
triggerPinOrBiometricAuthentication
method
getDeviceTac
method
getProfileImage
/startProfileImageFlow
to read/change the profile imagegetPincodeInfo
to get the pincode status
DATA_CONNECTION_INFO
: AddPERMISSION_REQUIRED
mobileConnectionType
- New
getNetworkConnectionInfo
function
- New
openOnboarding
function nativeMessage
: support forwithDismiss
,duration: "PERSISTENT"
, andaction
in response
- New
getDeviceModel
function - Update
getEsimInfo
to returneid
if possible - Deprecate
requestSimIcc
andrequestSimImsi
- New
colorVariant
option inupdateNavigationBar
- README cleanup
- Add
bottomSheetActions
- Fix left/right action options in updateNavigationBar
- New method
onNavigationBarIconClicked
to execute a callback when a NavigationBar icon is clicked
- Update
updateNavigationBar
with new properties
- Add
getAttStatus
method
- improve TrackingEvent types
- allow ß char in analytics events
- sanitize tracking params in setScreenName in Android/iOS too
- added missing
getRemoteConfig
export
- New
getRemoteConfig
function exposing firebase remote config
- Fix
setScreenName
in Android when not passing params.
- New
fetchPhoneNumbers
andupdatePhoneNumbers
methods.
- New
bottomSheetActionSelector
andbottomSheetInfo
methods
- Allow params in setScreenName
- Throw 423 error (locked) when trying to open a bottom sheet when a previous one is already being opened. This will prevent accidentally opening multiple sheets when the user does repeated taps
- Allow icons in
bottomSheet
rows
- New
bottomSheet
andbottomSheetSingleSelector
functions
- Analytics: allow
:
in event params
- Analytics: fixes in sanitization and allow / and | chars
- Analytics: truncate long event param values that exceed Firebase limits
- Analytics: expose
sanitizeAnalyticsParam
andsanitizeAnalyticsParams
methods
- fix setScreenName in web (gtag) to log screen name as page_title
- make analytics function resilient to gtag script being blocked by adblocker
- fix Analytics to allow
_
chars
- new
showAppRating()
function
- Send page_view instead of screen_view in web
- Message ids are now unique across different webviews
- fixed: added missing logout export
- Logout: added new method to end session in native app
- Analytics: added support for GA4 with gtag script in web. Removed old web UA support with google analytics.js script
- Analytics: automatically sanitize GA4 event attribute values.
- New method:
getTopazToken
. - Add timeout option to
renewSession
. setLogger
method to log bridge traffic for debugging.
BRIDGE_READY
message
- Analytics: support GA4/Firebase event format
- HIGHLIGHT_TAB message
- fix how we detect the lib is running inside an iframe.
- Add missing export.
- Add
logEcommerceEvent
method.
- Add
setActionBehavior
method to allow defining the behavior of close and back buttons in webviews - Upgrade dev dependencies to fix automatically reported vulnerabilities
- Breaking change:
webview-bridge
will be disabled inside iframes by default. It can be enabled by setting adata-enable-webview-bridge
property to theiframe
element.
- Expose
setTrackingProperty
.
setTrackingProperty
: fix typo in medallia.
- Add
setTrackingProperty
method.
- Add
getEsimInfo
method.
- Fix
TrackingEvent
type to bereadonly
, so analytics functions can accept immutable events too.
- New method
getCustomerHash
. Fetches the current customer subscription hash from the native app (for tracking purposes). For this method to return a valid hash, thesetCustomerHash
method has to have been called before (typically done from account dashboard page)
- SSR friendly. Not using
window
ordocument
when not available
- New function:
getDiskSpaceInfo
- New method
setCustomerHash
. Sets the hash of the current subscription for the customer, which is used for tracking purposes.
- Analytics: log timing value as integer. Google Analytics expects an integer, not float
- Fix missing export type CustomDimensionIdx in flow type definitions
- Add new analytics dimensions
- Update all the dependencies
- Use Github Actions instead of Travis
- Remove accent marks from analytics event labels.
- Removed non-explicit flow types
- Add
expandedTitle
toupdateNavigationBar()
.
- New function:
getAppMetadata
- More flow types fixes for renewSession
- Fix flow types for renewSession
- Improve changes in 2.9.0. RENEW_SESSION request message now includes the old
accessToken
- Messages to renew webview session.
- Add new flag
showProfileButton
toupdateNavigationBar()
.
- Update nativeConfirm and nativeAlert arguments type.
- New function:
fetchContactsByPhone
- New function:
requestVibration
- New function:
dismiss
- New function:
checkPermissionStatus
- New function:
internalNavigation
- Add 500ms timeout to remote config
- Update setWebViewTitle implementation
- Update documentation
- Internal features. See
APPS-5331
- New function:
onNativeEvent
- New function:
reportStatus
- Update TrackingEvent type for flow
- Only send GA events to selected Trackers
- Fix
isABTestingAvailable
flow type.
- Exported functions to A/B testing
isABTestingAvailable
- Add new Google Analytics custom dimensions
webviewBrowserVersion
- Add share function
- Remove visibility from navigation bar options
- Add new Google Analytics custom dimensions
- Add new Google Analytics custom dimensions
- Default values set for
label
andvalue
fields when logging analytics events
-
Exported functions from analytics module:
logTiming
setUserProperty
-
Exported constants from analytics module:
CD_WEBAPP_INSTALLED
CD_NOVUM_UID
CD_EVENT_VALUE
-
Added flow definitions file