grrrian/phonegap-parse-plugin

Integration with sqlite

jlno opened this issue · 6 comments

jlno commented

Save push message with sqlite on "onPushReceive" method.
https://github.com/litehelpers/Cordova-sqlite-storage

Not a bad idea but I will not implement this in the near future. All my notifications are already stored on my backend server. Why don't you use that approach?

ian

On Dec 10, 2015, at 8:02 AM, Juliano notifications@github.com wrote:

Save push message with sqlite on "onPushReceive" method.
https://github.com/litehelpers/Cordova-sqlite-storage


Reply to this email directly or view it on GitHub.

jlno commented

I do not know much about java.
I instantiate the class of sqlite, but not call any method @OverRide.

Why don't you just do it in JavaScript in your app?

ian

On Dec 11, 2015, at 7:06 PM, Juliano notifications@github.com wrote:

I do not know much about java.
I instantiate the class of sqlite, but not call any method @OverRide.


Reply to this email directly or view it on GitHub.

jlno commented

Because the function onNotification (registerCallback) is called only when I click on the push message, or when the app is opened.

jlno commented

I am implementing, is almost ready.

jlno commented

It worked what I wanted to do.