Skip to content
New issue

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

[FIX] Null callbackcontext for initSesison #103

Merged
merged 2 commits into from
Apr 14, 2016

Conversation

renesansz
Copy link
Contributor

Fixed initSession on new intent handler wherein it doesn't pass any callbackContext.

@@ -259,6 +259,20 @@ private void initSession(CallbackContext callbackContext)
}

/**
* <p>Initialises a session with the Branch API, without a callback or {@link Activity}.</p>
*/
private void initSession()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you just put this function in the one above and check if (!callbackContext)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aaustin , Just have refactored the code, let me know if that is what you meant?

@aaustin aaustin merged commit b58055d into master Apr 14, 2016
@amit-bansil amit-bansil deleted the fix/missing-callback-for-on-new-intent-init-session branch August 30, 2016 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants