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

App fails on logout #243

Closed
IvanProdaiko94 opened this issue Nov 23, 2016 · 4 comments
Closed

App fails on logout #243

IvanProdaiko94 opened this issue Nov 23, 2016 · 4 comments
Assignees

Comments

@IvanProdaiko94
Copy link

IvanProdaiko94 commented Nov 23, 2016

I have an Ionic/Cordova app that fails when I click logout, it started happening when I add Branch to my project, more over, I didn't even call BranchInit() method, moreover I didn't call 'Branch.logout()'.

Here is a screen from Xcode with error.
https://monosnap.com/file/OXzmfYRUj4Fd9vqGggQQViJ7xx2kkB

@aaustin
Copy link
Contributor

aaustin commented Nov 23, 2016

Hey @IvanProdaiko94 - Your screenshot is behind some sort of Github access wall. Can you try to open up permissions?

Can you share anything else about the failure? Is it a crash? Do you have crash logs? We haven't had any trouble with Ionic/Cordova with our own tests so we'll need more info. Thanks!

@ethanneff ethanneff self-assigned this Nov 23, 2016
@IvanProdaiko94
Copy link
Author

  • What permissions do I need to set to launch branch? I thought plugin.xml will provide my app with require permissions.
    It fails only on IOS. When I click logout, my app crashes from time to time and the error tracer says that it was branch, who fails. Please look at the peacture again

@aaustin
Copy link
Contributor

aaustin commented Nov 24, 2016

I don't think it's a permission issue.

Can you share the code you're using to call setIdentity? It looks as if you might be passing a non-string object as a parameter that causing us to barf.

@IvanProdaiko94
Copy link
Author

IvanProdaiko94 commented Dec 2, 2016

Yep, you are right. I provide an number parameter; Sorry for such a silly mistake(((

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

No branches or pull requests

3 participants