Apple IOS 12 - Application crash

Anyone else having issues with the Openremote App crashing after installing IOS 12?

Mike

Nobody? I cannot believe I am the only one…

I am having the same issue as well. Don't know the solution

What I have noticed is it only crashes on certain screen and not all. All screens work fine on my Android and on a web browser

I also have a new problem, possibly related. I have iOS 12 and the app has been working great; today I tried to add a new switch/slider (Vera protocol) and only when manipulating that switch/slider does the app crash. Everything else works just fine.

Edit: I tried the panel in the web console and got the error: Error! The following error occurred: - Unknown Controller Error

Doesn’t look like this is related to iOS 12 then.

same here. There are two buttons that when pressed the app crashes. I went to the zwave log (my nodes are zwave) and this is what I see:

DEBUG 2018-11-11 19:44:31,468 (Z-Wave): Command_Builder : Building Z-Wave command

DEBUG 2018-11-11 19:44:31,470 (Z-Wave): Command_Builder : Z-Wave command: nodeId = ‘13’, endPoint = ‘2’

DEBUG 2018-11-11 19:44:31,470 (Z-Wave): Command_Builder : Z-Wave command: command = off

DEBUG 2018-11-11 19:44:31,471 (Z-Wave): Command_Builder : Z-Wave command: paramValue = null

DEBUG 2018-11-11 19:44:31,472 (Z-Wave): Command_Builder : Z-Wave command created successfully

after this, the next entry corresponds to the next action I triggered from the app, after restarting it. for example… (and there is no problem with this action, meaning the app does not crash)

DEBUG 2018-11-11 19:44:42,256 (Z-Wave): Command_Builder : Building Z-Wave command

DEBUG 2018-11-11 19:44:42,258 (Z-Wave): Command_Builder : Z-Wave command: nodeId = ‘34’, endPoint = ‘0’

DEBUG 2018-11-11 19:44:42,259 (Z-Wave): Command_Builder : Z-Wave command: command = off

DEBUG 2018-11-11 19:44:42,260 (Z-Wave): Command_Builder : Z-Wave command: paramValue = null

DEBUG 2018-11-11 19:44:42,260 (Z-Wave): Command_Builder : Z-Wave command created successfully

DEBUG 2018-11-11 19:44:42,263 (Z-Wave): CCSwitchBinary : Node ‘34:0’ : [COMMAND_CLASS_SWITCH_BINARY::SWITCH_BINARY_SET, Value=‘0’]

