From eug.bab at gmail.com Wed Sep 3 22:10:01 2014 From: eug.bab at gmail.com (E Bab) Date: Wed, 3 Sep 2014 22:10:01 -0400 Subject: [Aerogear-users] push plugin crashes cordova app in background Message-ID: Hello, I'm testing the push plugin. It works as expected for iOS in both background and foreground. It works as expected for Android in foreground but crashes the app when it's in background or is not active - popups message 'Unfortunately app has stopped', sending the same message. >From the log I could find: D/NotificationMessageHandler( 3571): onMessage - context: android.app.ReceiverRestrictedContext at 42096d20 W/dalvikvm( 3571): threadid=11: thread exiting with uncaught exception (group=0x416d5da0) E/AndroidRuntime( 3571): FATAL EXCEPTION: Thread-18175 E/AndroidRuntime( 3571): Process: io.cordova.hellocordova, PID: 3571 E/AndroidRuntime( 3571): java.lang.NullPointerException E/AndroidRuntime( 3571): at org.jboss.aerogear.cordova.push.NotificationMessageHandler.onMessage(NotificationMessageHandler.java:40) E/AndroidRuntime( 3571): at org.jboss.aerogear.android.unifiedpush.Registrations$1.run(Registrations.java:149) E/AndroidRuntime( 3571): at java.lang.Thread.run(Thread.java:841) I appreciate your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20140903/88abd121/attachment.html From edewit at redhat.com Thu Sep 4 09:36:09 2014 From: edewit at redhat.com (Erik Jan de Wit) Date: Thu, 4 Sep 2014 09:36:09 -0400 (EDT) Subject: [Aerogear-users] push plugin crashes cordova app in background In-Reply-To: References: Message-ID: <984207134.51159475.1409837769331.JavaMail.zimbra@redhat.com> Hi, The message you are testing with what does it look like? Do you have an alert 'property' Cheers, Erik Jan ----- Original Message ----- From: "E Bab" To: aerogear-users at lists.jboss.org Sent: Thursday, September 4, 2014 4:10:01 AM Subject: [Aerogear-users] push plugin crashes cordova app in background Hello, I'm testing the push plugin. It works as expected for iOS in both background and foreground. It works as expected for Android in foreground but crashes the app when it's in background or is not active - popups message 'Unfortunately app has stopped', sending the same message. >From the log I could find: D/NotificationMessageHandler( 3571): onMessage - context: android.app.ReceiverRestrictedContext at 42096d20 W/dalvikvm( 3571): threadid=11: thread exiting with uncaught exception (group=0x416d5da0) E/AndroidRuntime( 3571): FATAL EXCEPTION: Thread-18175 E/AndroidRuntime( 3571): Process: io.cordova.hellocordova, PID: 3571 E/AndroidRuntime( 3571): java.lang.NullPointerException E/AndroidRuntime( 3571): at org.jboss.aerogear.cordova.push.NotificationMessageHandler.onMessage(NotificationMessageHandler.java:40) E/AndroidRuntime( 3571): at org.jboss.aerogear.android.unifiedpush.Registrations$1.run(Registrations.java:149) E/AndroidRuntime( 3571): at java.lang.Thread.run(Thread.java:841) I appreciate your help. _______________________________________________ Aerogear-users mailing list Aerogear-users at lists.jboss.org https://lists.jboss.org/mailman/listinfo/aerogear-users From rmn.pires at gmail.com Thu Sep 11 14:20:20 2014 From: rmn.pires at gmail.com (Ramon Pires da Silva) Date: Thu, 11 Sep 2014 15:20:20 -0300 Subject: [Aerogear-users] Many-To-Many Data Store relationship SQLStore Message-ID: the Data Store with SQLStore for android sample at github are really simple, i need some example how to work with many-to-many relationship,or some tip about it. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20140911/0d316a09/attachment.html From supittma at redhat.com Fri Sep 12 10:52:21 2014 From: supittma at redhat.com (Summers Pittman) Date: Fri, 12 Sep 2014 10:52:21 -0400 Subject: [Aerogear-users] Many-To-Many Data Store relationship SQLStore In-Reply-To: References: Message-ID: <541308A5.7080807@redhat.com> On 9/11/2014 2:20 PM, Ramon Pires da Silva wrote: > the Data Store with SQLStore for android sample at github are really > simple, i need some example how to work with many-to-many > relationship,or some tip about it. SQLStore really doesn't support many-to-many style relationships*. If you need a full ORM with proxies, lazy loading, etc then that is a different problem. If you can get by with Key:Value mappings and some simple querying then we might be able to help. For each pair of relationships you can create a mapping object and use three SQLStores. Two stores would be for your objects and the third would be a for the object which manages the mapping (essentially a RecordId and a pair of Ids for the other two objects). Then I would wrap these three stores in a ContentProvider which will manage assembling and disassembling your objects when the app queries them. *SQLStore works by serializing your object to JSON and then storing each property in a table. The table schema is (from my memory) is the fully qualified property name, the property value, a row id, and the id of the parent row. It is really good for storing objects which are basically unidirectional graphs with a unique key. It is very slow at doing any other querying, and it can't handle complex graphs (Many to many, cycles, etc). It can handle nested collections however. > > > _______________________________________________ > 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/20140912/f07ac6a5/attachment-0001.html From edewit at redhat.com Tue Sep 16 05:41:35 2014 From: edewit at redhat.com (Erik Jan de Wit) Date: Tue, 16 Sep 2014 11:41:35 +0200 Subject: [Aerogear-users] cordova push plugin release Message-ID: Hi all, After testing we are happy to announce that the 1.0.1 version of the cordova push plugin has been released. Thanks to everyone for testing and making this release happen. The reason for this point release was an error in the android dependencies of the plugin making it unusable. Happy coding, Erik Jan From scm.blanc at gmail.com Thu Sep 18 16:20:42 2014 From: scm.blanc at gmail.com (Sebastien Blanc) Date: Thu, 18 Sep 2014 22:20:42 +0200 Subject: [Aerogear-users] [RELEASE] UnifiedPush Server 1.0.1 has been released Message-ID: Dear community, We?re happy to announce the availability of AeroGear Mobile Push 1.0.1! UnifiedPush Server This release contains a lot of fixes and enhancements . A new feature has been introduced to enable bulk device registrations . Openshift Online The 1.0.1 release of the UnifiedPush Server is available on Openshift . Client SDKsCordova Plugin The Apache Cordova Push Plugin 1.0.1 contains an important fix for the Android Platform. The AeroGear team, http://aerogear.org/news/2014/09/17/aerogear-push-1.0.1-is-out/index.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20140918/1dc06784/attachment.html From matzew at apache.org Fri Sep 19 04:55:03 2014 From: matzew at apache.org (Matthias Wessendorf) Date: Fri, 19 Sep 2014 10:55:03 +0200 Subject: [Aerogear-users] [RELEASE] UnifiedPush Server 1.0.1 has been released In-Reply-To: References: Message-ID: Yay! Congrats folks! On Thursday, September 18, 2014, Sebastien Blanc wrote: > Dear community, > > We?re happy to announce the availability of AeroGear Mobile Push 1.0.1! > UnifiedPush Server > > This release contains a lot of fixes and enhancements > > . > > A new feature has been introduced to enable bulk device registrations > > . > Openshift Online > > The 1.0.1 release of the UnifiedPush Server is available on Openshift > > . > Client SDKsCordova Plugin > > The Apache Cordova Push Plugin 1.0.1 > contains > an important fix for the Android Platform. > > The AeroGear team, > > http://aerogear.org/news/2014/09/17/aerogear-push-1.0.1-is-out/index.html > > > > -- Sent from Gmail Mobile -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20140919/fa8944da/attachment.html