Disconnected When Pressing Home Button

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

User avatar
pogsdbest
Posts: 17
Joined: 08 Feb 2019, 10:09

Disconnected When Pressing Home Button

Postby pogsdbest » 19 Mar 2019, 07:02

Hi i would like to ask if is it possible for SmartFox for Unity to not Disconnect when the app goes to background?

Every time i press Home Button My application triggers SFSEvent.CONNECTION_LOST im on android

do i need to reconnect it again like the normal sfs.connect( configData ) or there's a way to reconnect without initializing SmartFox again and again.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Disconnected When Pressing Home Button

Postby Lapo » 19 Mar 2019, 08:08

Hello,
what OS are you testing with?

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 16 guests