Skip to main content
Santanu Karar
Known Participant
October 12, 2011
Question

AIR 3.0 Socket, Standard packaging method = won't works on iOS device

  • October 12, 2011
  • 2 replies
  • 2734 views

Hello,

I'm using FB 4.5.1. with AIR 3.0.

My project uses Socket connection class, which works as expected in the simulator run, even when packaged and run in the iOS device (iPad or iPhone) with Fast package method. But whenever we're doing the package as Standard mode (the certificates are okay to package for iOS) it stops working (the socket). The connection even not returning any event either - i.e. IOError, Security Error nothing. What's the difference the connection creates between Fast and Standard package mode (?)

Any security reason or it's just a bug.

Any help would be great!

Thanks & Regards,

Santanu Karar

This topic has been closed for replies.

2 replies

October 12, 2011

I have tried creating a socket connection and sending data through it in ipa-app-store mode. It works fine without any problem.

Can you please provide the source code of the project so that I can help you out .

Santanu Karar
Known Participant
October 12, 2011

Thats sounds like a light! can you share your code if its simpler version enough to distribute, since my codes are even complex - so if you can share then I'll try to identify what I've missing or didn't done! I hope you've used the Standard package method to run in your ipad (?) Thanks!

Santanu Karar
Known Participant
October 13, 2011

Does an ipa-app-store or release build requires to be signed/downloaded only from the app store (?) I do have proper p12 and provisioning file downloaded from the Apple Developers Forum, but I can't install such build to my iPad - it says "The app ** was not installed on the iPad because the signer is not valid." ?? Any suggestion?

Thanks.

Participating Frequently
October 12, 2011

Did you use ServerSocket or DatagramSocket? They are not suppported on mobile devices.

Santanu Karar
Known Participant
October 12, 2011

blown out.. networkinterface is not available to mobile devices! our project uses networkinterface for getting user's IP - how can we work now this socket!!

October 12, 2011