iink SDK on Device

Crash when using MyScriptInteractiveInk-Runtime version 2.1.1

Hi,


I've been using MyScriptInteractiveInk-Runtime on iOS since v1.5 and after trying to upgrade to v2.1.1 I noticed that the app always crashes when I want to dismiss a modal that contains IINKEditor. It crashes with a following message: myscript::engine::EngineError: INVALID_STATE: removeListener_: object is not a listener on this page

I can reproduce the crash by calling

 

try? editor?.setPart(part: nil)

 Then I downgraded to v2.0.1 that I used before and it works fine. Can you let me know what I am doing wrong? 

LMK if you need some more technical details.


Josip


Hi Josip,


Thank you for contacting us.


Unfortunately we could not reproduce your issue with the 2.1.1 GetStarted nor with the Demo iOS samples: for instance replacing the convert func in the GetStarted HomeViewModel by

try? self.editor?.setPart(part: nil)

Could you please, also give a try with the Demo and/or GetStarted?


Best regards


Gwenaëlle

Hi,


Sure, I will try to reproduce it with demo. But give me a day or two and I'll get back to you.


Josip

Hi,


I was finally able to reproduce this crash. You can find a demo project on GitHub.


Best,

Josip

Login or Signup to post a comment