distriqt / ANE-IronSource

IronSource ANE updated to latest SDK
5 stars 0 forks source link

Access of undefined property IronSourceBannerSize #29

Closed walddada closed 2 years ago

walddada commented 2 years ago

hi This error occurred to me when I put the following code

IronSource.instance.loadBanner( IronSourceBannerSize.BANNER, IronSource.POSITION_BOTTOM);

head of my project import com.distriqt.extension.ironsource.IronSource; import com.distriqt.extension.ironsource.events.RewardedVideoAdEvent;

marchbold commented 2 years ago

You need to import that class as well:

import com.distriqt.extension.ironsource.IronSourceBannerSize;

You can check the examples if you run into issues like this:

https://github.com/distriqt/ANE-IronSource/blob/master/example/ironsource/starling/src/com/distriqt/test/ironsource/IronSourceTests.as

Or the asdocs:

https://docs.airnativeextensions.com/asdocs/ironsource/

walddada commented 2 years ago

hello thanks for your quickly help I try this method thanks again

On Thu, Jan 13, 2022 at 12:51 AM Michael @.***> wrote:

You need to import that class as well:

import com.distriqt.extension.ironsource.IronSourceBannerSize;

You can check the examples if you run into issues like this:

https://github.com/distriqt/ANE-IronSource/blob/master/example/ironsource/starling/src/com/distriqt/test/ironsource/IronSourceTests.as

Or the asdocs:

https://docs.airnativeextensions.com/asdocs/ironsource/

— Reply to this email directly, view it on GitHub https://github.com/distriqt/ANE-IronSource/issues/29#issuecomment-1011599779, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMGM64LNLUZDHREFN7RADWDUVYOYFANCNFSM5LZ6DITA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 5 days with no activity.

walddada commented 1 year ago

I get this error :

1119: Access of possibly undefined property BANNER through a reference with static type Class.

when I add banner class

IronSource.instance.init( IRONSRC_APP_KEY, [ IronSource.BANNER ] );

walddada commented 1 year ago

so

Well when I write the code IronSource.instance.init( IRONSRC_APP_KEY, [ IronSource.

Well when I write the code

A small window appears with all the possible codes

[image: class_display.png]

that mean the BANNER not exit

On Tue, Nov 8, 2022 at 4:31 PM dada wald @.***> wrote:

On Tue, Nov 8, 2022 at 4:06 PM dada wald @.***> wrote:

I get this error :

1119: Access of possibly undefined property BANNER through a reference with static type Class.

when I add banner class

IronSource.instance.init( IRONSRC_APP_KEY, [ IronSource.BANNER ] );