<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Shephertz Community - Recent questions in App42PaaS &amp; BPaaS</title>
<link>http://forum.shephertz.com/?qa=questions/products/app42paas</link>
<description>Powered by Question2Answer</description>
<item>
<title>Collections problem is real:  appErrorCode:140, message:UnAuthorized Access, details:Client is not authorized</title>
<link>http://forum.shephertz.com/?qa=11101/collections-apperrorcode-unauthorized-details-authorized</link>
<description>&lt;p&gt;
	I am also having this problem. It started after I deleted a collection. I can no longer .insertJSONDocument to any *new* collection, only an existing one. I have tried various simple names, such as &quot;test&quot;, and nothing works. Also, just like the other poster, I get, &quot;Something went wrong&quot; when I try to create a new collection on the nosql storage AppWarpHQ page.&amp;nbsp; Using your old UI, I tried doing an &quot;Import Data&quot; with &quot;Add New&quot; collection.&amp;nbsp; I used your sample JSON from the &quot;Learn More&quot; link to make sure I complied with your format.&amp;nbsp; Just like for the other poster, it gives an error: &quot;Invalid Request&quot;.&lt;br&gt;
	&lt;br&gt;
	Note that I do not get an error when trying to .findDocumentsByQuery on a non-existant collection, only when I try to .insertJSONDocument on a non-existant collection.&lt;br&gt;
	&lt;br&gt;
	'{&quot;app42Fault&quot;:{&quot;httpErrorCode&quot;:401,&quot;appErrorCode&quot;:1401,&quot;message&quot;:&quot;UnAuthorized Access&quot;,&quot;details&quot;:&quot;Client is not authorized&quot;}}'&lt;br&gt;
	&lt;br&gt;
	&amp;nbsp;&lt;br&gt;
	Also note that there was no problem **before** I deleted the collection from the nosql storage AppWarpHQ page.&amp;nbsp; Importantly, I am still able to .insertJSONDocument on my existing collections, but unable to create new ones.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Here's the code I'm using.&amp;nbsp; It ***WORKS WITH AN EXISTING COLLETION*** but fails when a non-existant collection is named:&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:jscript;&quot;&gt;
			nosqlSvc.insertJSONDocument(MASTER_DB_NAME, &quot;test&quot;, {test:1},
				new UserServiceCallback(
					function(obj:Storage) : void
					{
						log(&quot;INSERT OK&quot;);
					},
					function(ex:App42Exception) : void
					{
						log(&quot;INSERT FAILED&quot;, ex.getMessage(), &quot;APP:&quot;, ex.getAppErrorCode(), &quot;HTTP:&quot;, ex.getHttpErrorCode());
					}
				)
			);
&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	I see a lot of questions in this last week about this same problem.&amp;nbsp; Please advise, this is obviously not a customer implementation issue.&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11101/collections-apperrorcode-unauthorized-details-authorized</guid>
<pubDate>Thu, 10 May 2018 19:27:22 +0000</pubDate>
</item>
<item>
<title>UnAuthorized Access - Client is not authorized while creating new STORAGE COLLECTION</title>
<link>http://forum.shephertz.com/?qa=11094/unauthorized-access-authorized-creating-storage-collection</link>
<description>Client is not authorized error while trying to create a STORAGE COLLECTION via android code.

Even thru the GUI i am unable to create a STORAGE collection + JSON !! On GUI , it says &quot;SOMETHING WENT WRONG&quot;

I tried old GUI and new GUI</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11094/unauthorized-access-authorized-creating-storage-collection</guid>
<pubDate>Tue, 08 May 2018 15:35:19 +0000</pubDate>
</item>
<item>
<title>Storage Service(findDocumentByQuery) Stopped working with error code 1401</title>
<link>http://forum.shephertz.com/?qa=11088/storage-service-finddocumentbyquery-stopped-working-error</link>
<description>&lt;div&gt;
	Hello App42,&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Since recently, I started getting the following Error while using Storage Service (Android library).&lt;/div&gt;
&lt;div&gt;
	I have already checked that I am using the correct appId and secret keys. Also, I checked the device's timezone is correct and even tried to turn off Replay Attack Protection.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Storage Service for 'findDocumentByQuery' causing appError:1401, Unauthorized Access; Client is not authorized Error.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Your help is very much appreciated.&lt;/div&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11088/storage-service-finddocumentbyquery-stopped-working-error</guid>
<pubDate>Sat, 05 May 2018 00:07:53 +0000</pubDate>
</item>
<item>
<title>[Unity] Everything was working, but now I get a &quot; Header value contains invalid characters&quot; error</title>
<link>http://forum.shephertz.com/?qa=11054/everything-working-header-value-contains-invalid-characters</link>
<description>&lt;p&gt;
	So, everything was working fine, and now Unity says &quot;InvalidOperationException: Header value contains invalid characters&quot;.&lt;/p&gt;
&lt;p&gt;
	My code is amazingly simple,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;color:#009695;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;Start&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;()&lt;/span&gt;&lt;br&gt;
	&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
	&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#3364a4;&quot;&gt;App42API&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;Initialize&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#f57d00;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#f57d00;&quot;&gt;*****&lt;/span&gt;&lt;span style=&quot;color:#f57d00;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #f57d00;&quot;&gt;&quot;*******&quot;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;;&lt;/span&gt;&lt;br&gt;
	&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#3364a4;&quot;&gt;EmailService&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;emailService&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#3364a4;&quot;&gt;App42API&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;BuildEmailService&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;()&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br&gt;
	&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;emailService&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;GetEmailConfigurations&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#009695;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#3364a4;&quot;&gt;EmailCallBack&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;())&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br&gt;
	&lt;span style=&quot;color:#333333;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#333333;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	What could this be????&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11054/everything-working-header-value-contains-invalid-characters</guid>
<pubDate>Thu, 05 Apr 2018 13:09:35 +0000</pubDate>
</item>
<item>
<title>I cannot remove my custom code</title>
<link>http://forum.shephertz.com/?qa=10714/i-cannot-remove-my-custom-code</link>
<description>&lt;p&gt;
	I uploaded my custom code as &quot;build/MyCustomCode&quot; and cannot remove it using the API or the interface anymore.&lt;/p&gt;
&lt;p&gt;
	Here's what exactly happened: When uploading the Jar via ANT I was asked to enter a filename which I input as build/MyCustomCode, this was accepted and uploaded as said file but now I cannot remove it anymore.&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif; background-color: rgb(250, 250, 250);&quot;&gt;My Application name is &quot;EndCycleOnline&quot;, I added you as a collaborator.&lt;/span&gt;&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10714/i-cannot-remove-my-custom-code</guid>
<pubDate>Tue, 29 Aug 2017 07:46:46 +0000</pubDate>
</item>
<item>
<title>Fail to Create GPaaS</title>
<link>http://forum.shephertz.com/?qa=10277/fail-to-create-gpaas</link>
<description>&lt;p&gt;
	I am new to this platform and tried to &quot;Create GPaas Setup&quot;.&lt;/p&gt;
&lt;p&gt;
	I inputted &quot;Setup Name&quot;, &quot;Iaas Privicer&quot;, &quot;Instance Configuration&quot;, but faild to create it.&lt;/p&gt;
&lt;p&gt;
	&lt;img alt=&quot;&quot; src=&quot;http://forum.shephertz.com/?qa=blob&amp;amp;qa_blobid=5935137833416851298&quot; style=&quot;width: 575px; height: 399px;&quot;&gt;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Is there any problem?&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10277/fail-to-create-gpaas</guid>
<pubDate>Tue, 07 Mar 2017 02:34:56 +0000</pubDate>
</item>
<item>
<title>set user profile image in game room</title>
<link>http://forum.shephertz.com/?qa=10231/set-user-profile-image-in-game-room</link>
<description>&lt;p&gt;
	&lt;span style=&quot;font-family: arial, sans-serif; font-size: small;&quot;&gt;Is there any way to pass user's image joined in the game room so that both the users can see their opponent's image in game screen.&lt;/span&gt;&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10231/set-user-profile-image-in-game-room</guid>
<pubDate>Wed, 22 Feb 2017 09:04:26 +0000</pubDate>
</item>
<item>
<title>How to pass custom data to GPaas server from ios?</title>
<link>http://forum.shephertz.com/?qa=10090/how-to-pass-custom-data-to-gpaas-server-from-ios</link>
<description>&lt;p&gt;
	&lt;span style=&quot;color:#000000;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;Hi,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color:#000000;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;I have deployed zip file on GPaas which contains logic to create virtual userand I have made changes in ChatServer app to create virtual user. &amp;nbsp;I am passing static room and zone while adding virtual user and it added in room successfully. But now I want to add virtual user in room and zone dynamically. Means from ios I want to pass room and zone and virtual user should be added to that particular room and zone only. Now I'm stuck at this point. How Can I pass custom data to GPaas server to add vitual user in given room and zone?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color:#000000;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;Code to create virtual user by making changes in ChatServer demo provided by appwarp s2.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color:#000000;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;1. ChatZoneAdaptor.java:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
public void onAdminRoomAdded(IRoom room)
    {
        //System.out.println(&quot;Printing zone from adaptor &amp;gt; &quot; + ChatServerAdaptor.zone);
        
        User user = (User) new VirtualUser(&quot;Bot_1&quot;, (Room) room, (Zone) ChatServerAdaptor.zone);
        room.addUser(user, true);
        System.out.println(&quot;added virtual user named : &quot; + user.getName() + &quot;  ... In room : &quot; + room.getName());
        
        System.out.println(&quot;Room Created &quot; + room.getName() + &quot; with ID &quot; + room.getId() );
        room.setAdaptor(new ChatRoomAdaptor());
        
        room.BroadcastChat(user.getName(), &quot;Hey! I am Moving&quot;);
    }&lt;/pre&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;

&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 14px;&quot;&gt;2. &lt;/span&gt;ChatServerAdaptor.java:&lt;/span&gt;

public class ChatServerAdaptor extends BaseServerAdaptor{ 
public static IZone zone; 
 @Override public void onZoneCreated(IZone zone) { 
 this.zone = zone; 
 System.out.println(&quot;Zone Created By PS == &quot; + this.zone.getName() + &quot; with key &quot; + zone.getAppKey()); 
 zone.setAdaptor(new ChatZoneAdaptor()); }
​}&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10090/how-to-pass-custom-data-to-gpaas-server-from-ios</guid>
<pubDate>Thu, 19 Jan 2017 06:42:23 +0000</pubDate>
</item>
<item>
<title>How can I add a customized process in user create process?</title>
<link>http://forum.shephertz.com/?qa=9566/how-can-i-add-a-customized-process-in-user-create-process</link>
<description>I want to implement the invite registration mechanism. For example, the user that has our invite code can registor our webside.

