Still struggling with Branch.io

#1

I’ve published a new build through the app store, but still not getting information passing from the link to the app. My app.json has the following:

"ios": {
  "supportsTablet": false,
  "bundleIdentifier": "...",
  "infoPlist": {
    "NSLocationWhenInUseUsageDescription": "...",
    "NSLocationAlwaysUsageDescription": "...."
  },
  "associatedDomains": [
    "applinks:xxxx.app.link",
    "applinks:xxxx.test-app.link"
  ],
  "config": {
    "branch": {
      "apiKey": "key_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    }
  }
},

And in my app I have the following:

import { DangerZone } from 'expo';
let { Branch } = DangerZone;
.
.
.
componentDidMount() {
  Branch.subscribe(function(bundle) {
    if (bundle && bundle.params && !bundle.error) {
      handleLink(bundle.params);
    }
  });
}

But no data; handleLink is never called.

As far as I can tell my Branch settings are correct. I have ‘Universal Links’ enabled, my app ID and prefix come right out of the app id cert page in developer.apple.com, and “Associated Domains” is enabled on the distribution cert.

Is there something I’m missing or have done incorrectly? Do you have any further advice for debugging?

Thanks.

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.