Code Monkey home page Code Monkey logo

Comments (5)

David-Development avatar David-Development commented on August 14, 2024 1

Yes, exactly!

Yes, I think the NextcloudAPI would be the right place. I also added it to the list of errors that we need to handle #14 .

from android-singlesignon.

tobiasKaminsky avatar tobiasKaminsky commented on August 14, 2024

The files app has already release versions (2.0, 3.0, currently 3.2).
And for this library we will also do releases, which then can be used via jitpack:
android-SingleSignOn-0.1 / android-SingleSignOn-0.5 and so on.

Or do I understand you wrong?

from android-singlesignon.

David-Development avatar David-Development commented on August 14, 2024

Let me describe the usecase in german:

Rein hypothetisches Beispiel:
Nutzer A hat die Nextcloud Files App in Version 3.0 installiert. Nun hat Version 3.0 einen Fehler im Netzwerkstack der bereits in Version 3.2 behoben wurde. Ich als Entwickler der news app möchte die Version der Files App prüfen können, um den Nutzer darauf hinzuweisen, dass er die Files App bitte updaten soll um den bekannten Fehler zu umgehen.

Hoffe das macht den Anwendungsfall etwas klarer.

from android-singlesignon.

tobiasKaminsky avatar tobiasKaminsky commented on August 14, 2024

Ah. Ok. So you want to have the possibility to query the files app version.
This should be possible, I guess.

I would then go even further and say, that we need a mechanism, that shows an exception to the 3rd party app, if the used library is not compatible to the files app:
3rd party app uses lib 1.1, which requires to files app >= 3.2.

If an user now has only files app 3.0 installed, our library should return an exception to the 3rd party app that the files app is too old.

We can check this during instantiating NextcloudAPI?

from android-singlesignon.

David-Development avatar David-Development commented on August 14, 2024

Fixed by cb598c2

from android-singlesignon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.