Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Native: tried calling BLE.startScan, but the BLE plugin is not installed.

Ouverte
#4,242 2 commentaires 2 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
25/100
Type d'issue
Bug
Clarté
À clarifier
Activité
À l'abandon
Stack technique
android, node.js, typescript
Domaine
cli, mobile

Piste de recherche

The report concerns ionic serve --devapp with the Cordova BLE plugin on Android; start by tracing the DevApp reload path after the first successful run. Reproduce the restart sequence and use the logged plugin_not_installed warnings as the failure signal; done means the BLE plugin remains available after restarting DevApp.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

triage

Description:

I'm using Ionic cordova BLE plugin. When I run

ionic cordova run android

Everything is fine. However when I run

ionic serve --devapp

The first time it works. When I restart DevApp application. It tells me that the plugin is not installed although it's well installed and it works fine.

Steps to Reproduce:

Output:

[INFO] DevApp connection established from SM-G965F

[ng] [console.log]: "Angular is running in the development mode. Call enableProdMode() to enable the production mode."
[ng] [console.warn]: "Native: tried calling BLE.startScan, but the BLE plugin is not installed."
[ng] [console.warn]: "Install the BLE plugin: 'ionic cordova plugin add cordova-plugin-ble-central'"
[ng] [console.warn]: "Native: tried calling BLE.stopScan, but the BLE plugin is not installed."
[ng] [console.warn]: "Install the BLE plugin: 'ionic cordova plugin add cordova-plugin-ble-central'"
[ng] [console.error]: "ERROR" "plugin_not_installed"
[ng] [console.info]: "[WDS] Live Reloading enabled."
[ng] [console.log]: "calling _sync"
[ng] [console.log]: "calling _reload"
[ng] [console.log]: "done _reloading"
[ng] [console.log]: "Ionic Native: deviceready event fired after 2673 ms"

My ionic info:

Ionic:

   Ionic CLI                     : 5.4.10 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.11.5
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.1.1

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 5 other plugins)

Utility:

   cordova-res : 0.8.1 
   native-run  : 0.3.0 

System:

   ios-deploy : 1.9.4
   NodeJS     : v12.13.1 (/usr/local/bin/node)
   npm        : 6.12.1
   OS         : macOS Catalina

Other Information:

Langage dominant
TypeScript
Étoiles
2k
Forks
681
Métriques de merge des PR
Aucune PR mergée en 30 j

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de ionic-team/ionic-cli

Toutes les issues de ionic-team/ionic-cli

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.