Openfl extension-share and openfl next?

I use the extension-share extension ( without any issue with openfl legacy. But as soon as I try to compile my project (for android) with openfl next, the compilation fail with this error:

C:\Development\haxe\Darkaedalus\export\android\bin\src\shareex\ error: cannot find symbol
[javac]         GameActivity.getInstance().getContext().startActivity(sendIntent);
[javac]                     ^
[javac]   symbol:   method getInstance()
[javac]   location: class GameActivity

has anyone any clue on how to fix this? (I already posted an issue on the project github repository 2 weeks ago but without an answer so far. So if anyone here has the solution, would be nice :wink: )

Just commented ( hopefully this can get patched :smile:

1 Like