Update from v2.x to v4.0
Confirm once you update the Airbridge Expo SDK to v4.0.List of all changes
List of all changes
SDK installation and initialization
The key values of airbridge.json have been changed. Change the key values as follows.Deep Link
TheAirbridge.setDeeplinkListener function has been replaced with the Airbridge.setOnDeeplinkReceived function.
Set up custom domain
The method of specifying custom domain URLs in used in version 2.x, has been changed. You can now add custom domain links to thetrackingLinkCustomDomainsin the airbridge.json during Airbridge SDK initialization.
In-app events and user data
The function Airbridge.event.trackEvent has been replaced with Airbridge.trackEvent. Please change the function Airbridge.event.trackEvent to Airbridge.trackEvent following the example code below.AttentionThe
action , label , value , semanticAttributes values, which are in the second parameter of the Airbridge.event.trackEvent function must be included in the second parameter of the Airbridge.trackEvent function.The customAttributes value, which is the second parameter of the Airbridge.event.trackEvent function must be included in the third parameter of the Airbridge.trackEvent function.Airbridge.state.setUser and Airbridge.state.updateUser have been replaced with the Airbridge.setUser related functions. The setUser , updateUser functions, which set user information all at once, are no longer supported.
Additional settings
TheAirbridge.setAttributionListener function has been replaced with the Airbridge.SetOnAttributionReceived function.
Airbridge.placement.click , Airbridge.placement.impression functions have been replaced with the Airbridge.click , Airbridge.impression functions.
Airbridge.createWebInterface function has been replaced with the Airbridge.createWebInterfaceScript , Airbridge.handleWebInterfaceCommand functions.
Update within v2.x
See the major changes in each version of the Expo SDK.v2.6.0 - Deep Link
For apps registered with Airbridge after September 4, 2023, an issue where the deep link URL provided in the deep link callback was decoded twice from the content entered in the Airbridge dashboard has been resolved. This issue was found in versions v2.7.3 to v2.5.1.v2.5.1 - Deep Link
For apps registered with Airbridge after September 4, 2023, the “airbridge_referrer” will no longer be added to the deep link URL provided in the deep link callback. In the case of an iOS app update, the last calculated SKAdNetwork Conversion Value is finalized. No additional calculations are processed.- In versions earlier than v2.5.1, the SKAdNetwork Conversion Value is only calculated for up to 24 hours.
- This does not affect users who newly installed the app.
deeplink.page has been deprecated. From v2.5.1, we recommend writing code using the deep link domain, abr.ge.
deeplink.pagewill still be supported and functioning for backward compatibility.
v2.5.0 - User privacy
The default value fortrackingAuthorizeTimeout has been changed to 30 seconds.