Minimum Requirements
- The Branch Connected SDK requires native browser Javascript and has only been tested in Tizen and WebOS with sessionStorage capability. No third-party libraries are needed to make use of the SDK as it is 100% native Javascript.
| Tizen | WebOS |
|---|---|
| 2.3 | 6.0 |
Branch init Options
- Properties which you can pass within
branch.initSession() - Used for Initialize Branch features
| Key | Value | Type | Required |
|---|---|---|---|
| advertising_ids | The current device's advertising id declared by the brand's corresponding key. Please refer to Connected SDK Basic Integration for more the key index. | {string:string} | Y for Ad Network Attribution N for Web Based Attribution |
| branch_match_id | The current user's browser-fingerprint-id. The value of this parameter should be the same as the value of ?branch_match_id (automatically appended by Branch after a link click). _Only necessary if ?_branch_match_id is lost due to multiple redirects in your flow. | string | N |
| retries | default: 2 | number | N |
| retry_delay | expressed in milliseconds default: 200ms | number | N |
| timeout | expressed in milliseconds default: 5000ms | number | N |
| tracking_disabled | default: false | boolean | N |
| enableLogging | default: false | boolean | N |
No Access-Control Error
- Make sure the Branch key is the same within the deep link and app.
javascript
XMLHttpRequest cannot load https://api2.branch.io/v1/open. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 400.Browser Fingerprint ID
- In case you need to access your user's Browser Fingerprint ID for user deletion, use the function below.
javascript
branch.getBrowserFingerprintId(function(err, data) { console.log(data); });