Skip to main content
Known Participant
November 6, 2013
Question

Help a noob - networkinfo extension packages but fails with null object ref?

  • November 6, 2013
  • 0 replies
  • 313 views

Hi,

I am a bit of a noob when it comes to native etxtensions so bear with me.

I need to expose the IP address of the app running on iOS, so have grabbed the iOS native extension.

I am using Pro CC and have the ane properly installed, and reffed as it should be.

When I debug over USB to the device, I get an error 1009 null object when I am trying to access:

var ntf:Vector.<NetworkInterface> = NetworkInfo.networkInfo.findInterfaces();

I am importing com.adobe.nativeExtensions.Networkinfo.InterfaceAddress;

and the other as outlined in the demo as file.

Checked the extension ID is ok in the xml descriptor.

When I try to run on the 6.1 sim, I get an Invalid Input. bla bla bla could not be found for the target platform.

Where am I going wrong, I am going round in circles here!

Cheers 🙂


This topic has been closed for replies.