Re: [aerogear-dev] Android Push: 3G /WiFi
by Torben
Hello Matthias,
Hello Erik,
thanks for your fast reply!
> That's weird :) Your device is listed on the unifiedpush admin console,
> right ?
> I guess, otherwise you would also not receive messages, when on 3G :)
>
> Kinda odd, but not sure... You phone should be able to receive messages on
> local wifi as well.
> All it needs: a working internet connection (internally Google's GCM has a
> persistent connection to your phone)
Yes, all devices are listed in the admin console.
It's really wired, I have read about difficulties with some routers
cutting network connections on the GCM Google group - and I noticed a
difference between office and home network connection right now.
I will debug more into this on monday when I am back in the office..
>
> The exception below is no harm at all - it's an open issue at the APNs lib
> we use internally:
>
Thanks for the info! So I don't have to go into this..
Great work, excited to get more into aerogear and the openshift cartridge!
This is a nice alternative to other proprietary Push Service Providers..
Kind regards,
Torben
10 years, 9 months
Compose Push UI - draft (was: Re: UnifiedPush: Sending notifications from the AdminUI)
by Matthias Wessendorf
Hello Sebi,
that looks really nice!
Hylke can you take a look at the first version, from a UX persons view?
Thanks!
Matthias
On Tue, Feb 25, 2014 at 10:06 AM, Sebastien Blanc <scm.blanc(a)gmail.com>wrote:
> Hi,
> I started to work on a new "Compose Message" page. The idea is that you
> can add criterias to your message , as you can see here on this screenshot
> :
> [image: compose2]
> I've also deployed a live version but *DICSLAIMER* this is just UI /
> Mockup work sending will not work for now :
> http://newpush-sblanc.rhcloud.com => Select an App and you will have a
> "Copomse Message" link on the next page.
>
> Feedback is welcome.
> Sebi
>
>
> On Mon, Feb 24, 2014 at 1:25 PM, Sebastien Blanc <scm.blanc(a)gmail.com>wrote:
>
>>
>>
>>
>> On Mon, Feb 24, 2014 at 12:52 PM, Hylke Bons <hbons(a)redhat.com> wrote:
>>
>>> Sounds good.
>>> Let me know if you need any help with the mockup designs. ;)
>>>
>> Sure, I will ASAP submit a "raw" mockup on which you can work on.
>> What I would like is a dedicated page for the "Compose Push Message"
>> feature.
>>
>> We wil have a criteria section to choose to who we want to send the
>> message. I really like for instance how Jira do that like here
>> http://postimg.org/image/5ur2j9wh5/
>> In our case we could have the drop downs for : "Variants", "Device Type",
>> "Alias" and "Categories"
>> And then below w will have a free text area to send a custom value.
>>
>>
>>>
>>> Hylke
>>>
>>>
>>>
>>> On 23/02/2014 12:08, Sebastien Blanc wrote:
>>>
>>>
>>>
>>>
>>> On Sun, Feb 23, 2014 at 1:04 PM, Matthias Wessendorf <matzew(a)apache.org>wrote:
>>>
>>>> Hi,
>>>>
>>>> over the weekend I spoke w/ a friend: His company is doing some
>>>> mobile (iOS/Android) apps which also support receiving push notifications.
>>>>
>>>> Two examples he told me. After receiving push notification:
>>>>
>>>> * One of their apps basically fetches the latest version of a CSV
>>>> file, stored on a public HTTP Server.
>>>>
>>>> * Another app is used to tell sales guys new brochure files (PDF) are
>>>> available on a protected resource of a webserver (which they _can_ than
>>>> download from w/in the app, if the like to)
>>>>
>>>> The company build a simple console (PHP) which allows them to send
>>>> new push messages, when ever their customers want to.
>>>>
>>>> I showed them our UnifiedPush Server and its usage via our AeroDoc
>>>> example (iOS / backend). They really liked the UnifiedPush Server.
>>>> Especially that it does store all the device metadata.
>>>>
>>>> But since a lot of their mobile apps don't have a backend
>>>> requirement, they would still have to use their own console (which than
>>>> connects to UPS) for submitting all the push messages they want.
>>>>
>>>>
>>>>
>>>> This brings me to [AGPUSH-38] and I really think we should implement
>>>> that feature. Not only for sending test messages! If our UnifiedPush Server
>>>> allows its users to simple send push messages to all of their mobile apps,
>>>> it would make the server even more attractive.
>>>>
>>>> I regret a bit that I was against [AGPUSH-38] in the beginning, I
>>>> guess that's due to my Java enterprise background, where you typically find
>>>> complex setups, and server talk to servers :-(
>>>>
>>>> Anyways, now I really think that the UPS has to have such a 'send
>>>> push' facility inside of the Admin UI :-) I believe that we could reach way
>>>> more potential users with something like that
>>>>
>>> +9001 and I already started thinking about this for a while. I will try
>>> to submit some mockups/POCs this week so we can discuss that and I have
>>> quickly a first working version on master.
>>>
>>>
>>>> Any thoughts?
>>>>
>>>>
>>>> Greetings,
>>>> Matthias
>>>>
>>>>
>>>> [AGPUSH-38] https://issues.jboss.org/browse/AGPUSH-38
>>>>
>>>>
>>>> --
>>>> Matthias Wessendorf
>>>>
>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>> sessions: http://www.slideshare.net/mwessendorf
>>>> twitter: http://twitter.com/mwessendorf
>>>>
>>>> _______________________________________________
>>>> aerogear-dev mailing list
>>>> aerogear-dev(a)lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> aerogear-dev mailing listaerogear-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>>
>>>
>>> _______________________________________________
>>> aerogear-dev mailing list
>>> aerogear-dev(a)lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>
>>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
10 years, 9 months
Chrome Apps and UnifiedPush Server shinyness
by Lucas Holmquist
another friday, another shiny object.
Lately i've been somewhat obsessed with coding Chrome Packaged Apps, and i thought it would be cool to have a UnifiedPush Server chrome app.
Chrome Apps have a webview, so this made it pretty easy
this is the link to my POC:
https://chrome.google.com/webstore/detail/aerogear-unified-push-chr/hcmjd...
it's published, but only to people who have the link, so you can't search for it
after you install and launch it, put in the url of your UnifiedPush Server running somewhere, if you are OpenShift make sure you wake it up
if everything goes ok, you should see your Admin UI in the app.
ATM it is very bare bones, but again, it is just a POC.
not sure if someone would be managing multiple UPS's at once, but you could potentially do that( but not currently how the chrome app is written )
10 years, 9 months
[UnifiedPush] Refactorings
by Matthias Wessendorf
Hi,
over the next weeks, after we get the 0.10.0 out, there will be some
refactorings on different parts of the server:
- make the 'core' the sending logic a little more isolated
- look into a better 'abstraction' for the data storage
I think this might lead to new (sub)projects and JAR files. I was
wondering, do folks like a
- pom.xml
- sender-component/
- data/
- api
- some impl projects
- pushee/ (the server as is today, but including above 'components')
- database-scripts (the CLI files for WildFly/AS)
Greetings, Matthias
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
10 years, 10 months
Re: [aerogear-dev] Issue
by Matthias Wessendorf
thanks,
will pass over to Openshift folks; sounds like an issue w/ the database
On Wed, Feb 26, 2014 at 6:22 PM, Miguel Lemos <miguel21op(a)gmail.com> wrote:
> This is what I get issuing a "cat server.log | grep jboss" at my
> Openshift / Aerogear server console:
>
>
> https://gist.github.com/miguel21op/92c565ed1a8220ceada7
>
>
> On Wed, Feb 26, 2014 at 3:03 PM, Matthias Wessendorf <matzew(a)apache.org>wrote:
>
>> Miguel,
>>
>> can you ssh into your OpenShift instance to read the log files (e.g. for
>> jboss) and make them a gist (gist.github.com), so that we can take a
>> look as well ?
>> That also helps the OpenShift team, to read the log files
>>
>> -Matthias
>>
>>
>>
>> On Wed, Feb 26, 2014 at 3:53 PM, Matthias Wessendorf <matzew(a)apache.org>wrote:
>>
>>>
>>>
>>>
>>> On Wed, Feb 26, 2014 at 3:48 PM, Bruno Oliveira <bruno(a)abstractj.org>wrote:
>>>
>>>> Hi Miguel, we are here to help and probably by "outside of the scope" I
>>>> think Matthias means that our knowledge about every single detail on
>>>> OpenShift might be limited,
>>>
>>>
>>> yes, exactly. It's better to ask the experts.
>>>
>>>
>>>
>>>> in this case OpenShift team are the best people to explain what's going
>>>> on with your instance.
>>>>
>>>
>>> I 100% agree, especially since the 'service' is running on OpenShift
>>>
>>>
>>> -Matthias
>>>
>>>
>>>>
>>>> --
>>>> abstractj
>>>>
>>>> On February 26, 2014 at 11:45:16 AM, Miguel Lemos (miguel21op(a)gmail.com)
>>>> wrote:
>>>> > > I understand. But people don't care if it's "outside our scope"
>>>> > or not. They just expect a given solution to work properly...
>>>> > ;-)
>>>>
>>>>
>>>> _______________________________________________
>>>> aerogear-dev mailing list
>>>> aerogear-dev(a)lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>
>>>
>>>
>>>
>>> --
>>> Matthias Wessendorf
>>>
>>> blog: http://matthiaswessendorf.wordpress.com/
>>> sessions: http://www.slideshare.net/mwessendorf
>>> twitter: http://twitter.com/mwessendorf
>>>
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
10 years, 10 months
Android Push: 3G /WiFi
by ttretau
Hello all,
I am just starting to build a proof of concept with Aerogear unified push
server on openshift with the openshift cartridge, and I must say that it
looks really good!
I started with the hellopush example from Burr Sutter -
https://github.com/burrsutter/hellopush (thanks!), running with cordova..
I have one anomaly which looks strange: on iOS everything receives great on
Tablet and Phone devices.
If I test it on Android phone (running 4.4) I have to switch from Wifi to 3G
to receive notifications. On a Wifi only tablet I do receive not any events.
-------------
In the server log I see something like this:
2014/02/27 05:19:06,921 INFO
[org.jboss.aerogear.unifiedpush.rest.sender.PushNotificationSenderEndpoint]
(http-127.5.104.1-127.5.104.1-8080-1) Message submitted to PushNetworks for
further processing
2014/02/27 05:19:08,437 INFO [com.notnoop.apns.internal.ApnsConnectionImpl]
(Thread-99) Exception while waiting for error code:
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_51]
at java.net.SocketInputStream.read(SocketInputStream.java:152)
[rt.jar:1.7.0_51]
at java.net.SocketInputStream.read(SocketInputStream.java:122)
[rt.jar:1.7.0_51]
at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
[jsse.jar:1.7.0_51]
at sun.security.ssl.InputRecord.read(InputRecord.java:480)
[jsse.jar:1.7.0_51]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
[jsse.jar:1.7.0_51]
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884)
[jsse.jar:1.7.0_51]
at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
[jsse.jar:1.7.0_51]
at java.io.InputStream.read(InputStream.java:101) [rt.jar:1.7.0_51]
at
com.notnoop.apns.internal.ApnsConnectionImpl$1MonitoringThread.run(ApnsConnectionImpl.java:114)
[apns-0.2.3.jar:]
-------------------
As I do receive on 3G I presume that the exception is unrelated to the
problem?
Kind Regards,
Torben
--
View this message in context: http://aerogear-dev.1069024.n5.nabble.com/Android-Push-3G-WiFi-tp6569.html
Sent from the aerogear-dev mailing list archive at Nabble.com.
10 years, 10 months
Geottagged notifications
by Miguel Lemos
This is a very important matter, as you may know.
At the present moment, i don't know how to use it with Aerogear.
I can use a trick to do that: I send a push notification without the
"alert" token and I store it silently locally (I found out that without the
"alert" parameter the notification will not show in the notification tray
if the app is running in the background).
Later on, I trigger the alert if the location criteria is matched (of
course, I must send geo-coordinates and a radius as message parameters). Is
there a more effective / logical way to do that?
Any help is welcome
Miguel
10 years, 10 months