From: Ed C. <ed...@mi...> - 2018-01-19 18:20:33
|
Hello all, The team working on the mobile banking app that consumes the Apache Fineract self-service APIs as well as the notifications APIs for event-based as well as schedule campaign notifications has been testing out in-app notifications and narrowed down the most recent issues to being on the side of the server. Dilpreet is successfully able to have a notification delivered to the mobile banking app when using a service like pushtry by including the requisite server ID and the GCM token for the phone. However when attempting to have these in-app notifications be generated by either a scheduled campaign in Fineract or an event triggered by Fineract, the notifications don't get delivered to the mobile device. Here's the line of code where Dilpreet has narrowed the issue down to: ( logging *res *variable: https://github.com/apache/fineract/pull/421/ files#diff-ddac4ffff76fe35a196366c822441ec2R114 will be *very helpful* in finding the problem cause. If you'd like to test out the latest APK, it can be downloaded at: https://drive.google.com/open?id=0ByeK44WJrHIvcUpEZDdZVnhRUXdWMjZYX0U2cXc4ZXZyc0Fv You will first to need to create a client account on the mobile testing instance at https://mobile.openmf.org (mifos/password) and then you can use the app to register and create a self-service user authenticated against that client account. The GCM token for each mobile device gets registered on the server automatically once a self-service user logs in and goes to the home screen in the app. The in-app notifications are generated using the similar event-based and campaigns that were leveraged for SMS after they were extended by Nazeer. Dilpreet, could you share more details and any clarifying questions? Ed -- *Ed Cable* President/CEO, Mifos Initiative ed...@mi... | Skype: edcable | Mobile: +1.484.477.8649 *Collectively Creating a World of 3 Billion Maries | *http://mifos.org <http://facebook.com/mifos> <http://www.twitter.com/mifos> |