Open OnixFlutterTeam opened 2 years ago
In my case I use a function to remove it.
String removeIosSharp(String str){ String nodeFirst; if(str.startsWith("[#") && str.endsWith("]")){ nodeFirst = str.substring(2, str.length - 1); } else { nodeFirst = str; } return nodeFirst; }
Hi there. Not sure is this an issue but I faced this during development. Simple app: add node and handle tap on it.
Android: All Work Fine. iOS: Tap on Node not working. (No any events in callback).
My code:
AR View
Create ArView created:
Adding node:
Callback:
So Android works fine. But! IOS works too - but I need to add
[#"
to node name as prefix.For example:
final String _arPlaneNode = '[#"ar_plane_node';
Not sure is it a bug but this not described anywhere (if not just close it), just discovered way to fix taps digging iOS code...