buttercup / buttercup-mobile

:iphone: React-Native mobile application for Buttercup
https://buttercup.pw
GNU General Public License v3.0
399 stars 71 forks source link

Buttercup minimizing when trying to connect to cloud #122

Open CSparn opened 6 years ago

CSparn commented 6 years ago

Hi,

I have a problem with the Buttercup andoid app. Every time when I'm trying to connect to any cloud the Buttercup app is minimizing. When I go back to the app I'm back in the main window, but the cloud is not connected or anything happend. I am using a Huawei P20 light with android 8. What can I do to solve this?

perry-mitchell commented 6 years ago

Seems like that phone uses ARMv8, but I'm quite sure it should be supported. It sounds as though the app is crashing for you, but I'm not sure why.

CSparn commented 6 years ago

Is there any possibility to activate a log so that I can check any possible errors? Or is there already any logging activated?

sallar commented 6 years ago

@CSparn so it only happens when trying to connect to the cloud? Does it happen when you navigate to cloud connect screen or when you press the connect button?

If it was the matter of not supporting armv8, it should have crashed right from the beginning and not even show the home screen. @perry-mitchell

CSparn commented 6 years ago

Hi, I can see the cloud connect window with all clouds and I can go to each of the four sub windows. I can even authenticate and connect to a drop box account. But when I try to click on the connect button in the WebDav, owncloud or nextcloud window the app crashes. The crash happens with and without any url, name and password! So maybe its a bug in the GUI or any socket or crypto function call?

sallar commented 6 years ago

I was able to reproduce this on my OnePlus 6 device. In my case ownCloud and NextCloud sources cause the app to crash when I tap on connect, but tapping on connect in WebDAV screen is working fine.

I’m guessing it’s a small unhandled error, I’ll look into this further tomorrow.

CSparn commented 6 years ago

Hi thank you very much. I tried to find the error on my self but it was a bit difficult without knowing the project in detail. Can you maybe tell me what was the problem if you find a solution?