-
Notifications
You must be signed in to change notification settings - Fork 22
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
Unable to login in release mode #28
Comments
The error above was happening on package 1.1.2. Today I tried with 1.1.3 and it happens on both packages. Same exception, but different stacktrace.
|
@adnedelcu Please add the below rules in your proguard-rules.pro file: https://docs.kommunicate.io/docs/android-installation.html#building-with-proguard |
I don't have a proguard-rules.pro file. Where would I create this file in my flutter project? |
I managed to find out where to put the file, but the iOS release version of the application crashes when trying to create a new chat. |
This is the exception that the application crashes with.
|
Make sure the user is logged in. This could happen when the application ID is not present. Application ID is saved when the user logs in and removed when the user logs out. |
The same code works in debug mode and we are not logging out the customer unless they use the logout function of the app. |
Can you reinstall the app and reproduce this issue after a fresh login? |
We have decided to try to integrate another solution as we have spent 2 weeks trying to fix this issue and we're nowhere close to fixing it. The slow response time does not help. |
@adnedelcu Sorry for the delay in response. You had another issue earlier, you mentioned this specific issue five days ago, and we replied it as soon as we could. This is the first time someone has faced this issue. We hope you'll give another try, we can also connect and check if you want to. |
It's not just about this problem now. It's also about the time it took 7 days for the team to say no to the pull request we need for our integration or the fact that I asked a question in this very issue about where to put the |
Hi Daniel, We extremely apologize for the delay and for causing you trouble. We always try to resolve the customer issues ASAP even connecting via call as well. Looks like we missed your comment, we're very much sorry for that. Our tech is on leave for few days and needs to get his comment that's why the delay occurred for the pull request. Meanwhile, if you have any issues, you can also book a tech call from here https://calendly.com/kommunicate/support?back=1&month=2021-02 we'll involve our mobile developers to resolve quickly. Again sorry for the inconvenience caused :( |
Our testers tried again the same build that was crashing and it now works. I can't explain what happened then or why it works now and didn't then. |
Hello.
I have implemented the Flutter plugin and it works great while in debug mode, but when I try the same functionality in release mode, login fails and without login I can't open a conversation.
I have tried both login as existing user with
KommunicateFlutterPlugin.login([user info])
and login as visitor withKommunicateFlutterPlugin.loginAsVisitor(APP_ID)
.All the package returns on
.catchError
isPlatformException(Error, null, null, null)
.After I put some log messages, I found the real exception, but unable to figure out where it comes from as I am unable to debug.
Same exception is thrown when I try
.login()
and.loginAsVisitor()
.The text was updated successfully, but these errors were encountered: