freshplanet / ANE-Facebook

Air Native Extension (iOS and Android) for the Facebook mobile SDK
Apache License 2.0
221 stars 123 forks source link

LoaderContext.SecurityDomain is from a disallowed domain #136

Closed nikhil-mahirrao closed 7 years ago

nikhil-mahirrao commented 10 years ago

Hi I am getting this error. Please tell me how to solve it.

" Provided parameter LoaderContext.SecurityDomain is from a disallowed domain."

vmontuclard commented 10 years ago

Hi i have the same error. Is it a config problem?

vmontuclard commented 10 years ago

Ok nikhil-mahirrao to resolve the problem you must not create the context outside the ane. i had copy the code from Facebook.as to a class in my project but you can't do that, you have to call the Facebook instance from the ANE. That was my problem, hope it can help you.