From matzew at apache.org Wed Feb 1 09:22:38 2017 From: matzew at apache.org (Matthias Wessendorf) Date: Wed, 1 Feb 2017 15:22:38 +0100 Subject: [Aerogear-users] Many established connections to Apple servers In-Reply-To: <1484838967509-1031.post@n5.nabble.com> References: <1484043518460-1004.post@n5.nabble.com> <1484808515067-1018.post@n5.nabble.com> <1484838967509-1031.post@n5.nabble.com> Message-ID: Hey ben, it's never a problem for the feedback service right ? On Thu, Jan 19, 2017 at 4:16 PM, benjaminfras wrote: > we're using version 1.1.3.Final. > > > > -- > View this message in context: http://aerogear-users.1116366. > n5.nabble.com/Many-established-connections-to- > Apple-servers-tp1004p1031.html > Sent from the aerogear-users mailing list archive at Nabble.com. > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20170201/bced43ec/attachment.html From benjamin.fras at petafuel.de Wed Feb 1 09:48:08 2017 From: benjamin.fras at petafuel.de (benjaminfras) Date: Wed, 1 Feb 2017 07:48:08 -0700 (MST) Subject: [Aerogear-users] Many established connections to Apple servers In-Reply-To: References: <1484043518460-1004.post@n5.nabble.com> <1484808515067-1018.post@n5.nabble.com> <1484838967509-1031.post@n5.nabble.com> Message-ID: <1485960488031-1050.post@n5.nabble.com> Hi Matthias, I'm not sure what you mean. Can you be more specific, please? -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Many-established-connections-to-Apple-servers-tp1004p1050.html Sent from the aerogear-users mailing list archive at Nabble.com. From jusanche at redhat.com Wed Feb 1 10:04:11 2017 From: jusanche at redhat.com (Julio Cesar Sanchez Hernandez) Date: Wed, 1 Feb 2017 16:04:11 +0100 Subject: [Aerogear-users] aerogear-cordova-push plugin 3.1.0 released Message-ID: A new version of aerogear-cordova-push, 3.1.0, has been released. It includes the following bugfixes and improvements: [AGCORDOVA-162 ] - Created hook to add the .entitlements file on Xcode 8 [RHMAP-10715 ] - Update aerogear-android-push to 4.0.2 [AGCORDOVA-168 ] - Set cdvMinSdkVersion to max between 16 and the android-minSdkVersion preference [AGCORDOVA-158 ] - (Android) Push not reflecting metrics when launching a stopped application [AGCORDOVA-169 ] - Handle entitlements in cordova-ios >= 4.3.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20170201/ced381df/attachment.html From matzew at apache.org Wed Feb 1 10:18:45 2017 From: matzew at apache.org (Matthias Wessendorf) Date: Wed, 1 Feb 2017 16:18:45 +0100 Subject: [Aerogear-users] aerogear-cordova-push plugin 3.1.0 released In-Reply-To: References: Message-ID: yay! On Wed, Feb 1, 2017 at 4:04 PM, Julio Cesar Sanchez Hernandez < jusanche at redhat.com> wrote: > A new version of aerogear-cordova-push, 3.1.0, has been released. > > It includes the following bugfixes and improvements: > > [AGCORDOVA-162 ] - Created > hook to add the .entitlements file on Xcode 8 > [RHMAP-10715 ] - Update > aerogear-android-push to 4.0.2 > [AGCORDOVA-168 ] - Set > cdvMinSdkVersion to max between 16 and the android-minSdkVersion preference > [AGCORDOVA-158 ] - > (Android) Push not reflecting metrics when launching a stopped application > [AGCORDOVA-169 ] - Handle > entitlements in cordova-ios >= 4.3.0 > > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20170201/f9a77408/attachment.html From taram67 at gmail.com Wed Feb 1 15:49:28 2017 From: taram67 at gmail.com (tomf67) Date: Wed, 1 Feb 2017 13:49:28 -0700 (MST) Subject: [Aerogear-users] detect if an installation exists for a specified alias Message-ID: <1485982168966-1053.post@n5.nabble.com> Greetings, i have for my work the following need : i want to send a push notification to one user specified by its alias, but i need to know before or while sending if the alias is registered in aerogear (as i might then decide to use another channel of communication) I didn't find an adequate way to do this, the only way seems to use the API https://SERVER:PORT/CONTEXT/rest/applications/variantID/installations/ and specifiy the search parameter, but as the implementation uses many "like" it seems not performant enough to be done systematically. Is this doable in Aerogear ? Regards, Tom -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/detect-if-an-installation-exists-for-a-specified-alias-tp1053.html Sent from the aerogear-users mailing list archive at Nabble.com. From supittma at redhat.com Wed Feb 1 16:30:50 2017 From: supittma at redhat.com (Summers Pittman) Date: Wed, 1 Feb 2017 16:30:50 -0500 Subject: [Aerogear-users] detect if an installation exists for a specified alias In-Reply-To: <1485982168966-1053.post@n5.nabble.com> References: <1485982168966-1053.post@n5.nabble.com> Message-ID: On Wed, Feb 1, 2017 at 3:49 PM, tomf67 wrote: > Greetings, > > i have for my work the following need : i want to send a push notification > to one user specified by its alias, but i need to know before or while > sending if the alias is registered in aerogear (as i might then decide to > use another channel of communication) > > I didn't find an adequate way to do this, the only way seems to use the API > https://SERVER:PORT/CONTEXT/rest/applications/variantID/installations/ and > specifiy the search parameter, but as the implementation uses many "like" > it > seems not performant enough to be done systematically. > > Is this doable in Aerogear ? > > There isn't a specific API for searching for installations by variant and alias. (Matzew can double check me on this if I am wrong). Your options are 1) Give it a shot and see if it is too slow. If you can live with the performance then there really isn't any need to do anything. 2) Implement the exact query you want in an external application and work with that. I'm not sure what the caching situation in UPS is so that may make this not ideal. 3) Fork UPS and Implement the query inside of UPS. Bonus points, send us a PR back. 4) File a JIRA and we'll work on it. How many variants are you expecting to have and how often will you run this query? Also, I'm curious, why do you want to know is an alias is registered? There may be another/better workaround for your use case I haven't thought of. > Regards, > > Tom > > > > -- > View this message in context: http://aerogear-users.1116366. > n5.nabble.com/detect-if-an-installation-exists-for-a- > specified-alias-tp1053.html > Sent from the aerogear-users mailing list archive at Nabble.com. > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20170201/d16ed3b4/attachment.html From taram67 at gmail.com Wed Feb 1 17:00:50 2017 From: taram67 at gmail.com (tomf67) Date: Wed, 1 Feb 2017 15:00:50 -0700 (MST) Subject: [Aerogear-users] detect if an installation exists for a specified alias In-Reply-To: References: <1485982168966-1053.post@n5.nabble.com> Message-ID: <1485986450036-1055.post@n5.nabble.com> Hi, thanks for the quick reply. To explain more clearly my use case : my company has an existing system emitting email or SMS to customers triggered by some server side events. Now the idea is to add push notifications to this system through rest api calls, and make it the preferred channel of communication. Of course, as not all the customers have a smartphone, the system must decide for each customer if it must send a push, or go with the other channels. Ideally i don't want to keep the knowledge of the customer having a mobile app in my system, and i'd rather: - ask aerogear before calling the api to send a push - or let aerogear tell me when i send a push if there are receivers or not Now it's the ideas that crossed my minds, but perhaps i have it wrong ... regards, -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/detect-if-an-installation-exists-for-a-specified-alias-tp1053p1055.html Sent from the aerogear-users mailing list archive at Nabble.com. From matzew at apache.org Wed Feb 1 17:31:25 2017 From: matzew at apache.org (Matthias Wessendorf) Date: Wed, 1 Feb 2017 23:31:25 +0100 Subject: [Aerogear-users] detect if an installation exists for a specified alias In-Reply-To: <1485986450036-1055.post@n5.nabble.com> References: <1485982168966-1053.post@n5.nabble.com> <1485986450036-1055.post@n5.nabble.com> Message-ID: nah, that's not possible w/ the UPS. that has to be implemented by your own system ;-) On Wed, Feb 1, 2017 at 11:00 PM, tomf67 wrote: > Hi, > > thanks for the quick reply. To explain more clearly my use case : my > company > has an existing system emitting email or SMS to customers triggered by some > server side events. Now the idea is to add push notifications to this > system > through rest api calls, and make it the preferred channel of communication. > Of course, as not all the customers have a smartphone, the system must > decide for each customer if it must send a push, or go with the other > channels. > > Ideally i don't want to keep the knowledge of the customer having a mobile > app in my system, and i'd rather: > - ask aerogear before calling the api to send a push > - or let aerogear tell me when i send a push if there are receivers or not > > Now it's the ideas that crossed my minds, but perhaps i have it wrong ... > > regards, > > > > -- > View this message in context: http://aerogear-users.1116366. > n5.nabble.com/detect-if-an-installation-exists-for-a- > specified-alias-tp1053p1055.html > Sent from the aerogear-users mailing list archive at Nabble.com. > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20170201/3eb5cd90/attachment.html