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
I've added a listener and this error is showing.
This is my code:
const [branchBanner, setBannerIsShowing] = useState(false); useEffect(() => { const initAndFetch = async () => { const branch = (await import('branch-sdk')).default; branch.closeJourney(); branch.init(key); branch.track('pageview', { experiment: 'gen-banner' }); branch.setBranchViewData({ data: { x: 'open', y: id, }, }); branch.addListener(JourneyEvent.didShowJourney, () => { setBannerIsShowing(true); }); }; if (isMobile) { void initAndFetch(); } }, [isMobile, id]);
There should be no error
No response
window.branch.sdk
2.58.2
chrome Version 110.0.5481.100
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
Also experience this. Any idea ?
Any updates/ ways to solve it?
No branches or pull requests
Describe the bug
I've added a listener and this error is showing.
Steps to reproduce
This is my code:
Expected Behavior
There should be no error
Additional Information/Context
No response
SDK version used (
window.branch.sdk
)2.58.2
Environment
chrome Version 110.0.5481.100
The text was updated successfully, but these errors were encountered: