Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is a Cordova/Phonegap plugin to interact with the BlueBird ruggedized devic
=============

This plugin is compatible with plugman. To install, run the following from your project command line:
```$ cordova plugin add https://github.com/BlueFletch/cordova-bluebird-api.git```
```$ cordova plugin add https://github.com/BlueFletch/cordova-bluebird-api.git --nofetch```


==============
Expand Down
4 changes: 2 additions & 2 deletions lib/android/com/bluefletch/bluebird/BaseIntentHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ public void open(ScanCallback<Boolean> openResult) {

resultCallbackMap.put(OPEN_REQUEST_ID, openResult);

applicationContext.registerReceiver(dataReceiver, new IntentFilter(getCallbackDataReceivedIntent()));
applicationContext.registerReceiver(dataReceiver, new IntentFilter(getCallbackDataReceivedIntent()), Context.RECEIVER_NOT_EXPORTED);

IntentFilter requestFilter = new IntentFilter();
requestFilter.addAction(getCallbackSuccessIntent());
requestFilter.addAction(getCallbackFailedIntent());
applicationContext.registerReceiver(resultReceiver, requestFilter);
applicationContext.registerReceiver(resultReceiver, requestFilter, Context.RECEIVER_NOT_EXPORTED);

Intent openIntent = new Intent(getOpenIntent());
openIntent.putExtra(EXTRA_SEQUENCE_ID, OPEN_REQUEST_ID);
Expand Down
22 changes: 22 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "cordova-bluebird-api",
"version": "1.0.0",
"description": "Cordova Bluebird Plugin\r ============",
"main": "index.js",
"directories": {
"lib": "lib"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BlueFletch/cordova-bluebird-api.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/BlueFletch/cordova-bluebird-api/issues"
},
"homepage": "https://github.com/BlueFletch/cordova-bluebird-api#readme"
}