Page 11 of 12

Re: Did someone say iPhone app?

Posted: Tue Jul 02, 2013 3:39 pm
by DrewPalmer04
Not me. Same spastic result? Must be XML related because I get the error message about 4 or 5 times before it crashes. I think it's trying to read the additional/new XMLs.

Re: Did someone say iPhone app?

Posted: Mon Jul 08, 2013 9:14 pm
by rimai
I just tested the app on my wife's ipad and it is working just fine.

Re: Did someone say iPhone app?

Posted: Tue Jul 09, 2013 9:35 am
by DrewPalmer04
Totally random crashing on my end. Only applies to the relay control screen. The iPad app is written a little differently than the iPhone.

Trust me...I'm confused because I was the one who assumed it was other's configs when in-fact the odd app behavior is happening to me.

Re: Did someone say iPhone app?

Posted: Tue Jul 09, 2013 10:23 am
by lnevo
The XML code is the same between the ipad and iphone app.... all the back end code is shared.

The test is not a good one Roberto, it is very intermittent. I could be fine all day then suddenly have issues. Drew, have you tried switching the network connection when you are having issues. I find that's the only way to help it, but its still not perfect... I could be crashing 100% on wifi and then go to LTE and get 50/50... then next day 100% on LTE, I switch to wifi and it's better.

It's actually getting a little annoying. I need to take a look at the code and see what's going on, but since I can't easily recreate it and my simulator will only be on the network... it's going to be a tough nut to crack, unless someone is good with IOS and XML parsing :)

Re: Did someone say iPhone app?

Posted: Tue Jul 09, 2013 12:20 pm
by DrewPalmer04
I've tried network swapping. Wifi/ethernet(simulator)/3G....I can't begin to put a % on my crashes...it's that random for me no matter the connection type :(

Re: Did someone say iPhone app?

Posted: Tue Jul 09, 2013 12:22 pm
by DrewPalmer04
The MOST confusing part for me is: other users reported issues...all the meanwhile...nothing wrong on my side for a year or so...then randomly....crash, crash, crash

Re: Did someone say iPhone app?

Posted: Tue Jul 09, 2013 12:41 pm
by lnevo
Yeah, I think it was the 1.0.9 as well. I never had a problem and now it's awful.. :(

Re: Did someone say iPhone app?

Posted: Tue Jul 09, 2013 5:21 pm
by binder
lnevo wrote:Yeah, I think it was the 1.0.9 as well. I never had a problem and now it's awful.. :(
I wonder if this also has something to do with people getting more Timeouts using the android app as well? It could be unrelated though.

Re: Did someone say iPhone app?

Posted: Tue Jul 09, 2013 6:04 pm
by lnevo
Drew does it crash for you in the simulator?

There was also new xcode announced and did we have any recent ios update? I know there was an itunes and xcode (non beta) added...

Curt or anyone that can try, id love to know if its just phone or if it can be reproduced in xcode...

When i can get a few I'll try and see...

Curt, i wouldn't discount any possible relation also a lot of reports about ph probes...maybe some underlying timing change be affecting?

Re: Did someone say iPhone app?

Posted: Tue Jul 09, 2013 7:08 pm
by DrewPalmer04
Not exactly a crash in sim but the error message did pop up over and over until I had to close the sim.

Re: Did someone say iPhone app?

Posted: Tue Jul 09, 2013 7:16 pm
by binder
lnevo wrote: Curt, i wouldn't discount any possible relation also a lot of reports about ph probes...maybe some underlying timing change be affecting?
It's hard to say. I'll just keep an eye on things and see what all comes about.

Re: Did someone say iPhone app?

Posted: Wed Jul 10, 2013 7:12 am
by DrewPalmer04
Just to add to the confusion. Upgraded from iOS 5.1.1 to 6.1.3 and I experience 50% less crashes (approx) than before. Now that's just odd...

Re: Did someone say iPhone app?

Posted: Sun Jul 14, 2013 5:56 am
by lnevo
So, here's the error that popped up in the simulator when I tried it. Crashed immediately...

Code: Select all

Entity: line 1: parser error : Premature end of data in tag RA line 1
><C4>43</C4><C5>4</C5><C6>9</C6><C7>0</C7><RFM>11</RFM><RFS>33</RFS><RFD>0</RFD>
                                                                               ^
Entity: line 1: parser error : Extra content at the end of the document
<RFW>0</RFW><RFRB>0</RFRB><RFR>0</RFR><RFG>0</RFG><RFB>0</RFB><RFI>0</RFI><RFWO>

Re: Did someone say iPhone app?

Posted: Sun Jul 14, 2013 6:15 am
by lnevo
This line is the one generating the error

