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

bug: some plugins are not found #26

Open
robingenz opened this issue Jul 13, 2023 · 2 comments
Open

bug: some plugins are not found #26

robingenz opened this issue Jul 13, 2023 · 2 comments

Comments

@robingenz
Copy link
Contributor

There seems to be some problems with the search. Some plugins are not found.

Example:

  • Search Keyword: nfc
  • Response:
[
  {
    "name": "cordova-plugin-ns0m-nfc",
    "npmPackageName": "cordova-plugin-ns0m-nfc",
    "description": "Near Field Communication (NFC) Plugin. Read and write NDEF messages to NFC tags and share NDEF messages with peers.",
    "keywords": ["nfc", "ndef", "cordova wp8", "wp8", "cordova blackberry10"],
    "license": { "type": "MIT" },
    "lastUpdated": "2022-11-24T14:09:12.723Z",
    "githubUrl": "https://github.com/ns0m/cordova-plugin-ns0m-nfc.git",
    "health": { "score": 50, "modifiers": [] },
    "platforms": ["android", "wp8", "windows", "blackberry10", "ios"],
    "author": { "name": "Don Coleman", "email": "don.coleman@gmail.com" },
    "type": "community",
    "stats": {
      "downloads": 291,
      "downloadsStart": "2023-06-12",
      "downloadsEnd": "2023-07-11",
      "downloadsPeriod": "last-month",
      "stars": 2,
      "openIssues": 0,
      "watchers": 0
    }
  },
  {
    "name": "phonegap-nfc",
    "npmPackageName": "phonegap-nfc",
    "description": "Near Field Communication (NFC) Plugin. Read and write NDEF messages to NFC tags and share NDEF messages with peers.",
    "keywords": ["nfc", "ndef", "cordova wp8", "wp8", "cordova blackberry10"],
    "license": { "type": "MIT" },
    "lastUpdated": "2020-07-10T19:13:24.921Z",
    "githubUrl": "https://github.com/chariotsolutions/phonegap-nfc.git",
    "health": { "score": 63, "modifiers": ["Popular", "Recently updated"] },
    "platforms": ["android", "wp8", "windows", "blackberry10", "ios"],
    "author": { "name": "Don Coleman", "email": "don.coleman@gmail.com" },
    "type": "community",
    "stats": {
      "downloads": 6182,
      "downloadsStart": "2023-06-12",
      "downloadsEnd": "2023-07-11",
      "downloadsPeriod": "last-month",
      "stars": 676,
      "openIssues": 74,
      "watchers": 63
    }
  },
  {
    "name": "@idpass/smartscanner-capacitor",
    "npmPackageName": "@idpass/smartscanner-capacitor",
    "description": "Capacitor plugin for the SmartScanner Core library to scan MRZ, NFC and barcodes",
    "keywords": [
      "barcode scanner",
      "barcode",
      "scanner",
      "hacktoberfest",
      "mrz scanner",
      "mrz",
      "nfc scanner",
      "nfc"
    ],
    "license": { "type": "Apache-2.0" },
    "lastUpdated": "2023-05-18T02:46:11.376Z",
    "githubUrl": "https://github.com/idpass/smartscanner-capacitor.git",
    "health": { "score": 56, "modifiers": ["Recently updated"] },
    "platforms": ["ios", "android"],
    "author": { "name": "NewLogic" },
    "type": "community",
    "stats": {
      "downloads": 191,
      "downloadsStart": "2023-06-12",
      "downloadsEnd": "2023-07-11",
      "downloadsPeriod": "last-month",
      "stars": 6,
      "openIssues": 10,
      "watchers": 7
    }
  },
  {
    "name": "cordova-plugin-hce",
    "npmPackageName": "cordova-plugin-hce",
    "description": "Host Card Emulation (HCE) Plugin",
    "keywords": ["hce", "nfc", "host", "card", "emulation"],
    "license": { "type": "Apache-2.0" },
    "lastUpdated": "2015-12-07T16:33:47.921Z",
    "githubUrl": "https://github.com/don/cordova-plugin-hce.git",
    "health": { "score": 50, "modifiers": [] },
    "platforms": ["android"],
    "author": { "name": "Don Coleman", "email": "don.coleman@gmail.com" },
    "type": "community",
    "stats": {
      "downloads": 1026,
      "downloadsStart": "2023-06-12",
      "downloadsEnd": "2023-07-11",
      "downloadsPeriod": "last-month",
      "stars": 26,
      "openIssues": 10,
      "watchers": 4
    }
  },
  {
    "name": "cordova-sumup-plugin",
    "npmPackageName": "cordova-sumup-plugin",
    "description": "Cordova plugin for SumUp SDK integration",
    "keywords": [
      "sumup",
      "creditcard",
      "debitcard",
      "nfc",
      "card",
      "terminal",
      "pay"
    ],
    "license": { "type": "MIT" },
    "lastUpdated": "2022-01-02T18:51:59.363Z",
    "githubUrl": "https://github.com/mariusbackes/cordova-plugin-sumup.git",
    "health": { "score": 38, "modifiers": ["Not updated recently"] },
    "platforms": ["android", "ios"],
    "author": { "name": "Marius Backes" },
    "type": "community",
    "stats": {
      "downloads": 105,
      "downloadsStart": "2023-06-12",
      "downloadsEnd": "2023-07-11",
      "downloadsPeriod": "last-month",
      "stars": 3,
      "openIssues": 20,
      "watchers": 2
    }
  },
  {
    "name": "capacitor-nfc-launch",
    "npmPackageName": "capacitor-nfc-launch",
    "description": "Launch the app by a NFC tag and read the data",
    "keywords": [],
    "license": { "type": "MIT" },
    "lastUpdated": "2023-05-06T15:54:29.147Z",
    "githubUrl": "https://github.com/NePheus/capacitor-nfc-launch.git",
    "health": { "score": 38, "modifiers": ["Not updated recently"] },
    "platforms": ["android"],
    "author": { "name": "Jan Gessinger" },
    "type": "community",
    "stats": {
      "downloads": 20,
      "downloadsStart": "2023-06-12",
      "downloadsEnd": "2023-07-11",
      "downloadsPeriod": "last-month",
      "stars": 1,
      "openIssues": 0,
      "watchers": 2
    }
  }
]

The following plugin is not listed, but is included in plugins.txt: @capawesome-team/capacitor-nfc

@dtarnawsky
Copy link
Contributor

Hey @robingenz ,

@capawesome-team/capacitor-nfc is a private package not found in npm, so it can't be indexed by the registry. You'll see that when it inspects the plugin it errors:

Inspecting 106 of 1146: @capawesome-team/capacitor-nfc
Error:  @capawesome-team/capacitor-nfc was not found on npm.

@robingenz
Copy link
Contributor Author

Hey @dtarnawsky, thanks for your answer!
From my pov, the registry should support both public and private packages. There will always be private packages (e.g. for paying customers). Of course, you can't expect private packages to be indexed automatically, but if they were added manually to the plugins.txt file, then they should also appear as search results with the information available.

The @ionic-enterprise packages are also displayed even though they are private:

grafik

I would like to see the same for the community packages.

If the problem is the missing meta information, then #34 would be a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants