I want to know how long a player takes to share the game with their friends, so I save the time first, then open the deviceShare plugin, and then calculate the time taken when app resume is triggered. The problem on iOS, is that this occurs very quickly, even while the deviceShare options are open and available to the gamer, still. In other words, the gamer has not finished sharing. But my app comes back after a brief moment and remains running in background. Is there a way that I can:
- cause my app to remain suspended until the share is finished (as it works on Android)? or
- receive some callback from the deviceShare to know when it has been closed?
FYI, this is the same issue that occurs when I use Ad plugins. The game resumes before the ad is finished (on iOS). Not all Ad SDKs provide a finished callback, but this is resolved by those that do.