Comments (2)
Hi shankari
Sorry for late in answer ... probably i lost notification .. :-(
I've developed such plugin to make my "dev life" easier :-)
I'm glad to hear that you would like contribute ... my vision is make little things that work well
I consider your proposal like a bug fix, so gladly i'll accept your pull request
Thanks for interest
from cordova-broadcaster.
It turns out that my code didn't really require global broadcast. Mainly because global broadcast is useful if you are running in the background and want to create/wake up a broadcast receiver if it doesn't exist. In the case of cordova, if the webview is not actively running, should we really deliver events to it? Doesn't that mean that we need to start the activity and load the javascript as well?
Given that, I chose to use LocalBroadcastManager so that my webview would receive events when it was present, but not receive events if it had been killed.
from cordova-broadcaster.
Related Issues (20)
- Why `sendBroadcastSync` over `sendBroadcast`? HOT 2
- What is {"isTrusted": false} being appended in the listener? HOT 2
- How to get data back from object, not userInfo HOT 2
- Send JSONObject as Bundle not working for Android HOT 8
- Json for android is introducing "namevaluepairs" as key HOT 4
- Accept external program broadcast HOT 3
- PR to ionic-native
- package android.support.v4.content does not exist HOT 6
- Fairing an event from the iOS side to JS side is not getting received HOT 4
- Failing to send broadcast from javascript to native HOT 1
- Display push notification to user when application is in foreground HOT 2
- Might be only me but i'm hvaing other build issues with backwards compatability HOT 4
- Move to Android:Kotlin implementation
- Move to IOS:Swift implementation
- How to incorporate into existing plugins HOT 1
- LocalBroadcastManager is now depreciated HOT 2
- Receive broadcast data from external barcode scanner HOT 7
- probable android x support issue, app does not work after adding plugin, gradle error HOT 3
- Description of the plugin is unclear HOT 3
- Cannot find symbol "LocalBroadcastManager" HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-broadcaster.