[Aerogear-users] Trying to get it to work

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Aerogear-users] Trying to get it to work

Christopher Fahey
I have been slowly progressing through the installation and have finally managed to get the server running.  Of course the goal is to add push notification to an existing mobile app that I have built using Javascript and Cordova.  Then I have added all of the plugins that I could find into Cordova including the aerogear plugin and the cordova-plugin-pushplugin.  The problem I am having is that when I run the mobile app in cordova using "cordova run browser" the Push is created and before it even registers itself, it receives an error "Missing Command Error".  I have traced the call that fails to aerogear-push.js line 46: 

channel.onCordovaReady.subscribe(function() {
    exec(notify, undefined, 'PushPlugin', 'messageChannel', []);
});

This takes it into cordova.js where it tries to pull up the PushPlugin from the CommandProxyMap but it hasn't been registered.  I cannot think of what else to look for.  I have been over the instructions backwards and forwards but no luck.    Any suggestions on what plugin I might be missing?  I
--

Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] Trying to get it to work

Erik Jan de Wit
Hi Christopher,

Sorry to hear that you are having problems, but I'm sure we can get you up and running. You don't need the cordova-pushplugin, the aerogear-push-plugin does the same things but better ;) At the moment we don't support the browser platform ( although we could ) The best way to test it is on an actual device or using the windows platform. Which documentation are you following? Because we want to be sure we mention all these things.


On Sat, Mar 12, 2016 at 5:03 AM, Christopher Fahey <[hidden email]> wrote:
I have been slowly progressing through the installation and have finally managed to get the server running.  Of course the goal is to add push notification to an existing mobile app that I have built using Javascript and Cordova.  Then I have added all of the plugins that I could find into Cordova including the aerogear plugin and the cordova-plugin-pushplugin.  The problem I am having is that when I run the mobile app in cordova using "cordova run browser" the Push is created and before it even registers itself, it receives an error "Missing Command Error".  I have traced the call that fails to aerogear-push.js line 46: 

channel.onCordovaReady.subscribe(function() {
    exec(notify, undefined, 'PushPlugin', 'messageChannel', []);
});

This takes it into cordova.js where it tries to pull up the PushPlugin from the CommandProxyMap but it hasn't been registered.  I cannot think of what else to look for.  I have been over the instructions backwards and forwards but no luck.    Any suggestions on what plugin I might be missing?  I
--

Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
<a href="tel:%28410%29%20924-3185" value="+14109243185" target="_blank">(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] Trying to get it to work

Christopher Fahey
Here is the links for the documentation I was using for the installation.  I had to jump between each one quite a bit since each didn't work as expected and didn't explain things that the other did.

https://aerogear.org/docs/unifiedpush/aerogear-push-android/guides/#google-setup
https://aerogear.org/docs/unifiedpush/ups_userguide/index/#server-installation
https://aerogear.org/docs/unifiedpush/aerogear-push-android/guides/#register-device
https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/#_getting_started

Also, I had an older version of Cordova, 3.6, that didn't seem to work with your software which caused problems until I updated it to v6.0.

I was using the browser platform so I could figure out why the notifications were not working.  I will try debugging the device again.  It wasn't working before but I guess I made more progress with the notification integration so it may work now.   It doesn't seem like it would take much to add support for the browser platform. 

Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.
On 3/14/2016 4:07 AM, Erik Jan de Wit wrote:
Hi Christopher,

Sorry to hear that you are having problems, but I'm sure we can get you up and running. You don't need the cordova-pushplugin, the aerogear-push-plugin does the same things but better ;) At the moment we don't support the browser platform ( although we could ) The best way to test it is on an actual device or using the windows platform. Which documentation are you following? Because we want to be sure we mention all these things.


On Sat, Mar 12, 2016 at 5:03 AM, Christopher Fahey <[hidden email]> wrote:
I have been slowly progressing through the installation and have finally managed to get the server running.  Of course the goal is to add push notification to an existing mobile app that I have built using Javascript and Cordova.  Then I have added all of the plugins that I could find into Cordova including the aerogear plugin and the cordova-plugin-pushplugin.  The problem I am having is that when I run the mobile app in cordova using "cordova run browser" the Push is created and before it even registers itself, it receives an error "Missing Command Error".  I have traced the call that fails to aerogear-push.js line 46: 

channel.onCordovaReady.subscribe(function() {
    exec(notify, undefined, 'PushPlugin', 'messageChannel', []);
});

This takes it into cordova.js where it tries to pull up the PushPlugin from the CommandProxyMap but it hasn't been registered.  I cannot think of what else to look for.  I have been over the instructions backwards and forwards but no luck.    Any suggestions on what plugin I might be missing?  I
--

Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
<a moz-do-not-send="true" href="tel:%28410%29%20924-3185" value="+14109243185" target="_blank">(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] Trying to get it to work

Erik Jan de Wit
Hi Christopher,

So the links to the documentation sound right the Cordova Push docs links to the others for the device specific setup that one needs to do for ups.

