Page 1 of 2

push notification problem

Posted: Fri Jul 12, 2013 6:27 pm
by Michael4771079

Hi Marina,
thx for the sample app,
I have made the required changes and have push working on android as a stand alone app, very impressed!

I saved the stand alone as a plugin and then imported to another app, made necessary changes, but it doesn't work,

when I open the app and go to the push screen it does not seem to register
here is a screenshot

Image

I have checked all settings are the same it both apps, and no error in console, so I don't know why the message isn't being received


push notification problem

Posted: Fri Jul 12, 2013 6:42 pm
by Maryna Brodina

Hi, working on it...


push notification problem

Posted: Fri Jul 12, 2013 8:19 pm
by Michael4771079

Hi Marina,

I have noticed that when I put in the sender id and api key and then save the app,

then close the app and reopen, the sender id and api key is not there!
it hasn't saved, even though I have tested in the browser and saved.

This must be the prob, and when I export the apk the id and key are not exporting either.

this is not happening on the stand alone app.

Hoping this helps in resolving the issue


push notification problem

Posted: Fri Jul 12, 2013 9:54 pm
by Illya Stepanov

Hi Michael, thank you for the detailed information. We will check it and test it on a device to figure it out.

On what version of Android it's reproduced?


push notification problem

Posted: Fri Jul 12, 2013 10:18 pm
by Michael4771079

Hi lllya,
thanks, its on android 2.3.6,
but it works ok as stand alone app on this phone


push notification problem

Posted: Mon Jul 15, 2013 1:03 pm
by Maryna Brodina

Hi Michael! Testing...


push notification problem

Posted: Mon Jul 15, 2013 1:22 pm
by Maryna Brodina

Reported this problem, as a workaround please try to implement this functionality without exporting push app as plugin, just follow first part of tutorial http://docs.appery.io/tutorials/sendi....


push notification problem

Posted: Tue Jul 16, 2013 11:40 am
by Michael4771079

Thx Marina,
I have done what you suggested, still not working, but as I said earlier the app will not save the sender ID 617806817449 or the api key AIzaSyAjKfyqCGP7qWnIinaToijhMPHhuWv1GE8

I don't know if you have a way to make the app save these but if it won;t save the details it won't export them either.

what can I do now?


push notification problem

Posted: Tue Jul 16, 2013 11:42 am
by Maryna Brodina

Hello! We'll check and let you know.


push notification problem

Posted: Tue Jul 16, 2013 7:19 pm
by Kateryna Grynko

Hi Michael,

Please try entering data and clicking Save immediately.
I would advise you not to publish such data in public access..