option1) hxjava
for android: use hxjava ( haxe/java ) target to compile your haxe code to android .apk using android tools. ( I WILL RECOMMEND THIS esp. for android)
some additional discussion here
some additional tool here, it is totally old but probably this will give you an idea
https://lib.haxe.org/p/androidhx/
( I do not know about iOS development, but here is a video where someone is telling about developing iOS applications with java.
And
so obviously hxjava can be applied in iOS too)