App Closes After Loading After Chartboost Integration (android)

Discussion in 'Advertising' started by phuceh, Nov 6, 2019.

  1. phuceh

    phuceh Boxer

    Joined:
    Nov 20, 2018
    Messages:
    66
    Likes Received:
    9
    Hello,

    I was repeatedly told that the BuildBox export includes Chartboost integration and that I didn't have to add any code manually in Android Studio to accommodate the Chartboost SDK.

    However, after setting this up (adding the correct IDs to BuildBox and choosing the add frequency on the various UIs in my game) I wasn't getting the green tick on the SDK for my game on the Chartboost dashboard. To remedy this I attempted to follow the instructions here - https://answers.chartboost.com/en-us/child_article/android, to see if any of the code additions would work.

    Adding the lines -

    Code:
    implementation "com.google.android.gms:play-services-base:$project.ext.googlePlayServicesVersion"
    implementation "com.google.android.gms:play-services-ads-identifier:$project.ext.googlePlayServicesVersion"
    to the build.graddle, as well as -

    Code:
    android:hardwareAccelerated="true"
    to the AndroidManifest.xml did get the green tick on the SDK in Chartboost after testing my game, but the issue now is that the game closes after loading. This has only started happening after the Chartboost integration - and only happens the second time the game is loaded. Presumably because the criteria to generate the ads haven't yet been met when the game is first opened.

    I'm probably missing something here. Has anyone else experienced this? Should I have not added the code from the Chartboost instructions in Android Studio?

    I have contacted Chartboost but they say that they don't offer support to integrations using BuildBox.

    Any help or insight here would be greatly appreciated.

    Thanks
     
  2. quality

    quality Boxer

    Joined:
    Nov 18, 2016
    Messages:
    18
    Likes Received:
    3
    Hi,

    Did you fix it?
     
  3. quality

    quality Boxer

    Joined:
    Nov 18, 2016
    Messages:
    18
    Likes Received:
    3
    Is there anyone to fix that problem?

    App works on first run with Chartboost then stops on next runs.

    App stops after showing Start UI. I cleared the data of the game from the settings, and I tested it again, and the app worked, Chartboost interstitial ad worked. But then the app stopped again on next runs.
     

Share This Page