Code: Select all

        paramArray = [xmlParser fromXml:self.response withObject:raParam];
So it's definitely something in the xmlParser class that is doing it... reviewing that code next..

Re: Did someone say iPhone app?

Posted: Sun Jul 14, 2013 9:31 am
by rimai
Have you tried to increase the flush size on the wifi attachment?
I post somewhere in the last couple days.

Re: Did someone say iPhone app?

Posted: Sun Jul 14, 2013 9:39 am
by lnevo
No can you post again and I'll try

I didnt see anything in the ios code restricting how much data to read etc...

Re: Did someone say iPhone app?

Posted: Sun Jul 14, 2013 9:46 am
by rimai
I'm curious to know what you have right now.
So before you change, grab the "get e" dump.
http://forum.reefangel.com/viewtopic.php?p=29662#p29662

Re: Did someone say iPhone app?

Posted: Sun Jul 14, 2013 10:13 am
by lnevo
It was 450. Now it's 1420.

That was it... no more issues. So not a code problem... whew :)

Curt, can we get the current version submitted now :) Can't wait for my fixes to be in place :D

Re: Did someone say iPhone app?

Posted: Sun Jul 14, 2013 11:12 am
by rimai
Awesome!!!
Yeah, 450 was enough for when we started and now we have so much info packed into the XML data that we need more room in the TCP packet :)
Both Android and iPhone seem not to like the fragmented packet.
Internet browsers and the Portal don't mind it though.

Re: Did someone say iPhone app?

Posted: Sun Jul 14, 2013 11:14 am
by lnevo
So this correlates with the android timeout then also?

Re: Did someone say iPhone app?

Posted: Sun Jul 14, 2013 11:17 am
by rimai
Not the timeout. Android doesn't crash. It reports SAX parser error.

Re: Did someone say iPhone app?

Posted: Sun Jul 14, 2013 12:33 pm
by binder
lnevo wrote:It was 450. Now it's 1420.

That was it... no more issues. So not a code problem... whew :)

Curt, can we get the current version submitted now :) Can't wait for my fixes to be in place :D
I am in the process of figuring out how to go about that process plus differentiating between this newer version and the existing version.


Sent from my iPad

Re: Did someone say iPhone app?

Posted: Tue Jul 16, 2013 11:55 am
by Poiromaniax
Well my ios "training" has been out on hold, so I hope someone has managed to fix ios 7 issues :p otherwise the app will be redundant soon enough :( :(

Re: Did someone say iPhone app?

Posted: Tue Jul 16, 2013 12:08 pm
by lnevo
redundant? i think you mean obsolete..

We still have until the fall before iOS 7 is going to be widespread. I'm 100% sure that most of the issues will be resolved when a release candidate comes out for iOS 7. Until then I wouldn't worry too much. My brother is doing the beta for iOS 7 and apparently many apps are broken. Apple won't release it if it breaks a lot of their 1billion apps on the app store...

Re: Did someone say iPhone app?

Posted: Tue Jul 16, 2013 2:41 pm
by Poiromaniax
lnevo wrote:redundant? i think you mean obsolete..

We still have until the fall before iOS 7 is going to be widespread. I'm 100% sure that most of the issues will be resolved when a release candidate comes out for iOS 7. Until then I wouldn't worry too much. My brother is doing the beta for iOS 7 and apparently many apps are broken. Apple won't release it if it breaks a lot of their 1billion apps on the app store...
Lol, yes that's what I meant.

I really really hope so and that Apple aren't just relying on Devs to update their apps with ios 7 compatibility.

I seem to recall something similar with ios 6, a lot of apps would randomly crash until they were updated

Re: Did someone say iPhone app?

Posted: Sat Jul 20, 2013 11:26 am
by iiluisii
What is going on with the iPhone app now it stuck on updating I deleted the app and download it again and same issue.

Re: Did someone say iPhone app?

Posted: Sat Jul 20, 2013 12:29 pm
by lnevo
Did you change the flush size on your wifi module?

Re: Did someone say iPhone app?

Posted: Fri Sep 20, 2013 5:41 pm
by romebaby
Anyone else getting some weirdness in iOS 7? Temp reading works about every other refresh as do the on/off status bars on the outlets.

Re: Did someone say iPhone app?

Posted: Fri Sep 20, 2013 6:32 pm
by lnevo
Yes its broken. No ETA.

Re: Did someone say iPhone app?

Posted: Sat Sep 21, 2013 10:16 am
by binder
Correct. No ETA. I'm looking at the code now and just trying to follow along with it. It's a little confusing to a non-ios programmer. Regardless, when the app is updated, unless wolfador updates it (which is doubtful), the app will be released under a different signature.