We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c03cef9 commit c6d2201Copy full SHA for c6d2201
examples/browser_example/src/App.js
@@ -41,13 +41,13 @@ export default class App extends Component {
41
}
42
43
componentDidMount() {
44
- this._unsubscribeFromBranch = branch.subscribe(({ error, params }) => {
+ this._unsubscribeFromBranch = branch.subscribe(({ error, params, uri }) => {
45
if (error) {
46
- console.error("Error from Branch: " + error);
+ console.error(`Error from Branch opening ${JSON.stringify(uri)}: ${error}`);
47
return;
48
49
50
- console.log("Branch params: " + JSON.stringify(params));
+ console.log(`Branch params for ${JSON.stringify(uri)}: ${JSON.stringify(params)}`);
51
52
if (!params['+clicked_branch_link']) {
53
if (!!params['+non_branch_link']) {
0 commit comments