Hello everyone, I saw status of issue is solved? how to fix?
Hello Nicola,
In short, there are no crash logs but a fairly constant EXC_BAD_ACCESS.
The crash happens easier with locations with more POIs, but is not exclusively. I mean, even with location with few POIs being displayed, the crash happens.
If we code the app without the HTML drawable for the POIs, no crash happens, regardless of the numbers of POI displayed. When we use POIs with HTML drawable, the crash happens. We think we are using the minimum POI design.
On Android using this same POI HTML drawable design, the app has no problems.
I just shared the code with the address you mentioned.
Thanks for the help.
Hi Joanan,
Can you please send us either the iOS crash log or a demo project that we can use to reproduce the issue? Without additional information it's quite hard to find the root cause.
Best regards,
Andreas
Joanan Hernandez
Hello,
Our AR app is crashing when displaying the POI. Specifically, we are using 10_BrowsingPois_3_LimitingRange sample in our android and ios native apps and for marker drawing we are using AR.HtmlDrawable here is its code:
var htmlDrawable = new AR.HtmlDrawable({
html: "<div ><img style='border:4px solid #48edff;width:200px;max-width:100%;height:auto;' src='" + poiData.image + "' alt='image'><strong style='font-size:"+poiData.fontSize+";line-height:1.3;display:block;'>" + poiData.title.trunc(30) + "</strong></div>"
}, 10, {
offsetX: 1,
onClick: Marker.prototype.getOnClickTrigger(this),
horizontalAnchor: AR.CONST.HORIZONTAL_ANCHOR.LEFT,
opacity: 0.9
});
It's working fine on Android but on iOS it crashing after drawing markers there is no log in XCode that can be helpful
Any suggestion is welcome!
Thanks!