The Branch Cordova Ionic Phonegap SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
when I call initSession() function of the branch cordova plugin, I get a passcode/FaceID prompt on iOS.
Why does this happen and how to prevent that?
I am 100% sure that it is because of the branch plugin because if I comment out the initSession function on start up the prompt doesn't appear. When resuming the app (initSession is still uncommented in that part) the prompt returns.
Console Log (replaced key and bundleId for privacy reasons):
[branch.io] Branch.m(196) Log: Branch version 0.25.11 started at 2020-01-21 02:44:14 +0000.
**At this moment the passcode/faceId prompt pops up and nothing happens in console until I enter code or cancel. When I cancel or enter the code it resumes:**
THREAD WARNING: ['BranchSDK'] took '49.051025' ms. Plugin should use a background thread.
[branch.io] BNCServerInterface.m(762) Debug: URL: https://api2.branch.io/v1/open.
[branch.io] BNCServerInterface.m(766) Debug: Body: {
"branch_key" = "mykey";
.1.3","ad_tracking_enabled":true,"brand":"Apple","retryNumber":0,"uri_scheme":"private","os":"iOS","cd":{"pn":"mybundleid","mv":"-1"},"ios_bundle_id":"mybundleid","screen_width":1125,"debug":true,"model":"iPhone10,6","os_version":"13.3","branch_key":"mykey","tracking_disabled":true,"apple_ad_attribution_checked":false}.
[branch.io] BNCServerInterface.m(622) Error: Network service error: Error Domain=io.branch.sdk.error Code=1015 "User tracking is disabled." UserInfo={NSLocalizedDescription=User tracking is disabled.}.
I tried version 3.2.0, 3.2.1 and 4.0.0 - all with the same effect.
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.1.1
My initSession code is like in the examples (with ionic native wrapper)
Hello,
when I call initSession() function of the branch cordova plugin, I get a passcode/FaceID prompt on iOS. Why does this happen and how to prevent that? I am 100% sure that it is because of the branch plugin because if I comment out the initSession function on start up the prompt doesn't appear. When resuming the app (initSession is still uncommented in that part) the prompt returns.
Console Log (replaced key and bundleId for privacy reasons):
I tried version 3.2.0, 3.2.1 and 4.0.0 - all with the same effect. Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : ios 5.1.1
My initSession code is like in the examples (with ionic native wrapper)