Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not storing RegID or any notifications for view in app #12

Open
Kryptonit3-zz opened this issue Mar 9, 2015 · 3 comments
Open

Not storing RegID or any notifications for view in app #12

Kryptonit3-zz opened this issue Mar 9, 2015 · 3 comments

Comments

@Kryptonit3-zz
Copy link

I think there may be an issue with the data being stored locally on the phone. I was wondering why 1) The "Device Token" on the app screen stays blank even though the phone registers, 2) The registration post for the user data to go to the server is not working. 3) The notifications are not being displayed on the app dashboard. 4) The Unregister does post but it posts null/empty data.

Not sure what the issue is but seems like it is not able to write or something, I installed the file plugin per your description.

I am also able to manually send push notifications and receive them in the app. Have to get the regId from the console log, not posting to server.

@paddl2000
Copy link

@Kryptonit3
I am facing the same problems here.
Your Problem 1 can be solved in my case by dismissing commit be49d38 on the controller.js
Still problem 3 is open for me as well.

@paddl2000
Copy link

@Kryptonit3
For some reason it works for me if I put this function "$scope.notifications.push(JSON.stringify(notification.message));" out of the $scope.$apply function.

@tsubik
Copy link

tsubik commented Apr 6, 2015

Maybe updating ng-cordova #14 will solve your issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants