Giter VIP home page Giter VIP logo

cloud-sdk-capacitor-plugin's People

Contributors

martijndb avatar patrickniepel avatar pnull avatar royscheepens avatar trmi1012 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloud-sdk-capacitor-plugin's Issues

Add more properties to gas station model

Android

  • Rename PluginCofuStation to PluginGasStation

Both

  • Add opening hours: Pass values as is from tiles response to plugin + include documentation in the Wiki
{
    "openingHours": [
        {
            "day": "monday",
            "hours": [["0","5"], ["20","24"]] // open, 24h format
        },
        {
            "day": "tuesday",
            "hours": [["0","5"], ["20","24"]]  // open, 24h format
        }
    ]
}
  • Add fuel prices + fuel types:
{
    "fuelPrices": [
        {
            "fuelType": "diesel",
            "productName": "Diesel",
            "price": 1359,
            "unit": "L",
            "currency": "EUR",
            "priceFormatting": "d.dds", // see Wiki
            "updated": 1622030266 // Unix time in seconds
        },
        {
            "fuelType": "ron98e5",
            "productName": "Super Plus",
            "price": 1559,
            "unit": "L",
            "currency": "EUR",
            "priceFormatting": "d.dds", // see Wiki
            "updated": 1622030266 // Unix time in seconds
        }
    ]
}

Fix errors - iOS

Fix errors in

  • startFuelingApp (threading issue)
  • getNearbyGasStations

Update README

Motivation

Currently it is quite hard to know how to setup the project. The README should include:

  1. How to setup the capacitor plugin for iOS
  2. How to setup the capacitor plugin for Android
  3. How to update the PACE Cloud SDK for iOS
  4. How to update the PACE Cloud SDK for Android
  5. How to update the plugin (adjusting of interface files etc.)
  6. How to release a new version of the plugin via npm

Use stable Cloud SDK

We should integrate a stable version of the SDK here instead of the master, otherwise this will lead to a lot of confusion and breaking behavior.

Implement iOS' remaining wrapper methods

Tasks

  • listAvailableCoFuStations(countries: [String]? = null): Promise<{results: any[]}>
  • isPoiInRange(poiId: String): Promise<{result: boolean}>
  • checkForLocalApps(): Promise<{results: any[]}>
  • startApp(url: String)
  • startApp(app: App)

API definition

Upgrade Cloud SDK

Tasks

  • Update the interfaces to the latest Cloud SDK
  • Make sure to adjust the Wiki to explain the usage of the getAccessToken method

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.