halilu
Posts: 0
Joined: Mon Nov 04, 2013 8:53 pm

Push Problems, registration and event subscription

Good day,

I registered device fine initially, I could trigger the "push-notification" event using your builder, but couldn't access the events payload no matter what I tried.

Eventually, in the midst of trying various things, I lost access to the "push-notification" event completely (even generic alert("Hello") wouldn't execute from the event), and figured I might as well uninstall the app from my device entirely and restart. After uninstalling though, the app is no longer registering my device in the db.

There's next to no documentation on how to register manually, as it's supposed to do so automatically I gather. Also, I really am having problems accessing the payload of the "push-notification" event (or even just the event itself) , and the documentation there is a little unclear (to me, at least. Seems you updated it?)

Any help?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Push Problems, registration and event subscription

Hello,

Please clarify, what OS do you use on you mobile device, iOS or Android?
Could you check your certificates, are they valid?

halilu
Posts: 0
Joined: Mon Nov 04, 2013 8:53 pm

Push Problems, registration and event subscription

We had it working on both iOS and Android. The reinstall took place on Android though. It only stopped working after the reinstall.

Currently trying to reinstall on iOS and see if the problem will show up there.

I've made a dry run successfully, and it did work before the reinstall on the Android.

Anything else?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Push Problems, registration and event subscription

Could you clarify have you changed anything on the Source tab?

If you did, these custom changes might cause the build to fail. Try to rollback the custom source changes and try to build the app again. Here is how to rollback custom source change: https://docs.appery.io/docs/appbuilde...

When you make changes in the Source view for a particular page, the visual editor for that page will not be updated (until you rollback the changes).

halilu
Posts: 0
Joined: Mon Nov 04, 2013 8:53 pm

Push Problems, registration and event subscription

Please, never mind. The problem has been resolved.

Somehow the Android details reverted to some older settings. The problem could have been from us.

Thanks

Return to “Issues”