Connected to internet - IAP purchase request - callback attribute
i am trying to place HUD actor in scene when it's position depends whether device is connected to internted or not.(if connected Ad banner is on the top and HUD actor under banner, if not connected , HUD is on top - Portrait mode)
I am trying the solution with callback attribute of IAP purchase request mentioned in another thread.
I placed behavior in timer:
Every 30s (run to completion checked)
IAP - Request purchase data
star 1 end -1
in actor which i want to place:
if ConnectedToInternet is > 0
change self.positionY to X
change self.positionY to Y
In Adhoc testing , when i have Wifi OFF, Mobile data OFF , it's trigger rule and change Callback to 0(ok behaviour triggered) and 1 (recieved data) . How it is possible ? When i exit game wifi is still OFF, mobile data OFF, so how it can change callback attribute from -1 to 1 if device is not connected to internet?
When in game, there is empty space where banner should be placed (if wifi or mobile data off, when internet ON banner is shown OK) and HUD is moved down, because of ConnectedToInternet is 1.
Any idea please?
Thank you and sorrry for my english