If you would like to add browser support for the plugin, we accept pull requests. Did you get it up and running?

On Mon, Mar 14, 2016 at 2:36 PM, Christopher Fahey <[hidden email]> wrote:
Here is the links for the documentation I was using for the installation.  I had to jump between each one quite a bit since each didn't work as expected and didn't explain things that the other did.

https://aerogear.org/docs/unifiedpush/aerogear-push-android/guides/#google-setup
https://aerogear.org/docs/unifiedpush/ups_userguide/index/#server-installation
https://aerogear.org/docs/unifiedpush/aerogear-push-android/guides/#register-device
https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/#_getting_started

Also, I had an older version of Cordova, 3.6, that didn't seem to work with your software which caused problems until I updated it to v6.0.

I was using the browser platform so I could figure out why the notifications were not working.  I will try debugging the device again.  It wasn't working before but I guess I made more progress with the notification integration so it may work now.   It doesn't seem like it would take much to add support for the browser platform. 

Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
<a href="tel:%28410%29%20924-3185" value="+14109243185" target="_blank">(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.
On 3/14/2016 4:07 AM, Erik Jan de Wit wrote:
Hi Christopher,

Sorry to hear that you are having problems, but I'm sure we can get you up and running. You don't need the cordova-pushplugin, the aerogear-push-plugin does the same things but better ;) At the moment we don't support the browser platform ( although we could ) The best way to test it is on an actual device or using the windows platform. Which documentation are you following? Because we want to be sure we mention all these things.


On Sat, Mar 12, 2016 at 5:03 AM, Christopher Fahey <[hidden email][hidden email]> wrote:
I have been slowly progressing through the installation and have finally managed to get the server running.  Of course the goal is to add push notification to an existing mobile app that I have built using Javascript and Cordova.  Then I have added all of the plugins that I could find into Cordova including the aerogear plugin and the cordova-plugin-pushplugin.  The problem I am having is that when I run the mobile app in cordova using "cordova run browser" the Push is created and before it even registers itself, it receives an error "Missing Command Error".  I have traced the call that fails to aerogear-push.js line 46: 

channel.onCordovaReady.subscribe(function() {
    exec(notify, undefined, 'PushPlugin', 'messageChannel', []);
});

This takes it into cordova.js where it tries to pull up the PushPlugin from the CommandProxyMap but it hasn't been registered.  I cannot think of what else to look for.  I have been over the instructions backwards and forwards but no luck.    Any suggestions on what plugin I might be missing?  I
--

Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
<a href="tel:%28410%29%20924-3185" value="+14109243185" target="_blank">(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] Trying to get it to work

Christopher Fahey
The documentation is a little disorganized.  Getting to them was not straight forward.  Additionally, some of the steps are in one document but not the others even though all of them cover installation of the software which makes it easy to miss something.  I missed installing the plugin since it was in one of the documents that I followed through to the end and then discovered the other document when it wasn't running while troubleshooting. 

I would like browser support for the plugin but I am not sure I understand what your pull request is. 

I have not gotten it to run yet.


Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.
On 3/15/2016 3:22 AM, Erik Jan de Wit wrote:
Hi Christopher,

So the links to the documentation sound right the Cordova Push docs links to the others for the device specific setup that one needs to do for ups.

If you would like to add browser support for the plugin, we accept pull requests. Did you get it up and running?

On Mon, Mar 14, 2016 at 2:36 PM, Christopher Fahey <[hidden email]> wrote:
Here is the links for the documentation I was using for the installation.  I had to jump between each one quite a bit since each didn't work as expected and didn't explain things that the other did.

https://aerogear.org/docs/unifiedpush/aerogear-push-android/guides/#google-setup
https://aerogear.org/docs/unifiedpush/ups_userguide/index/#server-installation
https://aerogear.org/docs/unifiedpush/aerogear-push-android/guides/#register-device
https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/#_getting_started

Also, I had an older version of Cordova, 3.6, that didn't seem to work with your software which caused problems until I updated it to v6.0.

I was using the browser platform so I could figure out why the notifications were not working.  I will try debugging the device again.  It wasn't working before but I guess I made more progress with the notification integration so it may work now.   It doesn't seem like it would take much to add support for the browser platform. 


Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
<a moz-do-not-send="true" href="tel:%28410%29%20924-3185" value="+14109243185" target="_blank">(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.
On 3/14/2016 4:07 AM, Erik Jan de Wit wrote:
Hi Christopher,

Sorry to hear that you are having problems, but I'm sure we can get you up and running. You don't need the cordova-pushplugin, the aerogear-push-plugin does the same things but better ;) At the moment we don't support the browser platform ( although we could ) The best way to test it is on an actual device or using the windows platform. Which documentation are you following? Because we want to be sure we mention all these things.


