[Aerogear-users] Android SDK doesn't work, any way to debug?
dpassos at redhat.com
Wed Jan 18 16:15:45 EST 2017
What version of UPS are you using?
On Wed, Jan 11, 2017 at 8:15 AM, r00dY <a.r.dabrowski at gmail.com> wrote:
> Hi guys,
> I've implemented aerogear push in Titanium app, iOS native app, so far so
> good. Now need to integrate AG into Android and I'm struggling.
> Steps I've done:
> 1. Set up project and app in Firebase console.
> 2. (tested push notifications by native Firebase SDK - they worked).
> 3. I add to gradle following stuff:
> compile 'com.google.firebase:firebase-messaging:9.8.0'
> compile 'org.jboss.aerogear:aerogear-android-push:4.1.0'
> and use google-services plugin, version 3
> 4. I create Aerogear Android variant, set up Google API key (tried legacy
> and new) and project ID from Firebase console (the ones that worked in a
> native way).
> 5. I register for pushes using AG SDK and registration is OK (see new
> in admin panel).
> 6. I set up DEFAULT_MESSAGE_HANDLER_KEY variable.
> 7. I create message handler.
> 8. I send test push via "Send notification to this app" form. I set up
> the rest of fields is left to "All".
> 9. I get callback that push notification is successfully sent.
> 10. Nothing happens on my device (tried Android 5, 6 and 7).
> I was quite frustrated so I downloaded example project HelloPush
> created for it new app in Firebase console and set up all configuration
> from my AeroGear panel. Same thing happens.
> Any idea what may be the reason or do you have any methods for more
> debugging like:
> 1. Debugging of internals in Aerogear SDK, some verbose logging etc.
> 2. Debugging what's going on between Aerogear and Firebase while sending
> push? Because I'm not sure if it's SDK fault or a fault of communication
> between Aerogear and Firebase.
> I can't wait for your answers, best!
> View this message in context: http://aerogear-users.1116366.
> Sent from the aerogear-users mailing list archive at Nabble.com.
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Aerogear-users