Hi,
While developing android app for Nextcloud i want to pre enter our Nextcloud Server URL, so the user can directly login into to account without entering the Server URL.
I have done this in iOS app, there is an option in NCBrand.swift
disable_intro
disable_request_login_url
loginBaseURL (this is where we add the server URL)
It works on iOS but not on Android, i searched the forum but didnt find any solution.
If you mean with “developing android app” that you compile the Nextcloud Android app with your company brand, then your solution can be find in this file:
If you mean that you are developing a 3rd party Android app (like Deck, Notes, News, …), then i’d recommend you to use the Single Sign On:
Before this feature, there was even another line in this code, here is the example as it was, but it stopped working after some time, with new versions.
I tried what you mentioned but it still asks me for Server address
I want to enter the server URL in the main application and redirect the user to that Hole House.