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

Behaves like a PWA instead of the actual NC App #12031

Closed
4 tasks done
Cybercube21 opened this issue Oct 13, 2023 · 12 comments
Closed
4 tasks done

Behaves like a PWA instead of the actual NC App #12031

Cybercube21 opened this issue Oct 13, 2023 · 12 comments
Labels
bug feature: authentication Authentication or accounts related

Comments

@Cybercube21
Copy link

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Install the NC App on a Pixel 8 Pro
  2. Be greeted by the NC app looking like a browser window of Nextcloud

Expected behaviour

Actual NC App UI opens and i can use the App functionalities like auto upload, etc. like this:
https://imgur.com/a/s7GCfnc

Actual behaviour

NC app looks like embedded browser window and you have 0 app functionalities:
https://imgur.com/a/HNz7Fq2

Android version

14

Device brand and model

Pixel 8 Pro

Stock or custom OS?

Stock

Nextcloud android app version

3.26.0

Nextcloud server version

25.0.4

Using a reverse proxy?

Yes

Android logs

No response

Server error logs

No response

Additional information

No Root access

@joshtrichards
Copy link
Member

Hi @Cybercube21 - How, specifically, did you install the app?

@joshtrichards joshtrichards added the needs info Waiting for info from user(s). Issues with this label will auto-stale. label Oct 13, 2023
@Cybercube21
Copy link
Author

@joshtrichards I used the Google Play Store to install it. Later i joined the Beta program to see if the Beta will fix it on the new Phone, it sadly didnt aswell.

@joshtrichards
Copy link
Member

Can you provide a screen shot that includes the bottom section of App info (i.e. everything under the heading "Store") for the Nextcloud app icon you're clicking on?

Right after you installed, were you prompted with the launcher screen that looks basically like these?
Stage 1: https://github.com/nextcloud/android/blob/eeb3dee028e835fd5d7f2e937b104b593ee7546c/app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_dark_blue.png
Stage 2: https://github.com/nextcloud/android/blob/eeb3dee028e835fd5d7f2e937b104b593ee7546c/app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login.png

@joshtrichards joshtrichards changed the title Nextcloud App behaves like a PWA instead of the actual NC App Behaves like a PWA instead of the actual NC App Oct 16, 2023
@Cybercube21
Copy link
Author

Sure, heres the Version screenshot: https://imgur.com/a/mafJ89q
Screenshot_20231016-171851

And yes, i got the usual NC App Start screen, but i also had a weird interaction there as, instead of waiting for me to click on "Log in", "Sign up with provider" etc., it automatically goes to the login page where i have to type in my servers address + everytime i close the App again it logs me out instantly and i'd have to type in my servers address again and login again. (+ It didnt save my 2fa aswell)

@joshtrichards joshtrichards added feature: authentication Authentication or accounts related and removed needs info Waiting for info from user(s). Issues with this label will auto-stale. labels Oct 16, 2023
@joshtrichards
Copy link
Member

  • Any chance you're using an untrusted/self signed HTTPS certificate?
  • Do you have any other Nextcloud Android apps such as Notes or Deck? If so, can you see if they work correctly? (They depend on the main app).

@Cybercube21
Copy link
Author

  • Im using a Lets Encrypt Certificate
  • I tried it with Notes but encountered the same problem since it wants me to log in the main app anyways. I sadly dont have the Deck App
    Also like i said, it still works perfectly fine on my Pixel 6 Pro, even after reinstalling it on there i had no issues whatsoever. It really just seems to be on my Pixel 8 Pro

@joshtrichards
Copy link
Member

joshtrichards commented Oct 19, 2023

That's... weird. Especially since both devices are Android 14.

What version of Android System WebView is installed on them? (It installs/updates via the Play store; it's not coupled to the OS image).

@Cybercube21
Copy link
Author

Pixel 6: 117.0.5938.156
Pixel 8: 117.0.5938.153 / I was able to update it to 118.0.5993.80, which sadly also didnt fix it

Also, i tried logging out on the Pixel 6, logged in again and now i have the same issue on it actually. Seems like it was fine on the already logged in Account but not if you try to login with anything new

@dsc-cryptostruct
Copy link

dsc-cryptostruct commented Oct 25, 2023

I have the Same issue. Server Version 27.1.2.1

@joshtrichards
Copy link
Member

@dsc-cryptostruct Android 14 as well?

@joshtrichards
Copy link
Member

I just noticed you're using NC Server v25.0.4:

  • That's really old (and unpatched). There were some web login flow related bugs fixed since then server-side. Any chance you can update your server?
  • Alternatively, can you reproduce this behavior with your client(s) against https://try.nextcloud.com ?

@Cybercube21
Copy link
Author

Sorry for the late answer, i did try it on a nextcloud from a friend of mine and it did work normal as intended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature: authentication Authentication or accounts related
Projects
None yet
Development

No branches or pull requests

3 participants