title: Communication between Cordova plugins
body: <p>I am working on an app which should receive gcm pushes and append the payload info, which contains geofence data, to a list of geofeneces.</p>
  
  <p>To get this job done, I use these Plugins:</p>
  
  <p><a href="https://github.com/phonegap-build/PushPlugin" rel="nofollow">Cordova PushPlugin</a></p>
  
  <p><a href="https://github.com/cowbell/cordova-plugin-geofence" rel="nofollow">Cordova Geofence</a></p>
  
  <p>Everything is working fine when the app is opened or minimized. But when the user closes the app, received pushes are displayed as notification. This is not what I want. I want to receive pushes always silent to append them to geofences.</p>
  
  <p>I know that I can't run javascript code, when the app is closed. Therefore I was thinking about if it is able to let both plugins communicate with each other in java.</p>
  
  <p>Like this:</p>
  
  <p>GCM Push -> PushPlugin receives push -> sends data to GeofencePlugin -> Geofence gets added to device</p>
  
  <p>Is that possible?</p>