Calling FREDispatchStatusEventAsync from my IOS native extension goes nowhere. What do i do?
I'm stuck at this point. We've developed a native extension so that our product can run on the desktop and on android, but on IOS.... i can't get any data back to the flex side.
The function i use is:
void SendMessageToFlex(const char* type, const char* msg) {
FREResult res;
res = FREDispatchStatusEventAsync(_ctx, (const uint8_t *)type, (const uint8_t *) msg);
if (res == FRE_INVALID_ARGUMENT) {
NSLog(@"Error: FREDispatchStatusEventAsync");
} else if (res == FRE_OK) {
NSLog(@"OK: FREDispatchStatusEventAsync");
} else {
NSLog(@"???: FREDispatchStatusEventAsync");
}
{
also... the project is here:
http://www.4shared.com/zip/y6MHvPh9/UDPSocketiOSLibrary.html?refurl=d1url