How can I implement it, can i add a customized process in user create process?

If that answer is &quot;YES&quot;, how can i operate our user database from my backend custom code?

 

Thanks</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9566/how-can-i-add-a-customized-process-in-user-create-process</guid>
<pubDate>Wed, 07 Sep 2016 14:30:07 +0000</pubDate>
</item>
<item>
<title>How does the AB testing result work ?</title>
<link>http://forum.shephertz.com/?qa=8613/how-does-the-ab-testing-result-work</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I've set up a test and would like to know a bit more about the results displayed. This appears as a %. Is it actually a raw % of ALL occurences ? Or is it leveled by the variant ponderations ?&lt;br /&gt;
&lt;br /&gt;
Example :&lt;br /&gt;
&lt;br /&gt;
Variant 1 (50%) - 35% result&lt;br /&gt;
&lt;br /&gt;
Variant 2 (40%) - 40% result&lt;br /&gt;
&lt;br /&gt;
Variant 3 (10%) - 25% result&lt;br /&gt;
&lt;br /&gt;
Does this mean than for 100 goalAchieved triggered, 35 were from V1, 40 from V2 and 25 from V3 ? Or do you already include the 50/40/10% ratio in those figures ?&lt;br /&gt;
&lt;br /&gt;
Thank you,</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8613/how-does-the-ab-testing-result-work</guid>
<pubDate>Thu, 21 Apr 2016 16:25:51 +0000</pubDate>
</item>
<item>
<title>Facebook Leaderboard and Login Problem iOS Cocos2d</title>
<link>http://forum.shephertz.com/?qa=8596/facebook-leaderboard-and-login-problem-ios-cocos2d</link>
<description>&lt;p&gt;
	Hello there.&lt;/p&gt;
&lt;p&gt;
	I followed this tutorial&lt;/p&gt;
&lt;p&gt;
	&lt;a href=&quot;http://api.shephertz.com/tutorial/iOS-leaderboard/?index=leaderboard-sample&quot; rel=&quot;nofollow&quot;&gt;http://api.shephertz.com/tutorial/iOS-leaderboard/?index=leaderboard-sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
	I first had some troubles with the button, there's no such button named&amp;nbsp;&lt;span style=&quot;color: rgb(228, 68, 72); font-family: Menlo; font-size: 11px;&quot;&gt;Login_facebook.png&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	in the&amp;nbsp;FacebookSDKResources.bundle , so used this one&amp;nbsp;&lt;span style=&quot;color: rgb(228, 68, 72); font-family: Menlo; font-size: 11px;&quot;&gt;FacebookSDKResources.bundle/FBLoginView/images/login-button-small.png&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	anyway i registered as a FB developer and added my FacebookAppID to my info.plist file, then copied the&amp;nbsp;App42Helper and Leaderboard folders to my project. Setted the app and secret key , and the game level in LDConstants and added&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:diff;&quot;&gt;

    [[App42Helper sharedApp42Helper] initializeApp42];&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	in my&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Lastly i just created a cocos2d button / menu that when is pushed this happens&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
    [[PWFacebookHelper sharedInstance] setDelegate:self];
    [[PWFacebookHelper sharedInstance] openSessionWithAllowLoginUI:YES];
    NSString *anID = [[PWFacebookHelper sharedInstance] userId];
    NSLog(@&quot;facebook id %@&quot;,anID);&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	When i push the button in game, i get redirect to facebook and asked for a login, then for permissions.&lt;/p&gt;
&lt;p&gt;
	I do all that, but the NSLog always displays facebook it NULL and also the protocol functions&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;

-(void)fbDidNotLogin:(BOOL)cancelled;
-(void)userDidLoggedOut;
-(void)userDidLoggedIn;
&lt;/pre&gt;
&lt;p&gt;
	are never called!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Also i get these logs when &amp;nbsp;i push the button:&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
16-04-19 09:56:26.736 Save The Penguin[8019:1312941] openSessionWithAllowLoginUI response
2016-04-19 09:56:26.736 Save The Penguin[8019:1312941] userInfoDict=(null)
2016-04-19 09:56:26.736 Save The Penguin[8019:1312941] self.userName=(null)
2016-04-19 09:56:26.747 Save The Penguin[8019:1312941] error=(null)
2016-04-19 09:56:29.410 Save The Penguin[8019:1312941] facebook id (null)
2016-04-19 09:56:30.478 Save The Penguin[8019:1312941] LaunchServices: ERROR: There is no registered handler for URL scheme fbauth&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	What am i missing?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Thanks a lot,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Gabriel&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Ps. all the testing are made on the simulator, ios 9.2&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8596/facebook-leaderboard-and-login-problem-ios-cocos2d</guid>
<pubDate>Tue, 19 Apr 2016 08:22:28 +0000</pubDate>
</item>
<item>
<title>Hello team App42, how to create database on App42 Cloud API and can i create tables by using JSON?</title>
<link>http://forum.shephertz.com/?qa=8588/hello-app42-create-database-app42-cloud-create-tables-using</link>
<description></description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8588/hello-app42-create-database-app42-cloud-create-tables-using</guid>
<pubDate>Mon, 18 Apr 2016 09:10:49 +0000</pubDate>
</item>
<item>
<title>What is the maximum size limit of json data that is stored in the storage services?</title>
<link>http://forum.shephertz.com/?qa=7704/what-maximum-size-limit-json-data-that-stored-storage-services</link>
<description>Hi could you tell me the maximum size limit of the json string or json object that could be passed to shephertz storage api.</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7704/what-maximum-size-limit-json-data-that-stored-storage-services</guid>
<pubDate>Fri, 20 Nov 2015 05:54:38 +0000</pubDate>
</item>
<item>
<title>Friend Matchmaking through buddy service</title>
<link>http://forum.shephertz.com/?qa=7495/friend-matchmaking-through-buddy-service</link>
<description>Hi we are making an online multiplayer game using appwarp and app42 with unity.&lt;br /&gt;
&lt;br /&gt;
We want to send game request to our facebook friends and by game requests we mean that we want to challenge them to an online match.&lt;br /&gt;
&lt;br /&gt;
Note that the players could be both online or offline.&lt;br /&gt;
&lt;br /&gt;
So what would be the best approach to achieve that?</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7495/friend-matchmaking-through-buddy-service</guid>
<pubDate>Sat, 17 Oct 2015 13:05:16 +0000</pubDate>
</item>
<item>
<title>Sending Custom Notifications in Unity iOS</title>
<link>http://forum.shephertz.com/?qa=7494/sending-custom-notifications-in-unity-ios</link>
<description>&lt;p&gt;
	How can I send a custom iOS push notification through script in unity. I am trying to send additional data like room Ids and links. I tried using a dictionary like u have done with hashmaps for the android example here&lt;/p&gt;
