New Kidoz banner - after hiding need to reload?

Been playing around with the new kidoz banner, and have been having a few probs, it all seems to be working now but after hiding the banner and then trying to show it again on another scene, it did not seem to show, so when load it again from the closed phase after it was hidden, and then show it again, it works. i was wondering is this how it is intended or if there is something not right there, as the panel and flexi can be shown after being hidden without reloading…

also i have noticed the banner takes quite a while to load the first time, somewhere in the 10 to 12 seconds range, where as the panel (which looks like more content) is much faster eg 3 to 5 seconds.

Banners behave a bit different than the other ad types and must be reloaded when changing scenes.

Unfortunately there is not much that we can do about loading time (as it’s the Kidoz SDK that does the loading), however I can confirm that loading the first banner does take much longer than later loads.

Thanks for the reply, understood, just want to confirm that reloading of the banner best practice would be in the closed phase?

Yep. That seems like a good place to put it  :slight_smile:

Thanks @ingemar_cl :slight_smile:

Hi Chris,

Certain campaigns may sometimes need more time to load, also banner loading can be affected on bandwidth and latency.

We’ve applied several server improvements - can you check if you see an improvement now?

Regards,

Ran

Hi @ran5, Appreciate the reply and the work you guys are doing.

The banner does seem to load a little faster which is sufficient.

I do have another question in which i have noticed. in one of my apps which is live on google play, im getting some crash reports, what seems to be from a failed state for the banner, i cant seem to replicate it as im receiving ads, and when turning off the internet, im guessing the failed state would have kicked in but still cant reproduce it.

below is one of the crash reports: anything you guys can do with that?

Thanks again for the replies!

Samsung Galaxy S7 Edge (hero2lte), 4096MB RAM, Android 7.0

Report 1 of 21

java.lang.NullPointerException :

at com.kidoz.sdk.api.ui_views.new_kidoz_banner.KidozBannerPresenter$3.onConditionsFail (KidozBannerPresenter.java:218)

at com.kidoz.sdk.api.ui_views.new_kidoz_banner.KidozBannerPresenter$1.onStyleError (KidozBannerPresenter.java:134)

at com.kidoz.sdk.api.ui_views.new_kidoz_banner.KidozBannerPresenter$6.onParseFinished (KidozBannerPresenter.java:422)

at com.kidoz.sdk.api.general.assets_handling.AssetUtil$ParserAsyncTask.onPostExecute (AssetUtil.java:383)

at com.kidoz.sdk.api.general.assets_handling.AssetUtil$ParserAsyncTask.onPostExecute (AssetUtil.java:306)

at android.os.AsyncTask.finish (AsyncTask.java:660)

at android.os.AsyncTask.-wrap1 (AsyncTask.java)

at android.os.AsyncTask$InternalHandler.handleMessage (AsyncTask.java:677)

at android.os.Handler.dispatchMessage (Handler.java:102)

at android.os.Looper.loop (Looper.java:154)

at android.app.ActivityThread.main (ActivityThread.java:6692)

at java.lang.reflect.Method.invoke (Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1468)

at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1358)

Banners behave a bit different than the other ad types and must be reloaded when changing scenes.

Unfortunately there is not much that we can do about loading time (as it’s the Kidoz SDK that does the loading), however I can confirm that loading the first banner does take much longer than later loads.

Thanks for the reply, understood, just want to confirm that reloading of the banner best practice would be in the closed phase?

Yep. That seems like a good place to put it  :slight_smile:

Thanks @ingemar_cl :slight_smile:

Hi Chris,

Certain campaigns may sometimes need more time to load, also banner loading can be affected on bandwidth and latency.

We’ve applied several server improvements - can you check if you see an improvement now?

Regards,

Ran

Hi @ran5, Appreciate the reply and the work you guys are doing.

The banner does seem to load a little faster which is sufficient.

I do have another question in which i have noticed. in one of my apps which is live on google play, im getting some crash reports, what seems to be from a failed state for the banner, i cant seem to replicate it as im receiving ads, and when turning off the internet, im guessing the failed state would have kicked in but still cant reproduce it.

below is one of the crash reports: anything you guys can do with that?

Thanks again for the replies!

Samsung Galaxy S7 Edge (hero2lte), 4096MB RAM, Android 7.0

Report 1 of 21

java.lang.NullPointerException :

at com.kidoz.sdk.api.ui_views.new_kidoz_banner.KidozBannerPresenter$3.onConditionsFail (KidozBannerPresenter.java:218)

at com.kidoz.sdk.api.ui_views.new_kidoz_banner.KidozBannerPresenter$1.onStyleError (KidozBannerPresenter.java:134)

at com.kidoz.sdk.api.ui_views.new_kidoz_banner.KidozBannerPresenter$6.onParseFinished (KidozBannerPresenter.java:422)

at com.kidoz.sdk.api.general.assets_handling.AssetUtil$ParserAsyncTask.onPostExecute (AssetUtil.java:383)

at com.kidoz.sdk.api.general.assets_handling.AssetUtil$ParserAsyncTask.onPostExecute (AssetUtil.java:306)

at android.os.AsyncTask.finish (AsyncTask.java:660)

at android.os.AsyncTask.-wrap1 (AsyncTask.java)

at android.os.AsyncTask$InternalHandler.handleMessage (AsyncTask.java:677)

at android.os.Handler.dispatchMessage (Handler.java:102)

at android.os.Looper.loop (Looper.java:154)

at android.app.ActivityThread.main (ActivityThread.java:6692)

at java.lang.reflect.Method.invoke (Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1468)

at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1358)