Hi,
Erik's fix isn't merged yet on our master repo. If you can't wait :) You
could clone Erik's branch containing the fix :
git clone
cd aerogear-pushplugin-cordova
git checkout payload-missing
And then install the plugin from your local folder
cordova plugin add
/Home/whereeveryouputtheplugin/aerogear-pushplugin-cordova
Hope it helps
On Tue, Mar 18, 2014 at 10:30 PM, Miguel Lemos <miguel21op(a)gmail.com> wrote:
Erik,
I just uninstalled and installed again the Aerogear plugin, removed and
installed again the Ios platform, I compiled the program, but the result
didn't change:
XCode debugger:
*2014-03-18 21:24:11.983 SmartDrifter[3892:60b] Msg:
{en:'598',cd:'',badge:'1',alert:'Teste',av:'Teste',ul:'',ln:'',at:'Aviso',cp:'',rd:'',lt:'',foreground:'1',}
*
cordova plugin add org.jboss.aerogear.cordova.push
Maybe you didn't uploaded it yet?
Thanks
M
On Tue, Mar 18, 2014 at 4:41 PM, Miguel Lemos <miguel21op(a)gmail.com>wrote:
> Yes. That "trick" has to be used sometimes. That's a very annoying
> Cordova issue. Thanks.
>
> Enviado do meu iPhone
>
> No dia 18/03/2014, às 16:37, Sebastien Blanc <scm.blanc(a)gmail.com>
> escreveu:
>
>
>
>
> On Tue, Mar 18, 2014 at 5:34 PM, Miguel Lemos <miguel21op(a)gmail.com>wrote:
>
>> Thanks Erik. I know that; the total payload never surpasses 256 byes and
>> the av parameter (the notification itself) 107 characters.
>>
>> After the correction I just have the reinstall the plugin?
>>
> That should be enough but it has sometime failed for me , in this case
> you will need to do a :
>
> cordova platform remove ios
> cordova platform add ios
>
>
>> M
>>
>> Enviado do meu iPhone
>>
>> No dia 18/03/2014, às 16:24, Erik Jan de Wit <edewit(a)redhat.com>
>> escreveu:
>>
>> BTW Miguel I see that you are sending a lot of extras in the message, be
>> careful that Apple doesn't allow the message to become to big the max is
>> 256 bytes.
>>
>> On 18 Mar,2014, at 17:08 , Erik Jan de Wit <edewit(a)redhat.com> wrote:
>>
>>
>> PR submitted
>>
https://github.com/aerogear/aerogear-pushplugin-cordova/pull/20
>>
>> On 18 Mar,2014, at 15:49 , Miguel Lemos <miguel21op(a)gmail.com> wrote:
>>
>> Fine, Erik!
>>
>> Nice to know it's easy to fix.
>>
>> A small issue, that caused - almost - everything to fail...
>>
>> I'm glad I could help in the role of "bug buster" ;-)
>>
>> Miguel
>>
>> Enviado do meu iPhone
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev