Code Monkey home page Code Monkey logo

app-upgrade-react-native-sdk's People

Contributors

appupgrade-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

app-upgrade-react-native-sdk's Issues

Update UI Docs

Hello, everytime i want to create an upgrade i get confused about which version to enter. Can you please make it more clear, that the version you create is the one that you want to upgrade?

It seems like you got confused yourself when creating the documentation, because in the text you say to write 1.0.0 if you want to upgrade users to 1.0.1, however in the screenshot you have created the version as 1.0.1

Skærmbillede 2023-10-10 kl  17 46 26

Improvements

Hi,

Really liking the service and library so far.

I have a few improvements to suggest:

  • The try/catch & log on line 50 of api.js is not very useful to the caller of the function.
    • It feels like as the caller, I cannot handle the error and decide what to do. I think you should just throw the error. Or at least return false.
    • There are also logs that we may not even want to be logged in our app (we have a custom logger). So Ideally, this library would not log anything, but would either return some success object or error. Which we can handle and log as appropriate.
  • You guys are using axiosRetry. I would add the retry attempts as a parameter so we can control this. i.e if we only wanted to check when the app first opens.
  • Typescript support

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.