<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Shephertz Community - Recent questions in iOS</title>
<link>http://forum.shephertz.com/?qa=questions/products/appwarp/ios</link>
<description>Powered by Question2Answer</description>
<item>
<title>Can not setGeo to EU</title>
<link>http://forum.shephertz.com/?qa=11501/can-not-setgeo-to-eu</link>
<description>Hi,

According to the docs, I should be able to setGeo to EU or US. But, I can not. This is my code

[[WarpClient getInstance]setRecoveryAllowance:60];
    
    [[WarpClient getInstance] enableTrace:YES];
    [[WarpClient getInstance] setGeo:@&quot;EU&quot;];

 

And here are the logs:

AppWarp Version:2.1
AppWarpTrace: -[WarpClient connectWithUserName:]..connectionState=2
AppWarpTrace: -[WarpClient connectWithUserName:]..Doing look up
AppWarpTrace: -[WarpClient lookUpForTheHostServer]
AppWarpTrace: Geo=EU
AppWarpTrace: urlString=&lt;a href=&quot;https://control.appwarp.shephertz.com/lookup_dns?api=c03d1b9e0214b0d514f13ad2ee1ac800ffe0c26cd2bdc913a58c5b101e4b0a93&amp;amp;geo=EU&quot; rel=&quot;nofollow&quot;&gt;https://control.appwarp.shephertz.com/lookup_dns?api=c03d1b9e0214b0d514f13ad2ee1ac800ffe0c26cd2bdc913a58c5b101e4b0a93&amp;amp;geo=EU&lt;/a&gt;
AppWarpTrace: didReceiveResponse= { URL: &lt;a href=&quot;https://control.appwarp.shephertz.com/lookup_dns?api=c03d1b9e0214b0d514f13ad2ee1ac800ffe0c26cd2bdc913a58c5b101e4b0a93&amp;amp;geo=EU&quot; rel=&quot;nofollow&quot;&gt;https://control.appwarp.shephertz.com/lookup_dns?api=c03d1b9e0214b0d514f13ad2ee1ac800ffe0c26cd2bdc913a58c5b101e4b0a93&amp;amp;geo=EU&lt;/a&gt; } { Status Code: 404, Headers {
AppWarpTrace: -[WarpClient connection:didReceiveData:]= { request:  { URL: &lt;a href=&quot;https://control.appwarp.shephertz.com/lookup_dns?api=c03d1b9e0214b0d514f13ad2ee1ac800ffe0c26cd2bdc913a58c5b101e4b0a93&amp;amp;geo=EU&quot; rel=&quot;nofollow&quot;&gt;https://control.appwarp.shephertz.com/lookup_dns?api=c03d1b9e0214b0d514f13ad2ee1ac800ffe0c26cd2bdc913a58c5b101e4b0a93&amp;amp;geo=EU&lt;/a&gt; } }
AppWarpTrace: -[WarpClient raiseConnectionListenerWithResult:]..result=5
AppWarpTrace: -[WarpClient connectionDidFinishLoading:]={
AppWarpTrace: -[WarpClient connectWithUserName:]..connectionState=2
AppWarpTrace: -[WarpClient connectWithUserName:]..Doing look up
AppWarpTrace: -[WarpClient lookUpForTheHostServer]
AppWarpTrace: Geo=EU

 

This error goes for ever. Why is that?

Thank you</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11501/can-not-setgeo-to-eu</guid>
<pubDate>Thu, 03 Oct 2019 09:24:31 +0000</pubDate>
</item>
<item>
<title>iOS 13 issues</title>
<link>http://forum.shephertz.com/?qa=11498/ios-13-issues</link>
<description>Hello, is the iOS SDK compatible with the new iOS 13 version? I am getting complains from my users who can not play an online. I did run some tests and I found out that I can not connect on your server when I run iOS 13. Are you testing it? Thank you</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11498/ios-13-issues</guid>
<pubDate>Mon, 30 Sep 2019 09:33:48 +0000</pubDate>
</item>
<item>
<title>Max size of custom user data</title>
<link>http://forum.shephertz.com/?qa=11494/max-size-of-custom-user-data</link>
<description>&lt;p&gt;
	Hi,&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Is there a limit in the max size of custom user data? In order to avoid confusion, I am talking about the following method&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;ol class=&quot;dp-j&quot;&gt;
	&lt;li class=&quot;alt&quot;&gt;
		&lt;span&gt;&lt;span&gt;-&amp;nbsp;(&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt;void&lt;/span&gt;&lt;span&gt;&amp;nbsp;)&amp;nbsp;setCustomUserData&amp;nbsp;:&amp;nbsp;(&amp;nbsp;NSString&amp;nbsp;*&amp;nbsp;)&amp;nbsp;username&amp;nbsp;customData&amp;nbsp;:&amp;nbsp;(&amp;nbsp;NSString&amp;nbsp;*&amp;nbsp;)&amp;nbsp;customData&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p class=&quot;alt&quot;&gt;
	Thank you&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11494/max-size-of-custom-user-data</guid>
<pubDate>Thu, 05 Sep 2019 20:00:06 +0000</pubDate>
</item>
<item>
<title>Numerous network errors</title>
<link>http://forum.shephertz.com/?qa=10847/numerous-network-errors</link>
<description>Hi Support team, I enabled Trace, and I see numerous connection errors when the app starts. As a matter of fact, I am getting network errors when I try to download the SDK from your site. Is this something that you are working on? Due to these errors I can not play a game. Here is a sample of logs AppWarpTrace: +[WarpMessageDecoder decode:]...updateType=1 AppWarpTrace: -[WarpClient onNotify:]...WarpNotifyMessage AppWarpTrace: +[WarpMessageDecoder decode:]...updateType=1 AppWarpTrace: -[WarpClient onNotify:]...WarpNotifyMessage AppWarpTrace: +[WarpMessageDecoder decode:]...updateType=14 AppWarpTrace: -[WarpClient onNotify:]...WarpNotifyMessage AppWarpTrace: +[WarpMessageDecoder decode:]...updateType=14 AppWarpTrace: -[WarpClient onNotify:]...WarpNotifyMessage AppWarpTrace: NSStreamEventEndEncountered : 5 AppWarpTrace: Error 0: (null) AppWarpTrace: -[WarpClient onConnect:]..value=0...connectionState=0..sessionId=122185326 AppWarpTrace: Network issue..... AppWarpTrace: -[WarpClient raiseConnectionListenerWithResult:]..result=9 2017-12-11 22:46:08.940090+0200 iTavli[10003:211372] onConnectDone = 9 AppWarpTrace: -[WarpClient recoverConnection] AppWarpTrace: -[WarpClient recoverConnection]..Connecting AppWarpTrace: -[ClientChannel initNetworkCommunication]..warpServerHost=eu.appwarp.shephertz.com AppWarpTrace: Stream opened AppWarpTrace: Stream opened AppWarpTrace: -[WarpClient onConnect:]..value=1...connectionState=4..sessionId=122185326 AppWarpTrace: -[WarpClient sendAuthenticationRequestForUser:withSessionId:]..user=497A7F52-1409-46B8-8585-0EBF84297938...sessionId=122185326 AppWarpTrace: +[WarpMessageDecoder decode:]...updateType=15 AppWarpTrace: -[WarpClient onNotify:]...WarpNotifyMessage AppWarpTrace: -[WarpClient handleAuthResponse:]...result=0..type=1 AppWarpTrace: sessionIdString=1852196871,,,json={ autoRecover = 0; recoveryTime = 60; sessionid = 1852196871; }..connectionState=4 AppWarpTrace: sessionId=122185326,,,json={ autoRecover = 0; recoveryTime = 60; sessionid = 1852196871; }..connectionState=4 AppWarpTrace: -[WarpClient raiseConnectionListenerWithResult:]..result=8 2017-12-11 22:46:09.381945+0200 iTavli[10003:211372] onConnectDone = 8 2017-12-11 22:46:09.382227+0200 iTavli[10003:211372] connected AppWarpTrace: +[WarpMessageDecoder decode:]...updateType=15 AppWarpTrace: -[WarpClient onNotify:]...WarpNotifyMessage AppWarpTrace: +[WarpMessageDecoder decode:]...updateType=14 AppWarpTrace: -[WarpClient onNotify:]...WarpNotifyMessage AppWarpTrace: +[WarpMessageDecoder decode:]...updateType=15 AppWarpTrace: -[WarpClient onNotify:]...WarpNotifyMessage AppWarpTrace: +[WarpMessageDecoder decode:]...updateType=1 AppWarpTrace: -[WarpClient onNotify:]...WarpNotifyMessage AppWarpTrace: +[WarpMessageDecoder decode:]...updateType=9 AppWarpTrace: -[WarpClient onNotify:]...WarpNotifyMessage Please reply, because I need to have a working version before the holidays. Thank you, Vasilis</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10847/numerous-network-errors</guid>
<pubDate>Mon, 11 Dec 2017 20:56:21 +0000</pubDate>
</item>
<item>
<title>When is the onUserLeaveLobby event fired?</title>
<link>http://forum.shephertz.com/?qa=10839/when-is-the-onuserleavelobby-event-fired</link>
<description>Hi, as the title suggests, I would like to know when the onUserLeaveLobby event is fired. Based on the documentation, it should be fired when a user leaves the lobby room, because (eg) that user has joined another room. But, this is not the case. A user will join / subscribed to the other room, but that method is not fired. Now, the weird thing is that the user is also joined / subscribed into the Lobby room, and this is because that user does get informed about what is happening in the Lobby room. So, can a user leave from the Lobby room? I have the impression that (s)he can not. Thank you, Vasilis</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10839/when-is-the-onuserleavelobby-event-fired</guid>
<pubDate>Tue, 05 Dec 2017 09:18:45 +0000</pubDate>
</item>
<item>
<title>Sending a notification to a given user</title>
<link>http://forum.shephertz.com/?qa=10770/sending-a-notification-to-a-given-user</link>
<description>Using AppWarp,

How do I send a notification from one user to another, something like facebook game requests

For Example: player A wants to send player B a message/data, but player B is offline

1- How should player 1 send?

2- How should player 2 get a list of notifications sent?

 

Thanks,</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10770/sending-a-notification-to-a-given-user</guid>
<pubDate>Wed, 20 Sep 2017 15:22:55 +0000</pubDate>
</item>
<item>
<title>startGame() failing for Turn based game for multiple users</title>
<link>http://forum.shephertz.com/?qa=10763/startgame-failing-for-turn-based-game-for-multiple-users</link>
<description>&lt;p class=&quot;p1&quot;&gt;
	We are building an turn based card game application in which&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	1. Users are selected randomly which are present in room.&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	2. Selected user have to choose one card fro 52 cards.&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	3. If the selected card is Ace of Spade , winner is declared.&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	4. If the wrong card is selected, game continues with next turn for other users in same room.&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	Above steps in Detail:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	1. Users are selected randomly which are present in room.&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	i. Getting All rooms by &lt;span class=&quot;s1&quot;&gt;warpClient.getAllRooms()&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;iii. In Success response of onGetAllRoomsDone -&amp;gt; All rooms are returned. Then room is created or not is achieved by looping through all rooms &lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;with getLiveRoomInfo(roomId)&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;iv. In Success response of onGetLiveRoomInfoDone -&amp;gt; If room dose not exist we are creating it by createTurnRoomWithRoomName()&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;else f room exists then joining and subscribing the room by joinAndSubscribeRoom(roomId)&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;vi. In Success response of onJoinAndSubscribeRoomDone() -&amp;gt; we are calling startGame(false)&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;v. In Success response of onGameStarted() -&amp;gt; we are selecting the user and starting the game based on the &lt;b&gt;nextTurn&lt;/b&gt; in the response.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;Above flow will be same for all joined users in room. First joined users can start the game successfully. The issue is For next turn user is if next turn user tries to run startGame(false) its failing with error as &lt;b&gt;BAD_REQUEST = 4&lt;/b&gt; in method&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;onStartGameDone().&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p4&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;I have also tried above steps with Dev Console, but no two users can startGame() at the same time.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&lt;a href=&quot;https://apphq.shephertz.com/appWarp#/testManager&quot; rel=&quot;nofollow&quot;&gt;https://apphq.shephertz.com/appWarp#/testManager&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p4&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;So our query is:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	1. When to call the startGame? On joining the room or On next turn completed&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10763/startgame-failing-for-turn-based-game-for-multiple-users</guid>
<pubDate>Mon, 18 Sep 2017 13:26:48 +0000</pubDate>
</item>
<item>
<title>I want example multiplayer for swift 3.1</title>
<link>http://forum.shephertz.com/?qa=10688/i-want-example-multiplayer-for-swift-3-1</link>
<description>&lt;p style=&quot;text-align: left;&quot;&gt;
	hello&lt;/p&gt;
&lt;p style=&quot;text-align: left;&quot;&gt;
	please&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;text-align: left;&quot;&gt;
	&amp;nbsp; I want code example multiplayer for swift 3 ios&lt;/p&gt;
&lt;p style=&quot;text-align: left;&quot;&gt;
	I have game I want to make it multiplayer with players rundom or selected&lt;/p&gt;
&lt;p style=&quot;text-align: left;&quot;&gt;
	thanks&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10688/i-want-example-multiplayer-for-swift-3-1</guid>
<pubDate>Wed, 16 Aug 2017 09:50:20 +0000</pubDate>
</item>
<item>
<title>How to reset/restart turn based room?</title>
<link>http://forum.shephertz.com/?qa=10646/how-to-reset-restart-turn-based-room</link>
<description>&lt;p&gt;
	Hello,&lt;/p&gt;
&lt;p&gt;
	I am creating turn based room with 200+ users. Each room is having 52 cards. User has to pickup the card on turn basis where&lt;/p&gt;
&lt;p&gt;
	1. If selected card is Ace of Spade then&amp;nbsp;the user is selected as winner or&lt;/p&gt;
&lt;p&gt;
	2. If the card is other that Ace of spade the game continues.&lt;/p&gt;
&lt;p&gt;
	Once the winner is selected the room should reset and users can join the same room the and play again. User can also play in other rooms which are not closed yet.&lt;/p&gt;
&lt;p&gt;
	I am able to implement the game continue flow by having sendMove().&lt;/p&gt;
&lt;p&gt;
	&lt;span class=&quot;s1&quot;&gt;-(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;) sendMove:(NSString*) moveData nextTurn:(NSString*)nextTurn;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	So my question is how should i reset the room which again reused for next play? Do i need to delete the room and create an new room with same name or is there any way to get existing room? I also want to maintain who is the winner of each room.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Platform Used - iOS&lt;/p&gt;
&lt;p&gt;
	Laguage&amp;nbsp;- Swift&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10646/how-to-reset-restart-turn-based-room</guid>
<pubDate>Mon, 17 Jul 2017 17:48:28 +0000</pubDate>
</item>
<item>
<title>Yes, I have registered app and created static rooms and run the app using api and secret keys.</title>
<link>http://forum.shephertz.com/?qa=10542/have-registered-created-static-rooms-using-api-secret-keys</link>
<description></description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10542/have-registered-created-static-rooms-using-api-secret-keys</guid>
<pubDate>Tue, 13 Jun 2017 10:53:54 +0000</pubDate>
</item>
<item>
<title>Of course, i have download from github repo. and created static rooms in APPHQ management dashboard.</title>
<link>http://forum.shephertz.com/?qa=10538/course-download-github-created-static-management-dashboard</link>
<description></description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10538/course-download-github-created-static-management-dashboard</guid>
<pubDate>Tue, 13 Jun 2017 07:06:41 +0000</pubDate>
</item>
<item>
<title>I can't connect to APPWARP API using KEYS</title>
<link>http://forum.shephertz.com/?qa=10535/i-cant-connect-to-appwarp-api-using-keys</link>
<description>I had downloaded AppwarpChatDemo from github and ran it on ios emulator

but it always say &quot;CONNECTION_ERROR&quot;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10535/i-cant-connect-to-appwarp-api-using-keys</guid>
<pubDate>Mon, 12 Jun 2017 17:15:29 +0000</pubDate>
</item>
<item>
<title>Bad Request No host header defined</title>
<link>http://forum.shephertz.com/?qa=10528/bad-request-no-host-header-defined</link>
<description>&lt;p&gt;
	Hi,&lt;/p&gt;
&lt;p&gt;
	phone : iPhone 5s&lt;/p&gt;
&lt;p&gt;
	Development Kit : Corona SDK&lt;/p&gt;
&lt;p&gt;
	iOS : 10&lt;/p&gt;
&lt;p&gt;
	My location : Singapore&lt;/p&gt;
&lt;p&gt;
	Network Operator : Singtel ( Singapore Carrier )&lt;/p&gt;
&lt;p&gt;
	When I connect to the AppWarp client using WiFi, I am able to successfully connect to it, everything works smooth, but as soon as I try to use Mobile Data to play the game, I am getting following error :&lt;/p&gt;
&lt;div&gt;
	/AppWarp/JSON.lua:242: html passed to JSON:decode(): &amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;400 Bad Request&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;Bad Request&amp;lt;/h1&amp;gt;&amp;lt;p&amp;gt;No host header defined&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/div&gt;
&lt;div&gt;
	stack traceback:&lt;/div&gt;
&lt;div&gt;
	[C]: in function 'assert'&lt;/div&gt;
&lt;div&gt;
	/Users/abcd/Desktop/Corona App apks/TestApp/AppWarp/JSON.lua:242: in function 'onDecodeOfHTMLError'&lt;/div&gt;
&lt;div&gt;
	/Users/abcd/Desktop/Corona App apks/TestApp/AppWarp/JSON.lua:510: in function 'decode'&lt;/div&gt;
&lt;div&gt;
	/Users/abcd/Desktop/Corona App apks/TestApp/AppWarp/LookupChannel.lua:52: in function 'socket_recv'&lt;/div&gt;
&lt;div&gt;
	/Users/abcd/Desktop/Corona App apks/TestApp/AppWarp/WarpClient.lua:455: in function 'Loop'&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Can you please assist me to fix this issue. I am unable to find the reason behind this.&lt;/div&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10528/bad-request-no-host-header-defined</guid>
<pubDate>Wed, 07 Jun 2017 13:04:57 +0000</pubDate>
</item>
<item>
<title>Appwarp Connection Error On IOS Devices</title>
<link>http://forum.shephertz.com/?qa=10259/appwarp-connection-error-on-ios-devices</link>
<description>&lt;p&gt;
	Hey to all,&lt;/p&gt;
&lt;p&gt;
	I build my application to Xcode and open it on my Ipad. App42 connected properly but Appwarp gave me an error &quot;Connection Error: 5&quot;. Then I serached a bit and found that link&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;http://stackoverflow.com/questions/31216758/how-can-i-add-nsapptransportsecurity-to-my-info-plist-file&quot;&gt;http://stackoverflow.com/questions/31216758/how-can-i-add-nsapptransportsecurity-to-my-info-plist-file&lt;/a&gt;&amp;nbsp; &amp;nbsp;which says that Apple does not allow unsecured server connections. The I workaround the problem by editing info.plist&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
&amp;lt;key&amp;gt;NSAppTransportSecurity&amp;lt;/key&amp;gt;  
 &amp;lt;dict&amp;gt;  
      &amp;lt;key&amp;gt;NSAllowsArbitraryLoads&amp;lt;/key&amp;gt;&amp;lt;true/&amp;gt;  
 &amp;lt;/dict&amp;gt;&lt;/pre&gt;
&lt;p&gt;
	which now allow unsecured connections. But both these guys on the thread and Apple clearly state that &quot;&lt;span style=&quot;color: rgb(36, 39, 41); font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px;&quot;&gt;But this is not recommended at all. The server should have the SSL certificates and so that there is no privacy leaks.&lt;/span&gt;&quot;&lt;/p&gt;
&lt;p&gt;
	Then I found this thread&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;http://forum.shephertz.com/?qa=6785/can-i-use-https-ssl-with-app42-appwarp&amp;amp;show=6785#q6785&quot;&gt;http://forum.shephertz.com/?qa=6785/can-i-use-https-ssl-with-app42-appwarp&amp;amp;show=6785#q6785&lt;/a&gt;&amp;nbsp; which says you can enable ssl for Appwarp. But I couldnt find enableSSL(true) on my code.&lt;/p&gt;
&lt;p&gt;
	Appwarp doesnt have SSL while App42 has? If it has, how can I enable it? And if I enable SSL for Appwarp, are there any performance issues for my multiplayer game that I need to know.&lt;/p&gt;
&lt;p&gt;
	Thanks.&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10259/appwarp-connection-error-on-ios-devices</guid>
<pubDate>Wed, 01 Mar 2017 11:22:12 +0000</pubDate>
</item>
<item>
<title>event.result is equal to AUTH_ERROR ios</title>
<link>http://forum.shephertz.com/?qa=9518/event-result-is-equal-to-auth_error-ios</link>
<description>Previously code was working fine for multiplayer ios .we have also uploaded it to appstore.But now in  onConnectDone method    EVENT.RESULT  is equal to AUTH_ERROR (1).

  i have chechked api key and secret key ,they  are correctly implemented . i have also printed reasonCode .its 22.</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9518/event-result-is-equal-to-auth_error-ios</guid>
<pubDate>Thu, 25 Aug 2016 11:20:29 +0000</pubDate>
</item>
<item>
<title>Getting this error in Xcode &quot;Use of undeclared type ConnectionListener&quot;!?</title>
<link>http://forum.shephertz.com/?qa=9400/getting-this-error-xcode-undeclared-type-connectionlistener</link>
<description>&lt;p&gt;
	Im using swift and I get this error: Use of undeclared type ConnectionListener.&quot; How do I fix it? Thank you!&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; initializeWarp()&amp;nbsp;&lt;/span&gt;{&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;let&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; connectionListener: &lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;ConnectionListener&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; = ConnectionListener()&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; warpClient.&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;addConnectionRequestListener&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;(connectionListener)&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9400/getting-this-error-xcode-undeclared-type-connectionlistener</guid>
<pubDate>Tue, 09 Aug 2016 01:36:26 +0000</pubDate>
</item>
<item>
<title>Appwarp Unity Mobile platform problem working good in unity Editor but not on mobile</title>
<link>http://forum.shephertz.com/?qa=9361/appwarp-mobile-platform-problem-working-unity-editor-mobile</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am using appwarpunity.dll in my project in Unity4.6.5, My project is working fine in unity3d Editor(Sending and receiving messages on each side works great) but when i tried to deploy it on any mobile device, the sending and receiving of messages using OnChatReceive method works good but after sometime Sending and reciving of messages stops without any crash. Please do the needful as soon as possible. +&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Ankush Taneja</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9361/appwarp-mobile-platform-problem-working-unity-editor-mobile</guid>
<pubDate>Tue, 02 Aug 2016 09:11:39 +0000</pubDate>
</item>
<item>
<title>error during startgame()</title>
<link>http://forum.shephertz.com/?qa=9033/error-during-startgame</link>
<description>&lt;p&gt;
	Hii....&lt;br&gt;
	&lt;br&gt;
	i am using static room for game. when user join the room i called &amp;nbsp;&quot;startgame()&quot; method. but it gives error &quot; onStartGameDone:4 (bad_req)&quot;&lt;span style=&quot;font-family: Helvetica, Arial, Sens-serif; color: #333333;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;. is it possible startgame in static room.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9033/error-during-startgame</guid>
<pubDate>Fri, 10 Jun 2016 06:40:21 +0000</pubDate>
</item>
<item>
<title>is IPv6 deadline for iOs affects appwarp for Corona sdk ?</title>
<link>http://forum.shephertz.com/?qa=8928/is-ipv6-deadline-for-ios-affects-appwarp-for-corona-sdk</link>
<description>Hi,

Starting on June 1, 2016, Apple will start enforcing a new policy (TL/DR: All apps have to be IPv6 compliant after June 1, 2016.)

&lt;a href=&quot;https://coronalabs.com/blog/2016/05/27/apple-ios-and-the-ipv6-deadline/&quot; rel=&quot;nofollow&quot;&gt;https://coronalabs.com/blog/2016/05/27/apple-ios-and-the-ipv6-deadline/&lt;/a&gt;

Our Corona based iOs app is currently in Apple review and use AppWarp. So i took a look in the appwarp lib and saw that socket calls use IP address of a server (local prod_server = &quot;54.248.235.107&quot;) instead of a server name.

What can i do to  avoid rejection from Apple ? is there an up-tu-date appwarp lib for Corona sdk ?

Thanks.</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8928/is-ipv6-deadline-for-ios-affects-appwarp-for-corona-sdk</guid>
<pubDate>Sat, 28 May 2016 09:48:27 +0000</pubDate>
</item>
<item>
<title>More explanation on AppWarp room parameters</title>
<link>http://forum.shephertz.com/?qa=8581/more-explanation-on-appwarp-room-parameters</link>
<description>I've been having trouble keeping my Appwarp room up - separate thread on that specific&lt;br /&gt;
issue. &amp;nbsp;I wanted to make sure I am clear on how some of the configuration options work/interplay.&lt;br /&gt;
&lt;br /&gt;
Can you folks clarify some of the AppWarp room configuration parameters ? &amp;nbsp;It not clear (to me)&lt;br /&gt;
what triggers certain conditions and what some of the defaults mean.&lt;br /&gt;
&lt;br /&gt;
1. How does the Room configuration option &amp;quot;Auto Recover Time&amp;quot; set in dashboard interact&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;with the setRecoveryAllowance set from the application ? &amp;nbsp;&amp;nbsp;If this is &amp;quot;disabled&amp;quot; in the dashboard&lt;br /&gt;
&amp;nbsp;&amp;nbsp;does it matter what the app tries to set it to ?&lt;br /&gt;
&lt;br /&gt;
2. The recommendation for setting the resiliency timeout is 60-120 sec ? &amp;nbsp;Is this a guideline or&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;a rule ? &amp;nbsp;Can I set it higher - like to 360sec ?&lt;br /&gt;
&lt;br /&gt;
3 How does Kick Out feature work ? &amp;nbsp;If I disable KickOut from the dashboard &amp;nbsp;- does this mean&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;the Kickout time is infinite (users can't be kicked out if idle), or zero - users are kicked out&lt;br /&gt;
&amp;nbsp;&amp;nbsp;as soon as idle ?&lt;br /&gt;
&lt;br /&gt;
4. What is the definition of &amp;quot;idle&amp;quot; ? &amp;nbsp;Does any interaction from the user/app - like just a chat&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;qualify to reset the idle counter&lt;br /&gt;
&lt;br /&gt;
5. &amp;nbsp;Regarding Ghost Room Deletion time .. &amp;nbsp;&amp;nbsp;What is the definition of inactive room ? &amp;nbsp;Is&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this strictly a room that has had no users for some set time limit - or, are there other&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;criteria ?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
ejm</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8581/more-explanation-on-appwarp-room-parameters</guid>
<pubDate>Sat, 16 Apr 2016 21:41:31 +0000</pubDate>
</item>
<item>
<title>Intermittent resiliency issues with AppWarp on Swift iOS app</title>
<link>http://forum.shephertz.com/?qa=8553/intermittent-resiliency-issues-with-appwarp-swift-ios-app</link>
<description>&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;pre style=&quot;color: rgb(0, 0, 0); word-wrap: break-word; white-space: pre-wrap;&quot;&gt;
Hi folks,

Iâ€™ve been trying to use the AppWarp Swift client as part of an iOS app Iâ€™m working on.  Iâ€™ve been
trying to debug an intermittent problem with resiliency.  The first debug trace is from the app running
on an iPhone and spitting on debug info around AppWarp connect events.  This shows two good
recoveries and one that could not recover.   

The final trace is from an Xcode simulator running at the same time in the same room.  It dropped shortly 
after with the same symptoms - but this one has the AppWarp detailed trace info enabled. 

I guess the main question is what would cause an Auth_Error to come back after trying to
reconnect a Connection_Error_Recoverable event ?   And second - what would best way
to reconnect that player that got dropped.

Thanks for any guidance and wisdom !

Ed&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&lt;a rel=&quot;nofollow&quot; href=&quot;attach-files/1134452747appWarpTrace.txt&quot; target=&quot;_blank&quot; title=&quot;Download File&quot;&gt;&lt;img src=&quot;attach-files/attach-icon.png&quot; alt=&quot;image&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8553/intermittent-resiliency-issues-with-appwarp-swift-ios-app</guid>
<pubDate>Sun, 10 Apr 2016 01:15:09 +0000</pubDate>
</item>
<item>
<title>Public sendChat result error code 3 (resource moved) after reconnect</title>
<link>http://forum.shephertz.com/?qa=8057/public-sendchat-result-error-resource-moved-after-reconnect</link>
<description>I'm developing a unity app for iOS using app warp. Ive noticed that if you soft close the app (put it in the background), wait for longer than the recovery allowance, and then reopen the app, then I get the following error if I try to send a chat immediately on resuming the app:&lt;br /&gt;
&lt;br /&gt;
Socekt Excption: Invalid arguments from sendPrivateChat.&lt;br /&gt;
&lt;br /&gt;
Then shortly after I get error code 9 from onConnectDone. I assume this is because appwarp closes the connection if you're in background for longer than the recovery period. To remedy this, I do a RecoverConnection and then send the private chat again.&lt;br /&gt;
&lt;br /&gt;
This works, and I also receive the private chat reply from the other player (one weird thing is that I get two responses to onConnectDone after calling RecoverConnection, one with error code 0, and one with error code 1).&lt;br /&gt;
&lt;br /&gt;
However, if I then try to send a public chat after doing what I described above, I get error code 3 (resource moved) in response to the attempt to get the public chat. Is there a different process I should follow to recover the app after having it backgrounded for a long time in ios? Do i need to do something different after recover connection to be able to send public chats?</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8057/public-sendchat-result-error-resource-moved-after-reconnect</guid>
<pubDate>Mon, 25 Jan 2016 01:37:55 +0000</pubDate>
</item>
<item>
<title>iOS can not connect to the server</title>
<link>http://forum.shephertz.com/?qa=8042/ios-can-not-connect-to-the-server</link>
<description>Dear all,

While I am testing my  app, I see that it has a hard time to connect to your server. Most of the times, it will connect and then it will disconnect, almost immediately. Or, it might connect to your server but it will not join and subscribe to the Lobby room. What is affecting this? Can I control it ?

 

Thank you,

Vasilis</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8042/ios-can-not-connect-to-the-server</guid>
<pubDate>Thu, 21 Jan 2016 09:29:37 +0000</pubDate>
</item>
</channel>
</rss>