On Sat, Mar 12, 2016 at 5:03 AM, Christopher Fahey <[hidden email]> wrote:
I have been slowly progressing through the installation and have finally managed to get the server running.  Of course the goal is to add push notification to an existing mobile app that I have built using Javascript and Cordova.  Then I have added all of the plugins that I could find into Cordova including the aerogear plugin and the cordova-plugin-pushplugin.  The problem I am having is that when I run the mobile app in cordova using "cordova run browser" the Push is created and before it even registers itself, it receives an error "Missing Command Error".  I have traced the call that fails to aerogear-push.js line 46: 

channel.onCordovaReady.subscribe(function() {
    exec(notify, undefined, 'PushPlugin', 'messageChannel', []);
});

This takes it into cordova.js where it tries to pull up the PushPlugin from the CommandProxyMap but it hasn't been registered.  I cannot think of what else to look for.  I have been over the instructions backwards and forwards but no luck.    Any suggestions on what plugin I might be missing?  I
--


Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
<a moz-do-not-send="true" href="tel:%28410%29%20924-3185" value="+14109243185" target="_blank">(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] Trying to get it to work

Matthias Wessendorf
Hi,

On Tue, Mar 15, 2016 at 3:57 PM, Christopher Fahey <[hidden email]> wrote:
The documentation is a little disorganized.  Getting to them was not straight forward.  Additionally, some of the steps are in one document but not the others even though all of them cover installation of the software which makes it easy to miss something. 

we are happy to improve this. Can you provide us JIRA ticket (on AGPUSH), with some more details? 

 
I missed installing the plugin since it was in one of the documents that I followed through to the end and then discovered the other document when it wasn't running while troubleshooting. 

I would like browser support for the plugin

Can you file a different JIRA for this? On https://issues.jboss.org/browse/AGCORDOVA
 
but I am not sure I understand what your pull request is. 

A pull request is a fix, provided via github. We are happy to accept those for any improvments or fixes (e.g. support for cordova-browser)


 


 

I have not gotten it to run yet.


Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.
On 3/15/2016 3:22 AM, Erik Jan de Wit wrote:
Hi Christopher,

So the links to the documentation sound right the Cordova Push docs links to the others for the device specific setup that one needs to do for ups.

If you would like to add browser support for the plugin, we accept pull requests. Did you get it up and running?

On Mon, Mar 14, 2016 at 2:36 PM, Christopher Fahey <[hidden email][hidden email]> wrote:
Here is the links for the documentation I was using for the installation.  I had to jump between each one quite a bit since each didn't work as expected and didn't explain things that the other did.

https://aerogear.org/docs/unifiedpush/aerogear-push-android/guides/#google-setup
https://aerogear.org/docs/unifiedpush/ups_userguide/index/#server-installation
https://aerogear.org/docs/unifiedpush/aerogear-push-android/guides/#register-device
https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/#_getting_started

Also, I had an older version of Cordova, 3.6, that didn't seem to work with your software which caused problems until I updated it to v6.0.

I was using the browser platform so I could figure out why the notifications were not working.  I will try debugging the device again.  It wasn't working before but I guess I made more progress with the notification integration so it may work now.   It doesn't seem like it would take much to add support for the browser platform. 


Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
<a href="tel:%28410%29%20924-3185" value="+14109243185" target="_blank">(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.
On 3/14/2016 4:07 AM, Erik Jan de Wit wrote:
Hi Christopher,

Sorry to hear that you are having problems, but I'm sure we can get you up and running. You don't need the cordova-pushplugin, the aerogear-push-plugin does the same things but better ;) At the moment we don't support the browser platform ( although we could ) The best way to test it is on an actual device or using the windows platform. Which documentation are you following? Because we want to be sure we mention all these things.


On Sat, Mar 12, 2016 at 5:03 AM, Christopher Fahey <[hidden email][hidden email]> wrote:
I have been slowly progressing through the installation and have finally managed to get the server running.  Of course the goal is to add push notification to an existing mobile app that I have built using Javascript and Cordova.  Then I have added all of the plugins that I could find into Cordova including the aerogear plugin and the cordova-plugin-pushplugin.  The problem I am having is that when I run the mobile app in cordova using "cordova run browser" the Push is created and before it even registers itself, it receives an error "Missing Command Error".  I have traced the call that fails to aerogear-push.js line 46: 

channel.onCordovaReady.subscribe(function() {
    exec(notify, undefined, 'PushPlugin', 'messageChannel', []);
});

This takes it into cordova.js where it tries to pull up the PushPlugin from the CommandProxyMap but it hasn't been registered.  I cannot think of what else to look for.  I have been over the instructions backwards and forwards but no luck.    Any suggestions on what plugin I might be missing?  I
--


Christopher Fahey
DealerRewards, Inc.
Maryland Branch Office
<a href="tel:%28410%29%20924-3185" value="+14109243185" target="_blank">(410) 924-3185

This electronic message transmission contains information from DealerRewards Inc. This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system; you may not copy this message or disclose its contents to anyone.
DISCLAIMER: Since 2006, the U.S. Government has been monitoring all internet communications. If you have information that you do not wish to have monitored, please send it using regular postal services to the address listed on our website.

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Loading...