Search Unity

Question Resuming the game closes all external views (ads, purchases etc)

Discussion in 'Android' started by AntonPetrov, Dec 2, 2022.

  1. AntonPetrov

    AntonPetrov

    Joined:
    Dec 27, 2013
    Posts:
    63
    We are integrating Huawei Store and the problem is the purchase view is closed if I background the game and then resume it launching again from the desktop. Thus the purchase is stuck in pending state.

    I noticed the same behaviour with advertisements too. If you resume the game when it was playing an ad - the ad is closed. This allows effectivly skip ads.

    The same is true for all other external activities.

    I think this somehow relates to the Unity activity configuration on Android.

    How to address this issue?