DEBUG 2018-11-11 19:44:42,271 (Z-Wave): Controller_API : Dequeue (queue count=0) Z-Wave function call ‘ZW_SendData(NodeID=34, Payload=[0x25, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x00)’.

DEBUG 2018-11-11 19:44:42,280 (Z-Wave): TX_Session_Layer : Executing Z-Wave function call ‘ZW_SendData(NodeID=34, Payload=[0x25, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x00)’…

DEBUG 2018-11-11 19:44:42,271 (Z-Wave): Controller_API : Enqueue (queue count=1) Z-Wave function call ‘ZW_SendData(NodeID=34, Payload=[0x25, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x00)’.

DEBUG 2018-11-11 19:44:42,288 (Z-Wave): TX_Session_Layer : Send (repeat count=1) Z-Wave function ‘ZW_SendData(NodeID=34, Payload=[0x25, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x79)’ request (callback ID=0x79).

DEBUG 2018-11-11 19:44:42,297 (Z-Wave): TX_Frame_Layer : Send data frame [0x01, 0x0A, 0x00, 0x13, 0x22, 0x03, 0x25, 0x01, 0x00, 0x05, 0x79, 0x9F].

DEBUG 2018-11-11 19:44:42,302 (Z-Wave): RX_Serial_Port_RXTX : Data bytes read : [0x06]

DEBUG 2018-11-11 19:44:42,307 (Z-Wave): RX_Serial_Port_RXTX : Data bytes read : [0x01]

DEBUG 2018-11-11 19:44:42,312 (Z-Wave): RX_Frame_Layer : ACK -> Data frame [0x01, 0x0A, 0x00, 0x13, 0x22, 0x03, 0x25, 0x01, 0x00, 0x05, 0x79, 0x9F] transmission OK.

DEBUG 2018-11-11 19:44:42,312 (Z-Wave): RX_Serial_Port_RXTX : Data bytes read : [0x04, 0x01, 0x13, 0x01, 0xE8]

DEBUG 2018-11-11 19:44:42,318 (Z-Wave): RX_Session_Layer : ACK -> Z-Wave function ‘ZW_SendData(NodeID=34, Payload=[0x25, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x79)’ has been successfully sent - waiting 5,000 [ms] for response frame.

DEBUG 2018-11-11 19:44:42,324 (Z-Wave): RX_Frame_Layer : Data frame [0x01, 0x04, 0x01, 0x13, 0x01, 0xE8] has been received.

DEBUG 2018-11-11 19:44:42,330 (Z-Wave): RX_Session_Layer : ‘ZW_SendData’ response [0x01, 0x04, 0x01, 0x13, 0x01, 0xE8] with status ‘RETURN_VALUE_TRUE’ received (callback ID=0x79).

DEBUG 2018-11-11 19:44:42,332 (Z-Wave): RX_Session_Layer : Waiting 64,951 [ms] for ‘ZW_SendData’ callback frame (callback ID=0x79).

DEBUG 2018-11-11 19:44:42,354 (Z-Wave): RX_Serial_Port_RXTX : Data bytes read : [0x01]

DEBUG 2018-11-11 19:44:42,360 (Z-Wave): RX_Serial_Port_RXTX : Data bytes read : [0x07, 0x00, 0x13, 0x79, 0x00, 0x00, 0x05, 0x97]

DEBUG 2018-11-11 19:44:42,368 (Z-Wave): RX_Frame_Layer : Data frame [0x01, 0x07, 0x00, 0x13, 0x79, 0x00, 0x00, 0x05, 0x97] has been received.

DEBUG 2018-11-11 19:44:42,380 (Z-Wave): RX_Session_Layer : Callback [0x01, 0x07, 0x00, 0x13, 0x79, 0x00, 0x00, 0x05, 0x97] (callback ID=0x79) with state ‘TRANSMIT_COMPLETE_OK’ received -> Z-Wave function ‘ZW_SendData(NodeID=34, Payload=[0x25, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x79)’ successfully executed.

DEBUG 2018-11-11 19:44:42,384 (Z-Wave): CCSwitchBinary : Node ‘34:0’ : [COMMAND_CLASS_SWITCH_BINARY::SWITCH_BINARY_SET, Value=‘0’] succeeded.

Hi All,

Just wanted to let you know that we released an update to the iOS console that has been re-compiled with iOS 12 SDK.

It also improves support of the latest devices released by Apple.

Thanks Eric

What is the version of the updated openremote AP that could fix this issue? I will update it today and try it out.

Is it available on iOS app store?

Hi Eric,

the most recent update actually broke OpenRemote rendering of the app, at least on iPhone6s :frowning:

Basically the app starts, but the problem is the screen seems to be shifted down and the top part is black.

I truly regret having updated the app on my iPhone, it was working like a charm before this update.

Can you please pass my message to the dev team?

Is there a direct channel where I can provide input / screenshots of the issue?

Thanks

Hi Eric

Unfortunately the app is still crashing with ios12 on iPhone 6S. I have attached crashing report. It only happens on certain panels and not on all the panels. As soon as I open one of those panels, app will crash. If you need any other information let me know.

OpenRemote-2018-11-20-212956.ips (118 KB)

The issue has been identified and will be fixed in an upcoming release. Regression caused by iPhone X support.

Thanks, based on the logs, it seems related to the web view. I have not been able to reproduce the crash on my iPhone with a simple Web view though.

Does this confirm what you’re seeing ? Do all the crashing panels contain a web view ? Do they have a sensor attached ? Anything special in the content they display ?

Thanks Eric, that’s awesome news!! Looking forward to the release of the updated version fixing the issue!

Hi Eric,

out of the 6 panels i have, it crashes on 3 and out of those 3, only one of them has web links to IP camera. I have attached word document with screen shots and some more information. If it helps, i can export the entire project from designer and email you the zip file. or if you need any specific log files fromt he controller, let me know.

Thanks

Screens.docx (1.57 MB)

Yes, if you can export the configuration and send it to me (eric at openremote dot io), we can try to reproduce the problem here. Thanks

Hi Eric,

Do you know more or less when the iOS app update containing the fix for iPhone6s screen shifted down will be released?

Thanks,
Leo

Hi Eric

Just a quick update- I removed all the webview and the app seems to be stable so far. I will let you know if I run in to the issue again.

Looking forward to updated version of the app that supports the web elements

Thanks

We’re looking into the other issue reported here to release a single update.
Hopefully we should submit something to Apple this week.

That’s awesome, thanks!

Leo

The new version is now available in the AppStore. Should fix reported issues.

Thanks so much both for resolving the issue in a timely manner and for the heads-up once the new app version has been made available in the App Store.

I can confirm I’ve just tried it out and that fixes the regression introduced with the previous update!

Have a nice day,

Leo