&lt;ol class=&quot;dp-j&quot; style=&quot;padding-right: 0px; padding-left: 0px; outline: 0px; border: none; color: rgb(92, 92, 92); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 13px; margin: 0px 0px 1px 45px !important; background-color: rgb(224, 238, 248);&quot;&gt;
	&lt;li class=&quot;alt&quot; style=&quot;outline: 0px; line-height: 40px; color: inherit; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; float: none; width: 677.047px; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(108, 226, 108); margin: 0px !important; padding: 0px 3px 0px 10px !important; list-style: decimal-leading-zero outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(31, 31, 31); background-color: inherit;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;String&amp;nbsp;userName&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: blue; background-color: inherit;&quot;&gt;&quot;Nick&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li style=&quot;outline: 0px; line-height: 20px; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; float: none; width: 400px; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(108, 226, 108); margin: 0px !important; padding: 0px 3px 0px 10px !important; list-style: decimal-leading-zero outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(31, 31, 31); background-color: inherit;&quot;&gt;HashMap&amp;lt;&amp;nbsp;String,String&amp;gt;&amp;nbsp;message&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(0, 102, 153); font-weight: bold; background-color: inherit;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;&amp;nbsp;HashMap&amp;lt;&amp;nbsp;String,String&amp;gt;();&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li class=&quot;alt&quot; style=&quot;outline: 0px; line-height: 40px; color: inherit; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; float: none; width: 677.047px; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(108, 226, 108); margin: 0px !important; padding: 0px 3px 0px 10px !important; list-style: decimal-leading-zero outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(31, 31, 31); background-color: inherit;&quot;&gt;message.put(&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: blue; background-color: inherit;&quot;&gt;&quot;alert&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: blue; background-color: inherit;&quot;&gt;&quot;Hello!&amp;nbsp;This&amp;nbsp;is&amp;nbsp;my&amp;nbsp;first&amp;nbsp;notification.&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li style=&quot;outline: 0px; line-height: 20px; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; float: none; width: 400px; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(108, 226, 108); margin: 0px !important; padding: 0px 3px 0px 10px !important; list-style: decimal-leading-zero outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(31, 31, 31); background-color: inherit;&quot;&gt;message.put(&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: blue; background-color: inherit;&quot;&gt;&quot;badge&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: blue; background-color: inherit;&quot;&gt;&quot;1&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;);&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(0, 130, 0); background-color: inherit;&quot;&gt;//Applicable&amp;nbsp;for&amp;nbsp;iOS&amp;nbsp;only&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li class=&quot;alt&quot; style=&quot;outline: 0px; line-height: 40px; color: inherit; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; float: none; width: 677.047px; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(108, 226, 108); margin: 0px !important; padding: 0px 3px 0px 10px !important; list-style: decimal-leading-zero outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(31, 31, 31); background-color: inherit;&quot;&gt;message.put(&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: blue; background-color: inherit;&quot;&gt;&quot;sound&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: blue; background-color: inherit;&quot;&gt;&quot;default&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;);&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(0, 130, 0); background-color: inherit;&quot;&gt;//Applicable&amp;nbsp;for&amp;nbsp;iOS&amp;nbsp;only&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li style=&quot;outline: 0px; line-height: 20px; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; float: none; width: 400px; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(108, 226, 108); margin: 0px !important; padding: 0px 3px 0px 10px !important; list-style: decimal-leading-zero outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(31, 31, 31); background-color: inherit;&quot;&gt;message.put(&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: blue; background-color: inherit;&quot;&gt;&quot;sendingFrom&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: blue; background-color: inherit;&quot;&gt;&quot;Android&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;);&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(0, 130, 0); background-color: inherit;&quot;&gt;//This&amp;nbsp;is&amp;nbsp;Custom&amp;nbsp;application&amp;nbsp;key&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p style=&quot;outline: 0px; line-height: 20px; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; float: none; width: 400px; border-style: none none none solid; border-left-width: 3px; border-left-color: rgb(108, 226, 108); margin: 0px !important; padding: 0px 3px 0px 10px !important; list-style: decimal-leading-zero outside !important;&quot;&gt;
	&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; color: rgb(31, 31, 31); background-color: inherit;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; outline: 0px; border: none; background-color: inherit;&quot;&gt;but i get an error.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7494/sending-custom-notifications-in-unity-ios</guid>
<pubDate>Sat, 17 Oct 2015 12:28:30 +0000</pubDate>
</item>
<item>
<title>Problem integrating unity IOS PushNotifications</title>
<link>http://forum.shephertz.com/?qa=7479/problem-integrating-unity-ios-pushnotifications</link>
<description>&lt;p&gt;
	&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size:12px;&quot;&gt;Hi I have been trying to integrate shephertz push notification services into my game and have been unsuccessful in doing so. I read through the following link &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size:12px;&quot;&gt;&lt;a href=&quot;http://blogs.shephertz.com/2013/08/08/steps-to-integrate-push-notification-with-unity3d-on-ios/&quot; rel=&quot;nofollow&quot;&gt;http://blogs.shephertz.com/2013/08/08/steps-to-integrate-push-notification-with-unity3d-on-ios/&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size:12px;&quot;&gt;and followed the steps.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size:12px;&quot;&gt;First of all i would like to point out that your sample on git hub for Unity Ios push notification does not work on Unity 5.2.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size:12px;&quot;&gt;So i dragged the files&amp;nbsp;&lt;span style=&quot;line-height: 24px; text-align: justify;&quot;&gt;“App42PushHandlerInternal.h/.m” classes to “Assets/Plugins/iOS” folder in my project and the scripts PushScript and PushResponse to my assets folder.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	Added the PushScript to an empty game object.&lt;/p&gt;
&lt;p&gt;
	Set the correct API and Secret Key.&lt;/p&gt;
&lt;p&gt;
	Set the user name as the facebook userId.&lt;/p&gt;
&lt;p&gt;
	When I built and ran the project in XCode I got a prompt that the app wants to send notifications. I clicked ok.&lt;/p&gt;
&lt;p&gt;
	I logged in through facebook but after that this is all I could see in the log related to the push notification.&lt;/p&gt;
&lt;div&gt;
	&lt;strong&gt;2015-10-16 16:36:39.645 wordrow[4355:3225422] deviceToken=b4cbaf908ce0b3492154120d0cb9cc918c4a34033c06e04797f40752335e4790&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;2015-10-16 16:36:39.646 wordrow[4355:3225422] setting=DidRegisterUserNotificationSettings successfully&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;SendMessage: object &amp;nbsp;not found!&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;SendMessage: object &amp;nbsp;not found!&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;Start called -----PushManager&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;Facebook.Unity.CallbackManager:CallCallback(Object, IResult)&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;Facebook.Unity.CallbackManager:OnFacebookResponse(IInternalResult)&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	and nothing else. Don't know how or what to do.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	So it would be great if you could provide me with some better resources that will help with the push notifications.&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size:12px;&quot;&gt;&lt;span style=&quot;line-height: 24px; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&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>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7479/problem-integrating-unity-ios-pushnotifications</guid>
<pubDate>Fri, 16 Oct 2015 11:32:05 +0000</pubDate>
</item>
<item>
<title>Get Top N Rankers By Date is not working for me</title>
<link>http://forum.shephertz.com/?qa=7299/get-top-n-rankers-by-date-is-not-working-for-me</link>
<description>&lt;p&gt;
	Every time I try to get top N rankers by date calling&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;scoreBoardService.getTopNRankers(gameName, startDate, endDate, maxNumberOfRankings, new App42CallBack(){...})&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
	I get Exception :com.shephertz.app42.paas.sdk.android.App42Exception: Can not parse String : 504 GATEWAY_TIMEOUT&lt;/p&gt;
&lt;p&gt;
	Other calls like scoreBoardService.getTopNRankings() are working. Even:&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;scoreBoardService.getTopRankings(gameName, startDate, endDate, new App42CallBack(){...})&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
	is working as well. In the end I could just get it work using this method, still this should be fixed.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7299/get-top-n-rankers-by-date-is-not-working-for-me</guid>
<pubDate>Sun, 13 Sep 2015 15:01:01 +0000</pubDate>
</item>
<item>
<title>Error &quot;Client is not authorized&quot; on iOS device</title>
<link>http://forum.shephertz.com/?qa=7134/error-client-is-not-authorized-on-ios-device</link>
<description>&lt;p&gt;
	Hello,&lt;/p&gt;
&lt;p&gt;
	I'm using Unity 4.6 and App42 3.4. &amp;nbsp;I think I'm supposed to use 3.4 with Unity 4 but if I am mistaken please let me know.&lt;/p&gt;
&lt;p&gt;
	I can create a new user running the game from Unity play mode with Unity Remote, but when I build to the iOS device I get the following error in Xcode:&lt;/p&gt;
&lt;p&gt;
	&lt;b style=&quot;font-family: Menlo; font-size: 11px;&quot;&gt;Exception : com.shephertz.app42.paas.sdk.csharp.App42SecurityException: {&quot;httpErrorCode&quot;:&quot;401&quot;, &quot;appErrorCode&quot;:&quot;1401&quot;, &quot;message&quot;:&quot;UnAuthorized Access&quot;, &quot;details&quot;:&quot;Client is not authorized&quot;}&lt;/b&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Menlo;&quot;&gt;
	My phone's device time is the same as my mac's device time. &amp;nbsp;Any help is appreciated.&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Menlo;&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Menlo;&quot;&gt;
	Mike&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7134/error-client-is-not-authorized-on-ios-device</guid>
<pubDate>Sat, 22 Aug 2015 21:21:37 +0000</pubDate>
</item>
<item>
<title>App not receiving push notifications when the app has been terminated.</title>
<link>http://forum.shephertz.com/?qa=7132/not-receiving-push-notifications-when-has-been-terminated</link>
<description>I am having the same problem here. The push notification received when the app is not running in the background, does not trigger any callback in the code. Also, tapping on the notification opens the app, but still does not cause any callback to be triggered. I am using unity and the version of app42 is 4.1.1.</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7132/not-receiving-push-notifications-when-has-been-terminated</guid>
<pubDate>Sat, 22 Aug 2015 16:56:23 +0000</pubDate>
</item>
<item>
<title>Why My Daily Score Updates Late?</title>
<link>http://forum.shephertz.com/?qa=7041/why-my-daily-score-updates-late</link>
<description>&lt;p&gt;
	Hi every body,&lt;/p&gt;
&lt;p&gt;
	i've implemeted app42 api successfuplly. i get top10 ranks and 10 near scores with no problem.&lt;/p&gt;
&lt;p&gt;
	but when i whant to get daily score, it seems it have hours of delay in updating list!&lt;/p&gt;
&lt;p&gt;
	if i add a score &amp;nbsp;for example &quot;A&quot; and check daily score, &quot;A&quot; wont show in daily score until hours later!&lt;/p&gt;
&lt;p&gt;
	but if i check top 10, &quot;A&quot; is there!&lt;/p&gt;
&lt;p&gt;
	here is what i do, code is in AS3:&lt;/p&gt;
&lt;div&gt;
	now = convertToUTC(now);&lt;/div&gt;
&lt;div&gt;
	startDate = convertToUTC(startDate)&lt;/div&gt;
&lt;div&gt;
	_sBoard.getTopNRankersByDate(_gameName,startDate,now,10,new CallBackManager(onGetScoreListSucc));&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	when i trace UTC time, it is correct:&lt;/div&gt;
&lt;div&gt;
	nowUTC: &amp;nbsp;Mon Aug 17 05:23:54 GMT+0430 2015 &amp;nbsp;startDateUTC: &amp;nbsp;Sun Aug 16 05:23:54 GMT+0430 2015&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	i have added a score in time:&lt;/div&gt;
&lt;div&gt;
	2015-08-17T04:45:28Z&lt;/div&gt;
&lt;div&gt;
	but &amp;nbsp;it is not in my daily score.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7041/why-my-daily-score-updates-late</guid>
<pubDate>Mon, 17 Aug 2015 05:39:21 +0000</pubDate>
</item>
<item>
<title>Admin Dashboard crash error</title>
<link>http://forum.shephertz.com/?qa=6805/admin-dashboard-crash-error</link>
<description>I create my GPaaS and open Admin dashboard by clicking &amp;quot;Launch&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
But I saw crash error like my local before.&lt;br /&gt;
&lt;br /&gt;
I think because you don't embed updated Admin dashboard into VM for GPaaS.&lt;br /&gt;
&lt;br /&gt;
I wish you check this error.</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=6805/admin-dashboard-crash-error</guid>
<pubDate>Tue, 28 Jul 2015 01:47:49 +0000</pubDate>
</item>
<item>
<title>How to get Device Token</title>
<link>http://forum.shephertz.com/?qa=6689/how-to-get-device-token</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
Is there anyway to get device token, where i going to use cordova to develop my mobile app, i need to know is there anywhere to get the device token and send to php, in order to get a push notification result?&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
my main problem will be getting device token from mobile, as i try using unity + php to send push notification before, but currently i will use cordova, so i have no idea how to get device token.&lt;br /&gt;
&lt;br /&gt;
Thanks for helping me</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=6689/how-to-get-device-token</guid>
<pubDate>Thu, 09 Jul 2015 05:54:53 +0000</pubDate>
</item>
<item>
<title>appErrorCode 3002</title>
<link>http://forum.shephertz.com/?qa=6580/apperrorcode-3002</link>
<description>I am using App42_Unity3D_SDK&lt;br /&gt;
&lt;br /&gt;
I have game with name &amp;quot;Test&amp;quot;. I can add score to it without problem. But when I call GetTopNRankers&lt;br /&gt;
I get an error&lt;br /&gt;
{&amp;quot;httpErrorCode&amp;quot;:&amp;quot;404&amp;quot;, &amp;quot;appErrorCode&amp;quot;:&amp;quot;3002&amp;quot;, &amp;quot;message&amp;quot;:&amp;quot;Not Found&amp;quot;, &amp;quot;details&amp;quot;:&amp;quot;Game with the name 'Test' does not exist.&amp;quot;}&amp;quot;&lt;br /&gt;
Also GetAllGames returns&lt;br /&gt;
[{&amp;quot;app42&amp;quot;:{&amp;quot;response&amp;quot;:{&amp;quot;success&amp;quot;:true,&amp;quot;games&amp;quot;:{&amp;quot;game&amp;quot;:[{&amp;quot;name&amp;quot;:&amp;quot;Test&amp;quot;,&amp;quot;description&amp;quot;:&amp;quot;test&amp;quot;}]}}}}&lt;br /&gt;
How can I fix this?</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=6580/apperrorcode-3002</guid>
<pubDate>Sun, 21 Jun 2015 15:56:47 +0000</pubDate>
</item>
<item>
<title>Push Notification Not Working When app is fully close</title>
<link>http://forum.shephertz.com/?qa=6395/push-notification-not-working-when-app-is-fully-close</link>
<description>I try using the Push Notification with Unity Project, i success get a notification when i running my game, but after i fully close my game, i cant get any notication.&lt;br /&gt;
&lt;br /&gt;
Anyidea how to get notification even my app dint open, i need to change anything in AndroidManifest in order to get my result?</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=6395/push-notification-not-working-when-app-is-fully-close</guid>
<pubDate>Fri, 22 May 2015 03:56:39 +0000</pubDate>
</item>
<item>
<title>Unity Push Notification Android Extra Data</title>
<link>http://forum.shephertz.com/?qa=6287/unity-push-notification-android-extra-data</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
i'm working in a game and i need to send extra data to the game throw push notification, is there &amp;nbsp;a way to do this in Android? using Unity. &lt;br /&gt;
&lt;br /&gt;
Thanks in advance.</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=6287/unity-push-notification-android-extra-data</guid>
<pubDate>Fri, 08 May 2015 22:33:03 +0000</pubDate>
</item>
<item>
<title>How to I do IAP with Unity for both Android and iOS?</title>
<link>http://forum.shephertz.com/?qa=6192/how-to-i-do-iap-with-unity-for-both-android-and-ios</link>
<description>&lt;div&gt;
	Hi,&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	I'm currently trying to figure out how to do in-app purchases for real money (not virtual money) with Unity for an app I'm planning to release to both Android and iOS.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Everything else in the API seems straight forward, I've read through the cart section of the API and tested out the store widget for Unity but it seems these aren't what I'm looking for. I can see there's a widget that allows IAP for iOS but there isn't the same widget for Unity.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Is IAP functionality for Unity built into the API? Could you let me know how I can go about doing IAP with Unity for both Android and iOS?&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Many thanks!&lt;/div&gt;
&lt;div&gt;
	Stephen&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=6192/how-to-i-do-iap-with-unity-for-both-android-and-ios</guid>
<pubDate>Sun, 26 Apr 2015 18:56:44 +0000</pubDate>
</item>
<item>
<title>cocos2d crash on callback</title>
<link>http://forum.shephertz.com/?qa=6120/cocos2d-crash-on-callback</link>
<description>&lt;div&gt;
	Build fingerprint: 'lge/b2lds_global_com/b2lds:4.4.2/KOT49I.A1420806068/1420806068:user/release-keys'&lt;/div&gt;
&lt;div&gt;
	pid: 4817, tid: 4838, name: Thread-3095 &amp;nbsp;&amp;gt;&amp;gt;&amp;gt; com.baiph.baiwordwars &amp;lt;&amp;lt;&amp;lt;&lt;/div&gt;
&lt;div&gt;
	signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000&lt;/div&gt;
&lt;div&gt;
	Stack frame #00 &amp;nbsp;pc 00000000 &amp;nbsp;&amp;lt;unknown&amp;gt;&lt;/div&gt;
&lt;div&gt;
	Stack frame #01 &amp;nbsp;pc 0028c6c5 &amp;nbsp;/data/app-lib/com.baiph.baiwordwars-1/libcocos2dcpp.so (MainMenu::energy_update()+108): Routine MainMenu::energy_update() at /home/soysoy/baiph/3.3final/WordWars/proj.android/jni/../../Classes/MainMenu.cpp:1116&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;line&amp;nbsp;MainMenu.cpp:1116 is:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&lt;blockquote&gt;
		&lt;div&gt;
			void MainMenu::energy_update() // update on UI&lt;/div&gt;
		&lt;div&gt;
			{&lt;/div&gt;
		&lt;div&gt;
			&amp;nbsp;&lt;/div&gt;
		&lt;div&gt;
			float finalscale;&lt;/div&gt;
		&lt;div&gt;
			if(energy_num&amp;gt;ENERGY_MAX)&lt;/div&gt;
		&lt;div&gt;
			finalscale = (bar_max/ENERGY_MAX)*ENERGY_MAX;&lt;/div&gt;
		&lt;div&gt;
			else&lt;/div&gt;
		&lt;div&gt;
			finalscale = (bar_max/ENERGY_MAX)*energy_num;&lt;/div&gt;
		&lt;div&gt;
			energy_bar-&amp;gt;setScale(finalscale,GETSCALEY*1.24);&lt;/div&gt;
		&lt;div&gt;
			energy_bar-&amp;gt;setPosition(energy_base-&amp;gt;getPositionX()*0.46+energy_bar-&amp;gt;getBoundingBox().size.width/2,&lt;/div&gt;
		&lt;div&gt;
			energy_base-&amp;gt;getPositionY()*1.005);&lt;/div&gt;
		&lt;div&gt;
			std::string energy_str = std::to_string(energy_num);&lt;/div&gt;
		&lt;div&gt;
			energy_str.append(&quot;/&quot;);&lt;/div&gt;
		&lt;div&gt;
			energy_str.append(std::to_string(ENERGY_MAX));&lt;/div&gt;
		&lt;div&gt;
			energy-&amp;gt;setString(energy_str);&lt;/div&gt;
		&lt;div&gt;
			energy-&amp;gt;setPosition(energy_base-&amp;gt;getPositionX()*1.1,energy_bar-&amp;gt;getPositionY()*0.97);&lt;/div&gt;
		&lt;div&gt;
			&amp;nbsp;&lt;/div&gt;
		&lt;div&gt;
			if(isFirstLaunch)&lt;/div&gt;
		&lt;div&gt;
			{&lt;/div&gt;
		&lt;div&gt;
			isFirstLaunch = !isFirstLaunch;&lt;/div&gt;
		&lt;div&gt;
			def-&amp;gt;setBoolForKey(&quot;isFirstLaunch&quot;,isFirstLaunch);&lt;/div&gt;
		&lt;div&gt;
			def-&amp;gt;flush();&lt;/div&gt;
		&lt;div&gt;
			}&lt;/div&gt;
		&lt;div&gt;
			&amp;nbsp;&lt;/div&gt;
		&lt;div&gt;
			rewardDone=true;&lt;/div&gt;
		&lt;div&gt;
			if(!connected)&lt;/div&gt;
		&lt;div&gt;
			{&lt;/div&gt;
		&lt;div&gt;
			hide_layer(network_layer, true, 0);&lt;/div&gt;
		&lt;div&gt;
			hide_layer(HUD_main, false, 255);&lt;/div&gt;
		&lt;div&gt;
			hide_layer(main_menu, false, 255);&lt;/div&gt;
		&lt;div&gt;
			}&lt;/div&gt;
		&lt;div&gt;
			main_menu-&amp;gt;setEnabled(true);&lt;/div&gt;
		&lt;div&gt;
			requests_menu-&amp;gt;setEnabled(true);&lt;/div&gt;
		&lt;div&gt;
			challenge_menu-&amp;gt;setEnabled(true);&lt;/div&gt;
		&lt;div&gt;
			&amp;nbsp;&lt;/div&gt;
		&lt;div&gt;
			connected = true;&lt;/div&gt;
		&lt;div&gt;
			}&lt;/div&gt;
	&lt;/blockquote&gt;
&lt;/div&gt;
&lt;p&gt;
	&lt;strong&gt;the function energy_update is called by&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
	&lt;div&gt;
		void MainMenu::onTimerServiceRequestCompleted( void *response, std::string action)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		log(&quot;//*************************************************//&quot;);&lt;/div&gt;
	&lt;div&gt;
		log(&quot;\nonTimerServiceRequestCompleted... action %s&quot;, action.c_str());&lt;/div&gt;
	&lt;div&gt;
		App42TimerResponse *app42TimerResponse = (App42TimerResponse*)response;&lt;/div&gt;
	&lt;div&gt;
		if(app42TimerResponse-&amp;gt;isSuccess)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		log(&quot;\nResponse Body=%s&quot;,app42TimerResponse-&amp;gt;getBody().c_str());&lt;/div&gt;
	&lt;div&gt;
		if(action==&quot;CREATE&quot;)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		timeLeft = TIME_PER_ENERGY_S;&lt;/div&gt;
	&lt;div&gt;
		timerService-&amp;gt;CreateOrUpdateTimer(timerName.c_str(),timeLeft,app42callback(MainMenu::onTimerServiceRequestCompleted, this, &quot;START&quot;));&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		else if(action==&quot;START&quot;)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		timerService-&amp;gt;StartTimer(timerName.c_str(),userName.c_str(),app42callback(MainMenu::onTimerServiceRequestCompleted, this, &quot;STARTED&quot;));&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		else if(action==&quot;STARTED&quot;)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;auto scheduler = Director::getInstance()-&amp;gt;getScheduler();&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		scheduler-&amp;gt;performFunctionInCocosThread(CC_CALLBACK_0(MainMenu::time_diff, this,app42TimerResponse-&amp;gt;app42Timer.endTime, app42TimerResponse-&amp;gt;app42Timer.startTime));&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;scheduler-&amp;gt;performFunctionInCocosThread(CC_CALLBACK_0(MainMenu::energy_update, this));&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		isCounting = true;&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		else if(action==&quot;CURRENTTIME&quot;)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		if(energy_num&amp;lt;ENERGY_MAX)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		server_time = app42TimerResponse-&amp;gt;app42Timer.currentTime; //CURRENT TIME&lt;/div&gt;
	&lt;div&gt;
		time_diff(server_end, server_time);&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;auto scheduler = Director::getInstance()-&amp;gt;getScheduler();&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;scheduler-&amp;gt;performFunctionInCocosThread(CC_CALLBACK_0(MainMenu::energy_update, this));&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		isCounting = true;&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		else if(action==&quot;CHECK&quot;)//UPDATES&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		if(app42TimerResponse-&amp;gt;app42Timer.isTimerActive)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		server_end = app42TimerResponse-&amp;gt;app42Timer.endTime;&lt;/div&gt;
	&lt;div&gt;
		server_start = app42TimerResponse-&amp;gt;app42Timer.startTime;&lt;/div&gt;
	&lt;div&gt;
		timerService-&amp;gt;GetCurrentTime(app42callback(MainMenu::onTimerServiceRequestCompleted, this,&quot;CURRENTTIME&quot;));&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		else if(energy_num&amp;lt;ENERGY_MAX)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		//double energy_max = 3;&lt;/div&gt;
	&lt;div&gt;
		double energy_lost = ENERGY_MAX-energy_num;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;auto scheduler = Director::getInstance()-&amp;gt;getScheduler();&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;scheduler-&amp;gt;performFunctionInCocosThread(CC_CALLBACK_0(MainMenu::add_energy, &lt;/strong&gt;this,true,energy_lost,&quot;TIMER_CREATE&quot;));&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		else if(action==&quot;ADD_ON_RUNTIME&quot;)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;auto scheduler = Director::getInstance()-&amp;gt;getScheduler();&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;scheduler-&amp;gt;performFunctionInCocosThread(CC_CALLBACK_0(MainMenu::add_energy, &lt;/strong&gt;this,true,1,&quot;UPDATE_UI&quot;));&lt;/div&gt;
	&lt;div&gt;
		if(app42TimerResponse-&amp;gt;app42Timer.isTimerActive)&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		server_end = app42TimerResponse-&amp;gt;app42Timer.endTime;&lt;/div&gt;
	&lt;div&gt;
		timerService-&amp;gt;GetCurrentTime(app42callback(MainMenu::onTimerServiceRequestCompleted, this,&quot;CURRENTTIME&quot;));&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		else&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		log(&quot;\nerrordetails:%s&quot;,app42TimerResponse-&amp;gt;errorDetails.c_str());&lt;/div&gt;
	&lt;div&gt;
		log(&quot;\nerrorMessage:%s&quot;,app42TimerResponse-&amp;gt;errorMessage.c_str());&lt;/div&gt;
	&lt;div&gt;
		log(&quot;\nappErrorCode:%d&quot;,app42TimerResponse-&amp;gt;appErrorCode);&lt;/div&gt;
	&lt;div&gt;
		log(&quot;\nhttpErrorCode:%d&quot;,app42TimerResponse-&amp;gt;httpErrorCode);&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		if((action==&quot;CREATE&quot;) || (action==&quot;START&quot;) ||(action==&quot;STARTED&quot;))&lt;/div&gt;
	&lt;div&gt;
		{&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;auto scheduler = Director::getInstance()-&amp;gt;getScheduler();&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;scheduler-&amp;gt;performFunctionInCocosThread(CC_CALLBACK_0(MainMenu::energy_update, this));&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
	&lt;div&gt;
		log(&quot;//*************************************************//&quot;);&lt;/div&gt;
	&lt;div&gt;
		}&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Problem is, If there is an on going requests and then I switch scene the callback is still fired. Is there a way to stop the callback?&lt;/div&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=6120/cocos2d-crash-on-callback</guid>
<pubDate>Sat, 18 Apr 2015 09:44:01 +0000</pubDate>
</item>
<item>
<title>get time left Timer Service</title>
<link>http://forum.shephertz.com/?qa=5938/get-time-left-timer-service</link>
<description>&lt;p&gt;
	Hi !&lt;br&gt;
	&lt;br&gt;
	I have a problem, please take a look here &lt;a href=&quot;http://discuss.cocos2d-x.org/t/converting-date/20612&quot; rel=&quot;nofollow&quot;&gt;http://discuss.cocos2d-x.org/t/converting-date/20612&lt;/a&gt;&lt;br&gt;
	&lt;br&gt;
	I'm trying to get the difference between&lt;br&gt;
	&lt;br&gt;
	app42TimerResponse-&amp;gt;app42Timer.endTime&lt;br&gt;
	&lt;br&gt;
	app42TimerResponse-&amp;gt;app42Timer.startTime&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;timerService-&amp;gt;IsTimerActive(timerName.c_str(), userName.c_str(), app42callback(MainMenu::onTimerServiceRequestCompleted, this,&quot;CHECK&quot;));&lt;/strong&gt;&lt;/p&gt;
&lt;div&gt;
	&lt;strong&gt;void MainMenu::onTimerServiceRequestCompleted( void *response, std::string action)&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	log(&quot;//*************************************************//&quot;);&lt;/div&gt;
&lt;div&gt;
	log(&quot;\nonTimerServiceRequestCompleted... action %s&quot;, action.c_str());&lt;/div&gt;
&lt;div&gt;
	App42TimerResponse *app42TimerResponse = (App42TimerResponse*)response;&lt;/div&gt;
&lt;div&gt;
	if(app42TimerResponse-&amp;gt;isSuccess)&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	log(&quot;\n TimerName =%s&quot;,app42TimerResponse-&amp;gt;app42Timer.name.c_str());&lt;/div&gt;
&lt;div&gt;
	log(&quot;\n timeInSeconds=%ld&quot;,app42TimerResponse-&amp;gt;app42Timer.timeInSeconds);&lt;/div&gt;
&lt;div&gt;
	log(&quot;\n startTime =%s&quot;,app42TimerResponse-&amp;gt;app42Timer.startTime.c_str());&lt;/div&gt;
&lt;div&gt;
	log(&quot;\n endTime =%s&quot;,app42TimerResponse-&amp;gt;app42Timer.endTime.c_str());&lt;/div&gt;
&lt;div&gt;
	log(&quot;\n isTimerActive=%d&quot;,app42TimerResponse-&amp;gt;app42Timer.isTimerActive);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	if(action==&quot;CREATE&quot;)&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	timeLeft = TIME_PER_ENERGY_S;&lt;/div&gt;
&lt;div&gt;
	timerService-&amp;gt;CreateOrUpdateTimer(timerName.c_str(),timeLeft,app42callback(MainMenu::onTimerServiceRequestCompleted, this, &quot;START&quot;));&lt;/div&gt;
&lt;div&gt;
	this-&amp;gt;runAction(&lt;/div&gt;
&lt;div&gt;
	Sequence::create(&lt;/div&gt;
&lt;div&gt;
	DelayTime::create(1.5),&lt;/div&gt;
&lt;div&gt;
	CallFuncN::create(CC_CALLBACK_1(MainMenu::reload_friends, this)),&lt;/div&gt;
&lt;div&gt;
	nullptr ));&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	else if(action==&quot;START&quot;)&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	timerService-&amp;gt;StartTimer(timerName.c_str(),userName.c_str(),app42callback(MainMenu::onTimerServiceRequestCompleted, this, &quot;STARTED&quot;));&lt;/div&gt;
&lt;div&gt;
	//isCounting = true;&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	else if(action==&quot;STARTED&quot;)&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	this-&amp;gt;runAction(&lt;/div&gt;
&lt;div&gt;
	Sequence::create(&lt;/div&gt;
&lt;div&gt;
	DelayTime::create(1.5),&lt;/div&gt;
&lt;div&gt;
	CallFuncN::create(CC_CALLBACK_1(MainMenu::calculate_time, this,app42TimerResponse-&amp;gt;app42Timer.endTime, app42TimerResponse-&amp;gt;app42Timer.startTime)),&lt;/div&gt;
&lt;div&gt;
	nullptr ));&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	else if(action==&quot;CHECK&quot;)//UPDATES&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	if(app42TimerResponse-&amp;gt;app42Timer.isTimerActive)&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	this-&amp;gt;runAction(&lt;/div&gt;
&lt;div&gt;
	Sequence::create(&lt;/div&gt;
&lt;div&gt;
	DelayTime::create(1.5),&lt;/div&gt;
&lt;div&gt;
	CallFuncN::create(CC_CALLBACK_1(MainMenu::calculate_time, this,app42TimerResponse-&amp;gt;app42Timer.endTime, app42TimerResponse-&amp;gt;app42Timer.startTime)),&lt;/div&gt;
&lt;div&gt;
	nullptr ));&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	else&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	timerService-&amp;gt;GetCurrentTime(app42callback(MainMenu::onTimerServiceRequestCompleted, this,&quot;CREATE&quot;));&lt;/div&gt;
&lt;div&gt;
	isCounting = false;&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	else&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	log(&quot;\nerrordetails:%s&quot;,app42TimerResponse-&amp;gt;errorDetails.c_str());&lt;/div&gt;
&lt;div&gt;
	log(&quot;\nerrorMessage:%s&quot;,app42TimerResponse-&amp;gt;errorMessage.c_str());&lt;/div&gt;
&lt;div&gt;
	log(&quot;\nappErrorCode:%d&quot;,app42TimerResponse-&amp;gt;appErrorCode);&lt;/div&gt;
&lt;div&gt;
	log(&quot;\nhttpErrorCode:%d&quot;,app42TimerResponse-&amp;gt;httpErrorCode);&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	log(&quot;//*************************************************//&quot;);&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;result:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	03-22 10:16:28.102: D/cocos2d-x debug info(19659): //*************************************************//&lt;/div&gt;
&lt;div&gt;
	03-22 10:16:28.102: D/cocos2d-x debug info(19659): onTimerServiceRequestCompleted... action CHECK&lt;/div&gt;
&lt;div&gt;
	03-22 10:16:28.102: D/cocos2d-x debug info(19659): &amp;nbsp;TimerName =energy_timer&lt;/div&gt;
&lt;div&gt;
	03-22 10:16:28.102: D/cocos2d-x debug info(19659): &amp;nbsp;timeInSeconds=0&lt;/div&gt;
&lt;div&gt;
	03-22 10:16:28.102: D/cocos2d-x debug info(19659): &amp;nbsp;startTime =2015-03-22T02:16:17.000Z&lt;/div&gt;
&lt;div&gt;
	03-22 10:16:28.102: D/cocos2d-x debug info(19659): &amp;nbsp;endTime =2015-03-22T02:17:47.000Z&lt;/div&gt;
&lt;div&gt;
	03-22 10:16:28.102: D/cocos2d-x debug info(19659): &amp;nbsp;isTimerActive=1&lt;/div&gt;
&lt;div&gt;
	03-22 10:16:28.102: D/cocos2d-x debug info(19659): //*************************************************//&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=5938/get-time-left-timer-service</guid>
<pubDate>Sun, 22 Mar 2015 02:02:42 +0000</pubDate>
</item>
<item>
<title>Binded what client program can use for Windows 7</title>
<link>http://forum.shephertz.com/?qa=5255/binded-what-client-program-can-use-for-windows-7</link>
<description>Dear Deo,&lt;br /&gt;
&lt;br /&gt;
I already bind ... But What client program must use &amp;nbsp;for Windows 7 ? is putty ... If so what must be host and port number?&lt;br /&gt;
&lt;br /&gt;
Please advise me detail.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Anes</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=5255/binded-what-client-program-can-use-for-windows-7</guid>
<pubDate>Wed, 28 Jan 2015 12:03:25 +0000</pubDate>
</item>
<item>
<title>Uploaded database table , but how it can see</title>
<link>http://forum.shephertz.com/?qa=5251/uploaded-database-table-but-how-it-can-see</link>
<description>&lt;p&gt;
	Dear Deo,&lt;/p&gt;
&lt;p&gt;
	Your first option i.e &quot;&lt;span class=&quot;qa-form-tall-static&quot;&gt;1- &amp;nbsp;By clicking on Upload backup icon. You can upload backup and restore it directely on your created service, if you have database backup file.&lt;/span&gt;&quot; is successful , but my doubt is how I can see the uploaded tables . Any option for it?&lt;/p&gt;
&lt;p&gt;
	Please reply me fast...&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Anes&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=5251/uploaded-database-table-but-how-it-can-see</guid>
<pubDate>Wed, 28 Jan 2015 04:32:45 +0000</pubDate>
</item>
<item>
<title>Online users in lobby</title>
<link>http://forum.shephertz.com/?qa=3490/online-users-in-lobby</link>
<description>&lt;p&gt;
	Hello everyone,&lt;/p&gt;
&lt;p&gt;
	1. &amp;nbsp; I created a user on app42 and connected to the lobby . when I closed my game user remained &quot;Online&quot;.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I pulled users in lobby via WarpClient.GetInstance().GetLiveLobbyInfo(); &amp;nbsp;method and I found the user.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;How much time does it take until you update &quot;Online users&quot;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	2. &amp;nbsp;is there any other way,faster than pulled the users and look for user? is there any method that can tells&amp;nbsp;&lt;span style=&quot;background-color: rgb(245, 245, 245); color: rgb(0, 0, 0); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap;&quot;&gt;whether user is online or offline?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	Thanks,&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=3490/online-users-in-lobby</guid>
<pubDate>Sun, 24 Aug 2014 07:47:57 +0000</pubDate>
</item>
<item>
<title>Send Custom Push Message</title>
<link>http://forum.shephertz.com/?qa=3460/send-custom-push-message</link>
<description>&lt;p&gt;
	Hi, I would like to ask can i send a string like &quot;Hi, I am admin. (event 10)&quot;, and i want the user to just see &quot;Hi, I am admin&quot; at his push notification, and when he go into the game, i still want to receive the &quot;(event10)&quot; thing. If in this case, i need to use&lt;/p&gt;
&lt;h1 id=&quot;send-multilingual-push-notification&quot; style=&quot;margin: 10px 0px; padding: 12px 5px 12px 10px; outline: 0px; border: 1px solid rgb(188, 187, 187); color: rgb(0, 0, 0); font-size: 16px; width: 726px; clear: both; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; font-family: 'Open Sans', Helvetica, Arial, sans-serif; background-color: rgb(227, 226, 226);&quot;&gt;
	Send Multilingual Push Notification&lt;/h1&gt;
&lt;p&gt;
	or&amp;nbsp;&lt;/p&gt;
&lt;h1 id=&quot;send-custom-push-message-to-user-in-key-value-or-json-format&quot; style=&quot;margin: 10px 0px; padding: 12px 5px 12px 10px; outline: 0px; border: 1px solid rgb(188, 187, 187); color: rgb(0, 0, 0); font-size: 16px; width: 726px; clear: both; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; font-family: 'Open Sans', Helvetica, Arial, sans-serif; background-color: rgb(227, 226, 226);&quot;&gt;
	Send Custom Push Message To User In Key Value Or JSON Format&lt;/h1&gt;
&lt;p&gt;
	I using for unity project, thanks&lt;/p&gt;
&lt;p&gt;
	In Addition send custom push message to user in key value or json format is not available in unity??&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=3460/send-custom-push-message</guid>
<pubDate>Fri, 22 Aug 2014 07:48:32 +0000</pubDate>
</item>
<item>
<title>What does AppErrorCode 2103 means on a Scheduled job?</title>
<link>http://forum.shephertz.com/?qa=3294/what-does-apperrorcode-2103-means-on-a-scheduled-job</link>
<description>Hi, Im getting this error code on the ScheduleLogs when i try to excecute my custom code as a scheduled job. If I try the same code as a local program everything works just fine.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
My code try to get a DocumentById, read a value from it and then update it.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
{&amp;quot;app42Fault&amp;quot;:{&amp;quot;httpErrorCode&amp;quot;:404,&amp;quot;appErrorCode&amp;quot;:2103,&amp;quot;message&amp;quot;:&amp;quot;Not Found&amp;quot;,&amp;quot;details&amp;quot;:&amp;quot;The file with the name GetDocByIdNewVersion does not exist.&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Btw, I dont have any funtion or class or file with the name &amp;quot;GetDocByIdNewVersion&amp;quot;. Could it be something on the build? &lt;br /&gt;
&lt;br /&gt;
Thanks in Advance.</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=3294/what-does-apperrorcode-2103-means-on-a-scheduled-job</guid>
<pubDate>Mon, 11 Aug 2014 21:11:12 +0000</pubDate>
</item>
<item>
<title>StorageService::InsertJsonDocument not working in Marmalade</title>
<link>http://forum.shephertz.com/?qa=3223/storageservice-insertjsondocument-not-working-marmalade</link>
<description>&lt;p&gt;
	Whenever I try to add a JSON object to the DB by calling InsertJsonDocument it fails. &amp;nbsp;This happens in both the example that came with APP42 and with my own project. &amp;nbsp;Here is the output window.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
	07/08/14 01:17:19.737: [0xfa0] Body for insertJsonDocuments is {&quot;app42&quot;:{&quot;storage&quot;:{&quot;jsonDoc&quot;:&quot;{\&quot;employeeName\&quot;:\&quot;Nick\&quot;}&quot;}}}&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.747: [0xfa0] HTTP: (Cancel)&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.754: [0xfa0] HTTP: (Fetching &lt;a href=&quot;https://api.shephertz.com/cloud/1.0/storage/insert/dbName/WORBLE/collectionName/New&quot; rel=&quot;nofollow&quot;&gt;https://api.shephertz.com/cloud/1.0/storage/insert/dbName/WORBLE/collectionName/New&lt;/a&gt; Collection?apiKey=685f5994607d26b2a3cd88f7ff3e23a33c0cfaaa83921eca77c9c73d71377544&amp;amp;timeStamp=2014-08-07T8:17:19.000Z&amp;amp;version=1.0&amp;amp;signature=OKQ79KEMcrx8boDleCK2zEyGis0%3D)&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.784: [0xfa0] SOCKET: s3eInetLookup: 'api.shephertz.com'&lt;/div&gt;
&lt;div&gt;
	The thread 0x23f14 has exited with code 0 (0x0).&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.811: [0xfa0] SOCKET: s3eInetLookup (asynschronous): done DNS: '50.112.252.24:0'&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.818: [0xfa0] HTTP: (DNS OK)&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.823: [0xfa0] IWCRT: open 100&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.829: [0xfa0] SOCKET: s3eSocketCreate -&amp;gt; p=0x58ec3970 id=3001&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.835: [0xfa0] SOCKET: s3eSocketConnect: 0x58ec3970 -&amp;gt; 50.112.252.24:443&lt;/div&gt;
&lt;div&gt;
	ERROR: S3E_SOCKET_ERR_INPROGRESS in s3eSocketConnect&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.846: [0xfa0] SOCKET: TryConnect error: 10036&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.852: [0xfa0] SOCKET: Connect: FAILED (1001: S3E_SOCKET_ERR_INPROGRESS in s3eSocketConnect)&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.857: [0xfa0] HTTP: (Connecting...)&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.903: [0xfa0] SOCKET: TryConnect error: 10056&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.909: [0xfa0] SOCKET: NotifyConnect: 3001 0x58ec3970&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.915: [0xfa0] HTTP: (Connected)&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.922: [0xfa0] HTTP: ContinueSSLHandshake:0&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.928: [0xfa0] HTTP: ContinueSSLHandshake&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.934: [0xfa0] HTTP: Waiting until Readable&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:19.997: [0xfa0] HTTP: ContinueSSLHandshake:0&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.263: [0xfa0] HTTP: ContinueSSLHandshake&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.265: [0xfa0] HTTP: Waiting until Readable&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.412: [0xfa0] HTTP: ContinueSSLHandshake:0&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.415: [0xfa0] HTTP: Handshake Done&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.417: [0xfa0] HTTP: (SendRequest [0-&amp;gt;462])&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.419: [0xfa0] HTTP: SSL_write returns 399&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.446: [0xfa0] HTTP: (SendRequest [399-&amp;gt;462])&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.449: [0xfa0] HTTP: SSL_write returns 65&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.480: [0xfa0] HTTP: HTTP/1.1 400 BAD_REQUEST&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.482: [0xfa0] HTTP: Got headers&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.484: [0xfa0] HTTP: Remote side has closed&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.486: [0xfa0] HTTP: (Cancel)&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.488: [0xfa0] IWCRT: close 100&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.490: [0xfa0] SOCKET: s3eSocketClose: 0x58ec3970 open=1&lt;/div&gt;
&lt;div&gt;
	ERROR *(MAJOR)*: S3E_SOCKET_ERR_PARAM in s3eSocketReadable - Invalid s3eSocket descriptor 0&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.513: [0xfa0] GotData::Status is -1442840576&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.515: [0xfa0] GotData::ContentReceived is ªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªª&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.517: [0xfa0] GotData::ContentReceived data len is 1024&lt;/div&gt;
&lt;div&gt;
	07/08/14 01:17:20.520: [0xfa0] App42StorageResult failed result is 400&lt;/div&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=3223/storageservice-insertjsondocument-not-working-marmalade</guid>
<pubDate>Thu, 07 Aug 2014 08:20:07 +0000</pubDate>
</item>
<item>
<title>Funnel Management issues.</title>
<link>http://forum.shephertz.com/?qa=3181/funnel-management-issues</link>
<description>&lt;p&gt;
	I used logService in client code.&lt;/p&gt;
&lt;p&gt;
	After I check the tutorials:&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;http://api.shephertz.com/tutorial/Funnel-Management/?index=analytics-funnel&quot;&gt;http://api.shephertz.com/tutorial/Funnel-Management/?index=analytics-funnel&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
	I setEvent as follow:&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;color:#444444;&quot;&gt;mLogService&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;SetEvent&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#f57c00;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#f57c00;&quot;&gt;TestModule&lt;/span&gt;&lt;span style=&quot;color:#f57c00;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#f57c00;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#f57c00;&quot;&gt;Test_&lt;/span&gt;&lt;span style=&quot;color:#f57c00;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;&amp;nbsp;+&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;eventName&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:#009695;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;UnityCallBackTest&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;());&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;color:#444444;&quot;&gt;But in AppHQ console, I can see nothing displayed in &quot;Events&quot; and &quot;Funnel Management&quot; view.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Then I try another way, setEvent as follow:&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: Menlo; color: rgb(68, 68, 68);&quot;&gt;mLogService&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(68, 68, 68);&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(68, 68, 68);&quot;&gt;SetEvent&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(68, 68, 68);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(245, 124, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(245, 124, 0);&quot;&gt;Test_&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(245, 124, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(68, 68, 68);&quot;&gt;&amp;nbsp;+&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(68, 68, 68);&quot;&gt;eventName&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(68, 68, 68);&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(0, 150, 149);&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(68, 68, 68);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(68, 68, 68);&quot;&gt;UnityCallBackTest&lt;/span&gt;&lt;span style=&quot;font-family: Menlo; color: rgb(68, 68, 68);&quot;&gt;());&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(68, 68, 68); font-family: Menlo;&quot;&gt;I can see events displayed in &quot;Events&quot; view but nothing in&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(68, 68, 68); font-family: Menlo;&quot;&gt;&quot;Funnel Management&quot; view&lt;/span&gt;&lt;span style=&quot;color: rgb(68, 68, 68); font-family: Menlo;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	What's the matter?&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=3181/funnel-management-issues</guid>
<pubDate>Mon, 04 Aug 2014 07:40:45 +0000</pubDate>
</item>
<item>
<title>ACL list persistence</title>
<link>http://forum.shephertz.com/?qa=3001/acl-list-persistence</link>
<description>As I understand it, to creat a document with public read/write permissions, I would do the following:&lt;br /&gt;
&lt;br /&gt;
HashSet&amp;lt;ACL&amp;gt; aclList = new HashSet&amp;lt;ACL&amp;gt;();&lt;br /&gt;
aclList.add(new ACL(&amp;quot;PUBLIC&amp;quot;, Permission.READ));&lt;br /&gt;
aclList.add(new ACL(&amp;quot;PUBLIC&amp;quot;, Permission.WRITE));&lt;br /&gt;
storageService.setAclList(aclList);&lt;br /&gt;
&lt;br /&gt;
storageService.insertJSONDocument(...);&lt;br /&gt;
&lt;br /&gt;
Now my question is: does that mean that every subsequent request I make on that same StorageService object will cause the document I am working with to have those permissions assigned to it? &amp;nbsp;If so, then I suppose this means I have to assign a new ACL set every time I make any request? &amp;nbsp;Or is it only certain types of requests that alter the document permissions? &amp;nbsp;For example, if I call .updateDocumentByDocId(), will the ACL list I have previously assigned affect the permissions of the document I am updating? &amp;nbsp;Or does the ACL list only affect newly created documents?&lt;br /&gt;
&lt;br /&gt;
Thanks!</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=3001/acl-list-persistence</guid>
<pubDate>Tue, 22 Jul 2014 22:43:16 +0000</pubDate>
</item>
<item>
<title>Does LinkUserFacebookAccount() create a user?</title>
<link>http://forum.shephertz.com/?qa=2909/does-linkuserfacebookaccount-create-a-user</link>
<description>It is not clear, does LinkUserFacebookAccount() createa a user account in App42, ready to have things like profile data, roles, etc, assigned to it? &amp;nbsp;Or do you have to call CreateUser() first to create the user, and then link it to Facebook using LinkUserFacebookAccount()?&lt;br /&gt;
&lt;br /&gt;
Since I am doing my authorization through Facebook, I'm unclear as to what App42 calls I still need to make to ensure the user accounts created are fully functional.&lt;br /&gt;
&lt;br /&gt;
Thanks!</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2909/does-linkuserfacebookaccount-create-a-user</guid>
<pubDate>Thu, 17 Jul 2014 22:22:23 +0000</pubDate>
</item>
<item>
<title>Open app from notification on Android</title>
<link>http://forum.shephertz.com/?qa=2884/open-app-from-notification-on-android</link>
<description>Hi, &lt;br /&gt;
&lt;br /&gt;
I was testing the notifications on my app when I noticed that we could not open the application by clicking the notification. &lt;br /&gt;
&lt;br /&gt;
I did some research on the forum and on the website but I can't find anything about it. Is there a way to do that on Android devices?&lt;br /&gt;
&lt;br /&gt;
Thanks for your help</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2884/open-app-from-notification-on-android</guid>
<pubDate>Wed, 16 Jul 2014 20:48:56 +0000</pubDate>
</item>
<item>
<title>How to add or modify &quot;additional user data&quot; after user is created</title>
<link>http://forum.shephertz.com/?qa=2769/how-add-or-modify-additional-user-data-after-user-is-created</link>
<description>I see in the docs that you can save additional user data using addJSONObject() followed by createUser(). &amp;nbsp;But I'm wanting to allow players to specify their own nickname that will be associated with their user account (which will be under their Facebook user ID), and I want to store this as &amp;quot;additional data&amp;quot; associated with the user's account.&lt;br /&gt;
&lt;br /&gt;
Is there a way to add or modify this additional information after the user's account has already been created?&lt;br /&gt;
&lt;br /&gt;
Judging from the fact that you must specify a collection, am I right in assuming this means the data can be accessed and modified like any JSON document? &amp;nbsp;Please help me understand how this works. &amp;nbsp;Thanks!</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2769/how-add-or-modify-additional-user-data-after-user-is-created</guid>
<pubDate>Thu, 10 Jul 2014 23:43:24 +0000</pubDate>
</item>
<item>
<title>deleteById not deleting message</title>
<link>http://forum.shephertz.com/?qa=2703/deletebyid-not-deleting-message</link>
<description>I'm trying to delete a message on Android and it returns a success but doesn't remove the message from the array of messages that's received after a refersh. Help?</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2703/deletebyid-not-deleting-message</guid>
<pubDate>Tue, 08 Jul 2014 11:01:18 +0000</pubDate>
</item>
<item>
<title>Notification badge on Unity android</title>
<link>http://forum.shephertz.com/?qa=2686/notification-badge-on-unity-android</link>
<description>Hi,&lt;br /&gt;
I use your plugin for push notifications in Unity for android devices. I've bind all the keys and the code needed and I got it to work ... I receive my push notification but, no badge appears on my app icon.&lt;br /&gt;
I can see the number of push notification sent from the dash board under a &amp;quot;i&amp;quot; in all notifications but no badge.&lt;br /&gt;
&lt;br /&gt;
There is something I have to do to get it to work? Or maybe someone know an issue?</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2686/notification-badge-on-unity-android</guid>
<pubDate>Mon, 07 Jul 2014 21:10:17 +0000</pubDate>
</item>
<item>
<title>Marmalade App42 SaveUserScore leaking memory</title>
<link>http://forum.shephertz.com/?qa=2647/marmalade-app42-saveuserscore-leaking-memory</link>
<description>&lt;p&gt;
	So I am using App42 with Marmalade and SaveUserScore is leaking memory. &amp;nbsp;I basically took everything else out of my code but submitting a score with&amp;nbsp;ScoreBoardService::SaveUserScore() and I am getting an IwAssert &amp;nbsp;failure (MEMORY, 2356) from Marmalade upon Marmalade cleaning up the memory. &amp;nbsp; I am terminating every service that I am using and also cleaning up the callback function.&lt;/p&gt;
&lt;div&gt;
	gameService-&amp;gt;Terminate();&lt;/div&gt;
&lt;div&gt;
	scoreboardService-&amp;gt;Terminate();&lt;/div&gt;
&lt;div&gt;
	rewardService-&amp;gt;Terminate();&lt;/div&gt;
&lt;div&gt;
	scoreService-&amp;gt;Terminate();&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	if(callbackFunction)&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	delete callbackFunction;&lt;/div&gt;
&lt;div&gt;
	callbackFunction = NULL;&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Here is an image of the failure.&lt;/div&gt;
&lt;p&gt;
	&lt;a href=&quot;http://imgur.com/ndaQuT7&quot; rel=&quot;nofollow&quot;&gt;http://imgur.com/ndaQuT7&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
	I believe that this failure only happens when there is memory that hasn't been cleaned up when Marmalade goes through with its own memory clean up. &amp;nbsp;Let me know if there is something that I need to do.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Thanks,&lt;/p&gt;
&lt;p&gt;
	Mike Sawayda&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2647/marmalade-app42-saveuserscore-leaking-memory</guid>
<pubDate>Sat, 05 Jul 2014 06:52:11 +0000</pubDate>
</item>
<item>
<title>Storing list in a dictionary</title>
<link>http://forum.shephertz.com/?qa=2496/storing-list-in-a-dictionary</link>
<description>&lt;div style=&quot;font-family: arial, sans-serif; font-size: 13px;&quot;&gt;
	I have a question regarding the storage of json documents in the No SQL storage service. What is the exact method to store a List of strings as a value in a json document? I am getting a Bad Parameter exception error every time I try t o add a list as a value in the dictionary json objet by the save and update callback method. This is how I did it&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 13px;&quot;&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;jsonObjectMatch.Add (&quot;self&quot;, FB.UserId);&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;jsonObjectMatch.Add (&quot;opID&quot;, matchColOpID);&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;jsonObjectMatch.Add (&quot;opName&quot;, matchColOpName);&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;storageService.SaveOrUpdateDocumentByKeyValue (database, matchCollection, &quot;self&quot;, key, jsonObjectMatch, new UnitySaveUpdateCallback ());&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 13px;&quot;&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 13px;&quot;&gt;
	The exception is as follows:&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 13px;&quot;&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 13px;&quot;&gt;
	&lt;strong&gt;appErrorCode : &quot;1400&quot;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 13px;&quot;&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 13px;&quot;&gt;
	&lt;div&gt;
		&lt;strong&gt;Exception : com.shephertz.app42.paas.sdk.csharp.App42BadParameterException: {&quot;httpErrorCode&quot;:&quot;400&quot;, &quot;appErrorCode&quot;:&quot;1400&quot;, &quot;message&quot;:&quot;Bad Request&quot;, &quot;details&quot;:&quot;The Request parameters are invalid&quot;}&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;UnityEngine.Debug:Log(Object)&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;com.shephertz.app42.paas.sdk.csharp.App42Log:Console(String)&lt;/strong&gt;&lt;/div&gt;
	&lt;div&gt;
		&lt;strong&gt;UnitySaveUpdateCallback:OnException(Exception) (at Assets/Scripts/UnitySaveUpdateCallback.cs:33)&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2496/storing-list-in-a-dictionary</guid>
<pubDate>Thu, 26 Jun 2014 07:27:57 +0000</pubDate>
</item>
<item>
<title>create room dynamically.</title>
<link>http://forum.shephertz.com/?qa=2473/create-room-dynamically</link>
<description>currently I create room using roomId that i got from &amp;nbsp;apphq.shephertz.com....suppose I have launched my game into market and user has option to create room, and I have many users. how do I create the room dynamically without first creating them in &amp;nbsp;apphq.shephertz.com ?</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2473/create-room-dynamically</guid>
<pubDate>Wed, 25 Jun 2014 13:59:47 +0000</pubDate>
</item>
<item>
<title>Get Room name using room Id in Unity</title>
<link>http://forum.shephertz.com/?qa=2460/get-room-name-using-room-id-in-unity</link>
<description>How can I get room name using roomId? &amp;nbsp;In this namespace &amp;quot;com.shephertz.app42.gaming.multiplayer.client.events&amp;quot; there is a class &amp;quot;RoomData&amp;quot;. I need that class's object when I give roomId...</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2460/get-room-name-using-room-id-in-unity</guid>
<pubDate>Wed, 25 Jun 2014 07:48:15 +0000</pubDate>
</item>
<item>
<title>Error 1700 when calling StoreDeviceToken()</title>
<link>http://forum.shephertz.com/?qa=2444/error-1700-when-calling-storedevicetoken</link>
<description>I'm getting error 1700, &amp;quot;user &amp;lt;id&amp;gt; already registered with the device&amp;quot; when calling StoreDeviceToken(). &amp;nbsp;I understand why this error is being generated -- the user has already been registered for that device. &amp;nbsp;But my question is whether or not there is an API that I can use to find out at runtime whether the user's device has already been registered so as to avoid this error, or if calling StoreDeviceToken() is basically just the way to do this, and I should just ignore the error?&lt;br /&gt;
&lt;br /&gt;
What is the best practice for registering device tokens with a user account? &amp;nbsp;Do I just call StoreDeviceToken() no matter what, or should I query some other API first to determine if StoreDeviceToken() needs to be called?&lt;br /&gt;
&lt;br /&gt;
Thanks.</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2444/error-1700-when-calling-storedevicetoken</guid>
<pubDate>Tue, 24 Jun 2014 23:35:30 +0000</pubDate>
</item>
<item>
<title>I am unable to show the facebook leaderboard using the sample in Unity3d.</title>
<link>http://forum.shephertz.com/?qa=2324/unable-show-facebook-leaderboard-using-the-sample-unity3d</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I have taken the demo project at &lt;a href=&quot;https://github.com/AkshayMShepHertz/App42-Unity3D-Facebook-Leaderboard&quot; rel=&quot;nofollow&quot;&gt;https://github.com/AkshayMShepHertz/App42-Unity3D-Facebook-Leaderboard&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
and trying to run in Unity3d under android.&lt;br /&gt;
&lt;br /&gt;
I have setup all the ID's for App42API in Constants and also given the FaceBook APPId.&lt;br /&gt;
&lt;br /&gt;
I am able to login to the FaceBook but my user score is unable to be updated and I can't get the leader Board .&lt;br /&gt;
&lt;br /&gt;
What changes do I need to make.</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2324/unable-show-facebook-leaderboard-using-the-sample-unity3d</guid>
<pubDate>Thu, 19 Jun 2014 11:50:33 +0000</pubDate>
</item>
<item>
<title>Push notifications aren't received on Android using Unity 3D</title>
<link>http://forum.shephertz.com/?qa=2033/push-notifications-arent-received-on-android-using-unity-3d</link>
<description>&lt;p class=&quot;p1&quot;&gt;
	Hello, I'm trying to integrate your push notification service into an existing game project, but I'm running into difficult regarding push notifications:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	I built and tested the Push test Unity project using my own Google project ID, user ID, API key, etc, and it worked successfully. &amp;nbsp;But when I make all the same API calls in my own project, I see that the push notification was successfully sent, but it does not get received on the other end (on the Android device).&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	As far as I can tell, everything substantial is the same between the two projects except for:&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	1) line 32 of the AndroidManifest.xml, where the name is different (your sample uses com.shephertz.app42.unity.android.test.MainActivity, while this will crash my game on launch, so I use &quot;com.unity3d.player.UnityPlayerNativeActivity&quot;).&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	2) Likewise, I use com.unity3d.player.UnityPlayerNativeActivity for the &quot;onMessageOpen&quot; meta data inside the &quot;service&quot; tag.&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	3) Instead of calling all the APIs in Start() as is done in the sample, I make the following calls in Start():&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	sp = new ServiceAPI (apiKey, secretKey); // For JSON data storage&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	App42API.Initialize(apiKey, secretKey);&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	And then call App42.SetLoggedInUser() and RegisterForPush() after the user has manually entered their user name to log in. &amp;nbsp;After all that is done, I make the call to sendPushToUser().&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	My guess is that the problem lies either in the aforementioned differences in the AndroidManifest.xml, or in the fact that one or more of the .jar files under Plugins/Android (which were copied from the Push sample project, as instructed in the documentation) contains code or a structure that is specific to the Push sample project, and not immediately re-usable in a different project with a different bundle identifier. &amp;nbsp;For example the &quot;sampleAndroid.jar&quot; file appears to be structured in a manner (containing the &quot;MainActivity&quot; class) that is specific to the push test project.&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	Here is a link to my AndroidManifest.xml:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;a rel=&quot;nofollow&quot; href=&quot;http://codeshare.io/5MIMs&quot;&gt;http://codeshare.io/5MIMs&lt;/a&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	Do you have any ideas I can try to get push notifications working in my own project? &amp;nbsp;Thanks!&lt;/p&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=2033/push-notifications-arent-received-on-android-using-unity-3d</guid>
<pubDate>Tue, 03 Jun 2014 20:48:53 +0000</pubDate>
</item>
<item>
<title>Cant find document by id when running scheduled code</title>
<link>http://forum.shephertz.com/?qa=1957/cant-find-document-by-id-when-running-scheduled-code</link>
<description>&lt;p&gt;
	Hi there Community,&lt;/p&gt;
&lt;p&gt;
	I have the next problem:&lt;/p&gt;
&lt;p&gt;
	I'm trying to scheduled a custom code to run every week. Its easy to make the scheduling and thats nice.&lt;/p&gt;
&lt;p&gt;
	I've download the last code sample for custom codes, when I modify the code to run a search over a document inside a collection, I get some errors, before I tried findAllDocuments and gave me error too.&lt;/p&gt;
&lt;p&gt;
	Here is the code:&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	String dbName = &lt;span style=&quot;color: #3933ff&quot;&gt;&quot;TESTDB&quot;&lt;/span&gt;; &amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	String collectionName = &lt;span style=&quot;color: #3933ff&quot;&gt;&quot;InfoCollection&quot;&lt;/span&gt;;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);&quot;&gt;
	&lt;span style=&quot;color: #000000&quot;&gt;String docID = &lt;/span&gt;&quot;53864b14e4b0b33395a6a7cf&quot;&lt;span style=&quot;color: #000000&quot;&gt;; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	logger.debug(&lt;span style=&quot;color: #3933ff&quot;&gt;&quot;Find Document by id in [&quot;&lt;/span&gt;+dbName+&lt;span style=&quot;color: #3933ff&quot;&gt;&quot;][&quot;&lt;/span&gt;+collectionName+&lt;span style=&quot;color: #3933ff&quot;&gt;&quot;] with [&quot;&lt;/span&gt;+docID+&lt;span style=&quot;color: #3933ff&quot;&gt;&quot;] NOW!&quot;&lt;/span&gt;, moduleName);&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(147, 26, 104);&quot;&gt;
	try&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	{&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	Storage storage = storageService.findDocumentById(dbName,collectionName,docID);&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	logger.debug(&lt;span style=&quot;color: #3933ff&quot;&gt;&quot;dbName is &quot;&lt;/span&gt; + storage.getDbName(), moduleName);&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	//other code never reached here&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	}&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	&lt;span style=&quot;color: #931a68&quot;&gt;catch&lt;/span&gt;(App42Exception exception)&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	{ &amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #931a68&quot;&gt;int&lt;/span&gt; appErrorCode = exception.getAppErrorCode(); &amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #931a68&quot;&gt;int&lt;/span&gt; httpErrorCode = exception.getHttpErrorCode();&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	&amp;nbsp; &amp;nbsp; logger.debug(&lt;span style=&quot;color: #3933ff&quot;&gt;&quot;Error finding document with id appCode[&quot;&lt;/span&gt;+appErrorCode+&lt;span style=&quot;color: #3933ff&quot;&gt;&quot;] httpCode[&quot;&lt;/span&gt;+httpErrorCode+&lt;span style=&quot;color: #3933ff&quot;&gt;&quot;]&quot;&lt;/span&gt;, moduleName);&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; font-family: Monaco;&quot;&gt;
	&amp;nbsp; &amp;nbsp; logger.debug(&lt;span style=&quot;color: #3933ff&quot;&gt;&quot;Cant find document with id [&quot;&lt;/span&gt;+docID+&lt;span style=&quot;color: #3933ff&quot;&gt;&quot;]&quot;&lt;/span&gt;, moduleName);&lt;/p&gt;
&lt;p&gt;
	}&lt;/p&gt;
&lt;p&gt;
	In the log service I've got the next messages:&lt;/p&gt;
&lt;p&gt;
	&quot;Error finding document with id appCode[0] httpCode[0]&quot;&lt;/p&gt;
&lt;p&gt;
	&quot;Cant find document with id [53864b14e4b0b33395a6a7cf]&quot;&lt;/p&gt;
&lt;p&gt;
	I've triple checked the doc id, and as I said before even findAllDocuments fails.&lt;/p&gt;
&lt;p&gt;
	Any idea where I could search for the answer?&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Hope you can help me.&lt;/p&gt;
&lt;p&gt;
	Thanks in advance.&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>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=1957/cant-find-document-by-id-when-running-scheduled-code</guid>
<pubDate>Fri, 30 May 2014 20:15:05 +0000</pubDate>
</item>
<item>
<title>For scale setting of the free version</title>
<link>http://forum.shephertz.com/?qa=1911/for-scale-setting-of-the-free-version</link>
<description>&lt;div&gt;
	Hi. Are you sure would not be able to change the kontena power or No. Of Instances on a scale setting of the free version?&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	If you try to change &quot;Please upgrade the setup&quot; is displayed.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	You can not select a Flavour Type in the Upgrade / Downgrade of BPaas Setup List.&lt;/div&gt;</description>
<category>App42PaaS &amp; BPaaS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=1911/for-scale-setting-of-the-free-version</guid>
<pubDate>Wed, 28 May 2014 07:45:39 +0000</pubDate>
</item>
</channel>
</rss>