native extension ID to library project

Hello,

I want to use som native extension in my library project.
I can add the .ane files to the project, but how can I add the <extensions><extensionID>.... for the extension.
If I simple add the ane files to project, when I want to use my swc somwhere else i got the following error

[Fault] exception, information=ReferenceError: Error #1065: Variable pl.mateuszmackowiak.nativeANE.properties::SystemProperties is not defined.



1 comment
Comment actions Permalink

Sorry for delay.
When you build SWC there's no app descriptor, so there's no place where you can specify extension id.
I think all apps that use your library need to have explicit dependency on the corresponding *.ane file(s) and have corresponding <extensionID> in their descriptors.

0

Please sign in to leave a comment.