We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please update the guide:
here: "document.addEventListener('resume', this.onDeviceReady, false);" change this.onDeviceReady to this.onDeviceResume
// sample index.js var app = { initialize: function() { this.bindEvents(); }, bindEvents: function() { document.addEventListener('deviceready', this.onDeviceReady, false); document.addEventListener('resume', this.onDeviceReady, false); }, onDeviceReady: function() { app.branchInit(); }, onDeviceResume: function() { app.branchInit(); }, branchInit: function() { // Branch initialization Branch.initSession(function(data) { // read deep link data on click alert('Deep Link Data: ' + JSON.stringify(data)); }); } };
app.initialize();
The text was updated successfully, but these errors were encountered:
@AndroideRob Thank you for finding this. I will update the docs as soon as possible.
Best,
Sorry, something went wrong.
No branches or pull requests
Please update the guide:
here: "document.addEventListener('resume', this.onDeviceReady, false);"
change this.onDeviceReady to this.onDeviceResume
// sample index.js
var app = {
initialize: function() {
this.bindEvents();
},
bindEvents: function() {
document.addEventListener('deviceready', this.onDeviceReady, false);
document.addEventListener('resume', this.onDeviceReady, false);
},
onDeviceReady: function() {
app.branchInit();
},
onDeviceResume: function() {
app.branchInit();
},
branchInit: function() {
// Branch initialization
Branch.initSession(function(data) {
// read deep link data on click
alert('Deep Link Data: ' + JSON.stringify(data));
});
}
};
app.initialize();
The text was updated successfully, but these errors were encountered: