On Thu, Feb 6, 2014 at 10:24 AM, Matthias Wessendorf <matzew@apache.org> wrote:



On Thu, Feb 6, 2014 at 10:21 AM, Sebastien Blanc <scm.blanc@gmail.com> wrote:



On Thu, Feb 6, 2014 at 10:11 AM, Matthias Wessendorf <matzew@apache.org> wrote:



On Thu, Feb 6, 2014 at 10:07 AM, Sebastien Blanc <scm.blanc@gmail.com> wrote:



On Thu, Feb 6, 2014 at 9:57 AM, Matthias Wessendorf <matzew@apache.org> wrote:



On Thu, Feb 6, 2014 at 9:52 AM, Sebastien Blanc <scm.blanc@gmail.com> wrote:



On Thu, Feb 6, 2014 at 9:45 AM, Matthias Wessendorf <matzew@apache.org> wrote:



On Thu, Feb 6, 2014 at 9:42 AM, Sebastien Blanc <scm.blanc@gmail.com> wrote:
Hi,
Mozilla specifies[1] a function called "mozSetMessageHandler" while we named this function "setMessageHandler" in our polyfill [2] . This is the handler for incoming push notifications.

I'm not really a big fan of specific prefixes but again if we want to be really polyfill here, we should align.

hrm, not sure - I think, eventually theirs will be ``setMessageHandler`` as well;

Yes, I should ping them on their list to have more details. 

Why not just setting a reference from ``mozSetMessageHandler `` to ``setMessageHandler`` ? That way both would work, right ?
You mean defining both functions and calling setMessageHandler from  mozSetMessageHandler ?


No, just like:

navigator.setMessageHandler = function(..) {........}; /// what we have ATM
navigator.mozSetMessageHandler = navigator.setMessageHandler; // a reference

Ok right , got it :)
That makes me think that we should have a page on our site describing these kinds of things when develloping for ffos.

"these kind of things" ?
Things to take care of when implementing simple push in your app and want to make sure it works on ffo,  like adding permissions to the manifest,

yep, I agree
 
the ref to mozSetMessageHandler , etc ...

well, IMO that should be done in our software, for em 

Ah ok, directly in our lib, yeah of course that makes even more sense :) Let's see what Luke think about this.  

 
Just a simple guide. 

Do we have a JIRA for a FFOS guide already ? 
We have now ;) https://issues.jboss.org/browse/AEROGEAR-1429
 

 

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev