BranchMetrics / web-branch-deep-linking-attribution

The Branch Web SDK for deep linking and attribution. Once initialized, the Branch Web SDK allows you to create and share links with a banner (web only), over SMS, or your own methods by generating deep links. It also offers event tracking, access to referrals, and management of credits.
https://help.branch.io/developers-hub/docs/web-sdk-overview
MIT License
288 stars 101 forks source link

Has app fix falsify #710

Closed jwangler-branch closed 4 years ago

jwangler-branch commented 4 years ago

After we have initialized the SDK with branch.init() get in the callback the field data. This field contains among others has_app. If there are no apps the value should be false. But in any case of false we got null as result.

Solution:

The condition: data['has_app'] || null, gets always null or true, because we have falsified here. Se solution contains now a new function witch checks this case and provides the functionality to the SDK

rubinsingh commented 4 years ago

👍