dpa99c / cordova-diagnostic-plugin

Cordova/Phonegap plugin to manage device settings
538 stars 361 forks source link

Application crashes on cold start when bluetooth is enabled #283

Closed cyrus2021 closed 6 years ago

cyrus2021 commented 6 years ago

I'm submitting a ... (check one with "x"):

Bug report

Current behavior:

On cold start of the application if devices bluetooth is on the application crashes unexpectedly.

Expected behavior: Application should start up normally.

Steps to reproduce:

Turn on the devices bluetooth settings, then start up your cordova / phonegap app with this plugin installed.

Environment information

Runtime issue

If using an [Ionic Native Typescript wrapper]() for this plugin:

global packages:

cordova (Cordova CLI) : 6.5.0

local packages:

@ionic/app-scripts : 3.0.1
Cordova Platforms  : android 6.3.0 browser 4.1.0
Ionic Framework    : ionic-angular 3.8.0

System:

Android SDK Tools : 25.2.5
Node              : v6.5.0
npm               : 3.10.3
OS                : macOS Sierra
Xcode             : Xcode 9.0 Build version 9A235

Environment Variables:

ANDROID_HOME : /Users/cyrusAjency/Library/Android/sdk

Misc:

backend : pro

`

![Uploading Screen Shot 2018-03-07 at 5.21.16 PM.png…]()

dpa99c commented 6 years ago

This is a duplicate of #282

dpa99c commented 6 years ago

Fix published in v4.0.2

cyrus2021 commented 6 years ago

ok thanks. Will check.