<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Shephertz Community - Recent questions in Cocos2D-X</title>
<link>http://forum.shephertz.com/?qa=questions/products/app42-cloud-api-baas/cocos2d-x</link>
<description>Powered by Question2Answer</description>
<item>
<title>Unable To Receive e-mail Through Email Services.</title>
<link>http://forum.shephertz.com/?qa=10821/unable-to-receive-e-mail-through-email-services</link>
<description>&lt;p&gt;
	Configured Email services succesfully, and send e-mail successfully too (Got Success callback), but recevier did not get mail. Please guide me to make this working. Thanks in advance. Here is my Configure and Send email code snippet i.e&lt;/p&gt;
&lt;p&gt;
	1.Configure:-&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;AppManager&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;::configureEmailServiceRequest(){&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; emailHost = &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;&quot;smtp.gmail.com&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; emailPort = &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;465&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s7&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt; emailId = &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;MyEmail&quot;&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; password = &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;&quot;Mypassword&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;bool&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; isSSL = &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p4&quot;&gt;
	&lt;span class=&quot;s7&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;App42API&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;Initialize&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;APPWARP_APP_KEY&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;APPWARP_SECRET_KEY&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;EmailService&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; *emailService = &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;App42API&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;BuildEmailService&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;emailService-&amp;gt;&lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;createMailConfiguration&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(emailHost.&lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;c_str&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(), emailPort, emailId.&lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;c_str&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(), password.&lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;c_str&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(), isSSL, &lt;/span&gt;&lt;span class=&quot;s10&quot;&gt;app42callback&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;AppManager&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;onConfigureEmailServiceRequest&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;));&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;}&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;2.Send:-&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;AppManager&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;::sendEmailTo(&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; to, &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; sender, &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; subject, &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; message){&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span class=&quot;s5&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;EmailMIME&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt; emailMime = &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;PLAIN_TEXT_MIME_TYPE&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s5&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;App42API&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;Initialize&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;APPWARP_APP_KEY&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;APPWARP_SECRET_KEY&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;EmailService&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; *emailService = &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;App42API&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;BuildEmailService&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;emailService-&amp;gt;&lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;sendMail&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(to.&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;c_str&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(), subject.&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;c_str&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(), message.&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;c_str&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(),sender.&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;c_str&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(),emailMime,&lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;app42callback&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;AppManager&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;onSendEmail&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;));&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s2&quot;&gt;}&lt;/span&gt;&lt;/p&gt;</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10821/unable-to-receive-e-mail-through-email-services</guid>
<pubDate>Tue, 21 Nov 2017 13:06:12 +0000</pubDate>
</item>
<item>
<title>When update push plugin using FCM for Cocos2dx?</title>
<link>http://forum.shephertz.com/?qa=10306/when-update-push-plugin-using-fcm-for-cocos2dx</link>
<description>&lt;p&gt;
	&lt;span style=&quot;font-size:12px;&quot;&gt;Hello, i'm using App42 SDK for Cocos2dx in my game, now i need push notification features but seem your plugin is outdated, &quot;gcm.jar&quot; is deprecated and with FCM it'll not need too many permission like GCM, so are you working on that? Or can you give some tutorials for me to do it myself while waiting your update?&lt;/span&gt;&lt;/p&gt;</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10306/when-update-push-plugin-using-fcm-for-cocos2dx</guid>
<pubDate>Wed, 22 Mar 2017 04:24:00 +0000</pubDate>
</item>
<item>
<title>cocos2dx v3.14 app42 &quot;_curl_easy_cleanup&quot; Undefined symbols for architecture armv7 error</title>
<link>http://forum.shephertz.com/?qa=10057/cocos2dx-_curl_easy_cleanup-undefined-symbols-architecture</link>
<description>&lt;p&gt;
	i upgrade cocos2dx3.14 version because apple ipv6 problems. i include app42 folder an error occurred.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	Undefined symbols for architecture armv7:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &quot;_curl_easy_cleanup&quot;, referenced from:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::CURLRaii::~CURLRaii() in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &quot;_curl_easy_init&quot;, referenced from:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::CURLRaii::CURLRaii() in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &quot;_curl_easy_perform&quot;, referenced from:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::CURLRaii::perform(long*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &quot;_curl_slist_free_all&quot;, referenced from:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::CURLRaii::~CURLRaii() in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &quot;_curl_easy_getinfo&quot;, referenced from:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::CURLRaii::perform(long*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &quot;_curl_formfree&quot;, referenced from:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::processPostFileTask(App42Network::App42HttpRequest*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, long*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, char*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::processPostFileDataTask(App42Network::App42HttpRequest*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, long*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, char*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &quot;_curl_easy_strerror&quot;, referenced from:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::CURLRaii::perform(long*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &quot;_curl_slist_append&quot;, referenced from:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::CURLRaii::init(App42Network::App42HttpRequest*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, char*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &quot;_curl_formadd&quot;, referenced from:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::processPostFileTask(App42Network::App42HttpRequest*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, long*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, char*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::processPostFileDataTask(App42Network::App42HttpRequest*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, long*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, char*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &quot;_curl_easy_setopt&quot;, referenced from:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; bool App42Network::CURLRaii::setOption&amp;lt;bool&amp;gt;(CURLoption, bool) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; App42Network::configureCURL(Curl_easy*, char*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; bool App42Network::CURLRaii::setOption&amp;lt;curl_slist*&amp;gt;(CURLoption, curl_slist*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; bool App42Network::CURLRaii::setOption&amp;lt;char const*&amp;gt;(CURLoption, char const*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; bool App42Network::CURLRaii::setOption&amp;lt;unsigned long (*)(void*, unsigned long, unsigned long, void*)&amp;gt;(CURLoption, unsigned long (*)(void*, unsigned long, unsigned long, void*)) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; bool App42Network::CURLRaii::setOption&amp;lt;void*&amp;gt;(CURLoption, void*) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; bool App42Network::CURLRaii::setOption&amp;lt;int&amp;gt;(CURLoption, int) in App42HttpClient.o&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; ...&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	ld: symbol(s) not found for architecture armv7&lt;/p&gt;
&lt;p&gt;
	
p.p1 {margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo}	
&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	clang: error: linker command failed with exit code 1 (use -v to see invocation)&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	how can i solve this problem?&amp;nbsp;&lt;/p&gt;</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10057/cocos2dx-_curl_easy_cleanup-undefined-symbols-architecture</guid>
<pubDate>Tue, 10 Jan 2017 01:28:30 +0000</pubDate>
</item>
<item>
<title>apple reject because  iOS 10.2 on Wi-Fi connected to an IPv6 network. with cocos2d-x</title>
<link>http://forum.shephertz.com/?qa=10020/apple-reject-because-ios-connected-ipv6-network-with-cocos2d</link>
<description>&lt;p&gt;
	my app was rejected by apple today. the reasons are as follows.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;We discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 10.2 on Wi-Fi connected to an IPv6 network.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	i use App42_Cocos2DX_SDK-master v_2.2.1 (probably the latest version)&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	how to support IPv6 on cocos2dx?&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	Could it be a problem of cocos2dx itself?&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	please answer me as soon as possioble.&lt;/p&gt;</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10020/apple-reject-because-ios-connected-ipv6-network-with-cocos2d</guid>
<pubDate>Tue, 03 Jan 2017 02:17:27 +0000</pubDate>
</item>
<item>
<title>How to Increase part of Json Document data?</title>
<link>http://forum.shephertz.com/?qa=9824/how-to-increase-part-of-json-document-data</link>
<description>Hello.

i use Cocos2d-x and App42 api.

 

i have document

key1 : &quot;test&quot;, key2: &quot;test1&quot;,key3 : &quot;test2&quot;, point : 10, and more keys...

 

how to increase point Without get document data?

i wanna increase only point fast and oftentimes.

thanks.</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9824/how-to-increase-part-of-json-document-data</guid>
<pubDate>Wed, 02 Nov 2016 01:46:17 +0000</pubDate>
</item>
<item>
<title>Getting started using Cocos2dx</title>
<link>http://forum.shephertz.com/?qa=9755/getting-started-using-cocos2dx</link>
<description>&lt;p&gt;
	I am planning on using the App42 Cocos2d-x integration since our apps are all based on Cocos2d-x.&amp;nbsp; Under the App42 FAQ documentation there is a Getting Started section, but it doesn't have &lt;strong&gt;anything &lt;/strong&gt;regarding using Cocos2d-x.&lt;/p&gt;
&lt;p&gt;
	My question is if you are using the Cocos2d-x version of App42 Cloud, what are the integration steps for Android and iOS?&amp;nbsp; Is EVERYTHING done thru the CPP files in the ZIP file, or are additional JAR's/Frameworks required to use App42 for Cloud?&lt;br&gt;
	&lt;br&gt;
	So much of the site is well documented, but there is almost nothing for people using Cocos2d-x.&lt;br&gt;
	&lt;br&gt;
	Thanks.&lt;/p&gt;</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9755/getting-started-using-cocos2dx</guid>
<pubDate>Tue, 11 Oct 2016 17:01:54 +0000</pubDate>
</item>
<item>
<title>Best example of saving user data using Cocos2dx</title>
<link>http://forum.shephertz.com/?qa=9747/best-example-of-saving-user-data-using-cocos2dx</link>
<description>Is there a good sample of how to save additional user data using the Cocos2dx interface?  I want to save their progress (like the levels they have unlocked in a category).  The only info I've found so far is this page for doing it with JSON:

&lt;a href=&quot;http://api.shephertz.com/tutorial/Saving-App-Data/?index=storage,app&quot; rel=&quot;nofollow&quot;&gt;http://api.shephertz.com/tutorial/Saving-App-Data/?index=storage,app&lt;/a&gt;
 

Also, when creating a user using userService-&amp;gt;CreateUser() can the userName be their email address?  That would simplify dealing with multiple people wanting to have their accounts saved with the same name (like &quot;Nick&quot; in the example code.

Thanks!</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9747/best-example-of-saving-user-data-using-cocos2dx</guid>
<pubDate>Sun, 09 Oct 2016 19:37:22 +0000</pubDate>
</item>
<item>
<title>Cocos2DX sdk have any function to convert from string representation to seconds?</title>
<link>http://forum.shephertz.com/?qa=9467/cocos2dx-function-convert-string-representation-seconds</link>
<description>Thanks for reply. I get respons in string format &amp;quot;2016-08-15T07:30:43.463Z&amp;quot;. Cocos2DX sdk have any function to convert from string representation to seconds since epoch?</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9467/cocos2dx-function-convert-string-representation-seconds</guid>
<pubDate>Mon, 15 Aug 2016 07:32:09 +0000</pubDate>
</item>
<item>
<title>Timer service. Is server time fixed?</title>
<link>http://forum.shephertz.com/?qa=9461/timer-service-is-server-time-fixed</link>
<description>Hello world! I need to use TImerService::GetCurrentTime for all players around the globe. If player play in China with player in Africa and they both use this function, whether or not they will get equal server time ( i don't mention network lattency ), and in what time zone it will be, time will be since epoch ( 1970 ) ?&lt;br /&gt;
&lt;br /&gt;
And can i get seconds from string represenration of response time?</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9461/timer-service-is-server-time-fixed</guid>
<pubDate>Fri, 12 Aug 2016 13:05:54 +0000</pubDate>
</item>
<item>
<title>Cocos2D-X Android setup instructions!</title>
<link>http://forum.shephertz.com/?qa=9051/cocos2d-x-android-setup-instructions</link>
<description>Hi There,

After succesfully developed for iOS, it's now time to work on the Android port. Looking into your documents, I couldn't find anything related with settings things up on Android? Your sample project also doesn't seem to include Android as well. So, could you please provide a guidance, especially the &quot;Android.mk&quot; file additions/changes as a list?

Thanks,

Ozden</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9051/cocos2d-x-android-setup-instructions</guid>
<pubDate>Tue, 14 Jun 2016 13:07:28 +0000</pubDate>
</item>
<item>
<title>Custom code sometimes not working</title>
<link>http://forum.shephertz.com/?qa=9032/custom-code-sometimes-not-working</link>
<description>Hi,

We are using cocos2d-x 3.8.1 and latest App42 &amp;amp; Appwarp.

From last 2 days we are facing problem with Custom code.

Sometimes we got response normally and sometimes it gets failed after 60 sec.

Same is happening with Dashboard 'Run Now' option.

Happening once in 5 times.

Pls help.

Thanks</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9032/custom-code-sometimes-not-working</guid>
<pubDate>Fri, 10 Jun 2016 05:38:12 +0000</pubDate>
</item>
<item>
<title>Apple rejects our app because of no IPv6 support in App42Cloud!</title>
<link>http://forum.shephertz.com/?qa=9028/apple-rejects-our-app-because-of-ipv6-support-in-app42cloud</link>
<description>Hi There,&lt;br /&gt;
&lt;br /&gt;
It seems that Apple is now testing all submitted apps in a strict IPv6 environment and our app got rejected because Appwarp doesn't work on IPv6! it seems &amp;quot;&lt;a href=&quot;https://api.shephertz.com/&quot; rel=&quot;nofollow&quot;&gt;https://api.shephertz.com/&lt;/a&gt;&amp;quot; is not reachable on IPv6 (checked it with &lt;a href=&quot;http://ipv6-test.com/validate.php).&quot; rel=&quot;nofollow&quot;&gt;http://ipv6-test.com/validate.php).&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This is an urgent case and would be glad if you could provide us a solution asap! FYI, we use Cocos2d-x SDK.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
Ozden</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9028/apple-rejects-our-app-because-of-ipv6-support-in-app42cloud</guid>
<pubDate>Thu, 09 Jun 2016 17:58:49 +0000</pubDate>
</item>
<item>
<title>User can't connect if system time is wrong</title>
<link>http://forum.shephertz.com/?qa=8550/user-cant-connect-if-system-time-is-wrong</link>
<description>Hi. When user attempt to connect with wrong system time it get an error. Why, and how to fix this?</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8550/user-cant-connect-if-system-time-is-wrong</guid>
<pubDate>Fri, 08 Apr 2016 16:00:17 +0000</pubDate>
</item>
<item>
<title>BuddyService questions.</title>
<link>http://forum.shephertz.com/?qa=8501/buddyservice-questions</link>
<description>Ihave another issue. Client_1 send request to Client_2. Client_1 block Client_2, Client_2 accept friend request from Сlient_2. We have following sittuation, Client_1 and Client_2 friends, but Client_1 has Client_2 in ban list. Why?&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
One more situation.&lt;br /&gt;
&lt;br /&gt;
Client_1 send friend request to Client_2. Client_2 block Client_1. Client_2 accept friend request from Client_1.&lt;br /&gt;
&lt;br /&gt;
Result Client_1 at the same time in ban_list and in friend_list of Client_2.&lt;br /&gt;
&lt;br /&gt;
---------------------&lt;br /&gt;
&lt;br /&gt;
One more question. Requests processed consequentialy? I mean, Clien_1 send friend request to Client_2, at the same time Client_2 block Client_1. If request from Client_2 will be first in queue then it att Client_1 in ban list and then request from Client_1 will be rejected?</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8501/buddyservice-questions</guid>
<pubDate>Thu, 31 Mar 2016 15:23:37 +0000</pubDate>
</item>
<item>
<title>Buddy Service question.</title>
<link>http://forum.shephertz.com/?qa=8488/buddy-service-question</link>
<description>&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif; line-height: 18px; background-color: rgb(250, 250, 250);&quot;&gt;Can i retrieve all sended friend requests?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif; line-height: 18px;&quot;&gt;&lt;span style=&quot;background-color: rgb(250, 250, 250);&quot;&gt;W&lt;/span&gt;here i can see all buddy requests with usernames and messages?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif; line-height: 18px; background-color: rgb(250, 250, 250);&quot;&gt;Can i cancel my friend request?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif; line-height: 18px;&quot;&gt;If i add to ban list user who sent me fried request. This request will be automaticaly removed?&lt;/span&gt;&lt;/p&gt;</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8488/buddy-service-question</guid>
<pubDate>Thu, 31 Mar 2016 07:56:32 +0000</pubDate>
</item>
<item>
<title>addOrUpdateKeys question</title>
<link>http://forum.shephertz.com/?qa=8469/addorupdatekeys-question</link>
<description>Hello world! Suppose i have this json stored is database. { &amp;quot;array&amp;quot; : [ 1, 2 ] } Then, two clients run cloud code and try to update this array like this. Client_1 -&amp;gt; [ 3, 4 ] Client_2 -&amp;gt; [ 5, 6 ] If they both call addOrUpdateKeys on this array i will get [ 1, 2, 3, 4, 5, 6 ] ( the elements order doesn't matter ). Or we will get situation when ( suppose ) Client_1 override array with values [ 3, 4 ] and then Client_2 override array to, and as result we will get [ 5, 6 ] ?&lt;br /&gt;
&lt;br /&gt;
------------------------&lt;br /&gt;
&lt;br /&gt;
Is there any api to remove or add element to jsonarray without touching another elements in array?&lt;br /&gt;
&lt;br /&gt;
And can we remove value by key without retrieving JSONObject first?</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8469/addorupdatekeys-question</guid>
<pubDate>Tue, 29 Mar 2016 11:21:10 +0000</pubDate>
</item>
<item>
<title>saveOrUpdateDocumentByKeyValue issue.</title>
<link>http://forum.shephertz.com/?qa=8419/saveorupdatedocumentbykeyvalue-issue</link>
<description>&lt;p&gt;
	Hi. I try to use custom code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	In tutorial said:&lt;br&gt;
	&quot;saveOrUpdateDocumentByKeyValue&amp;nbsp;&lt;span style=&quot;color: rgb(27, 27, 27); font-family: droid_sansregular; font-size: 14px; line-height: 20px;&quot;&gt;This key value pair will be searched in the JSON doc stored in the cloud and matching doc will be updated with the new value passed.&lt;/span&gt;&quot;&lt;/p&gt;
&lt;p&gt;
	I want to update specific keys in whole json document. Icreate JSONObject with updated chunk of data like that:&lt;/p&gt;
&lt;div&gt;
	&lt;strong&gt;final JSONObject updatedData= new JSONObject();&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;updatedData.put( Shared.KEY_SENDED_REQUESTS, initiatorSendedRequestsList ); //&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;initiatorSendedRequestsList &amp;nbsp;JSONArray&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;updatedData.put( Shared.KEY_USER_ID, mInitiatorId ); //&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;mInitiatorId &amp;nbsp;String&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&lt;strong&gt;mStorageService.saveOrUpdateDocumentByKeyValue( Shared.DATABASE_NAME, Shared.COLLECTION_FRIENDS, Shared.KEY_USER_ID, mInitiatorId, updatedData);&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	But this method will owerride entire document or completely create new document with just updated data. Why, what i'm doing wrong?&lt;/div&gt;
&lt;div&gt;
	I think i have to use addOrUpdateKeys but StorageService in custm code java sdk doesn't have this method. Why?&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	--------------------------------------------------------------------&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Ok. Iresolve issue with document overriding by updating App42 Java lib and &amp;nbsp;replace saveOrUpdateDocumentByKeyValue by&amp;nbsp;addOrUpdateKeys . I think developers should update eclipse sample project.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	But what diffetence between&amp;nbsp;saveOrUpdateDocumentByKeyValue &amp;nbsp;and updateDocumentByKeyValue, they both override existing document.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	[ Custom code, Java ]&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	--------------------------------------------------------------------&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Ia have one more question. Is custom code calls executed in queue?&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Suppose sittuation. Client1 call Func1, and Client2 call Func2.&lt;/div&gt;
&lt;div&gt;
	First execute Func1 and then Func2, or they will be invoked in parallel?&lt;/div&gt;</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8419/saveorupdatedocumentbykeyvalue-issue</guid>
<pubDate>Fri, 25 Mar 2016 14:26:15 +0000</pubDate>
</item>
<item>
<title>Issue with custom code.</title>
<link>http://forum.shephertz.com/?qa=8404/issue-with-custom-code</link>
<description>Hello! I deploy .jar file with my custom code and try to call it. After some time of loading i get error &amp;quot;Something went wrong&amp;quot;. Then i try to call this code from Cocos2dx API ang get timeout error. But when i debug this code in eclipse it runs actualy as i expect. I have another deployed .jar files, and they run successfuly from Dashboard, Cocos2dxAPI. What i'm doing wrong?&lt;br /&gt;
&lt;br /&gt;
I put log at first line of execute method and don't se output in my dashboard. This means that my custom code even not invoked. Why?</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8404/issue-with-custom-code</guid>
<pubDate>Thu, 24 Mar 2016 15:08:57 +0000</pubDate>
</item>
<item>
<title>Is it possible to remove element from JSONArray ( java )</title>
<link>http://forum.shephertz.com/?qa=8394/is-it-possible-to-remove-element-from-jsonarray-java</link>
<description>Hello. Can i remove element from JSONArray ( Java )?</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8394/is-it-possible-to-remove-element-from-jsonarray-java</guid>
<pubDate>Tue, 22 Mar 2016 18:34:44 +0000</pubDate>
</item>
<item>
<title>Get full list on app error codes.</title>
<link>http://forum.shephertz.com/?qa=8392/get-full-list-on-app-error-codes</link>
<description>Hello!

Where i can read all possible App42 error codes?</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8392/get-full-list-on-app-error-codes</guid>
<pubDate>Mon, 21 Mar 2016 16:07:46 +0000</pubDate>
</item>
<item>
<title>Two questions about data update.</title>
<link>http://forum.shephertz.com/?qa=8376/two-questions-about-data-update</link>
<description>Hello world! &amp;nbsp;I have two questions.&lt;br /&gt;
&lt;br /&gt;
1:&lt;br /&gt;
&lt;br /&gt;
I know that API has function StorageService::AddOrUpdateKeys. But this function has argument objectId. Can i update some keys of object by querry?. UpdateDocumentByQuery will remove not updated fields.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;2:&lt;br /&gt;
&lt;br /&gt;
I know than wi can add additional data when signup or auth user. Can i update additional user object?</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8376/two-questions-about-data-update</guid>
<pubDate>Fri, 18 Mar 2016 15:45:28 +0000</pubDate>
</item>
<item>
<title>How to send push notification from custom code?</title>
<link>http://forum.shephertz.com/?qa=8244/how-to-send-push-notification-from-custom-code</link>
<description>AFAIK we cannot use App42 classes in custom code.

Then how can we send push notification through custom code?

Also what else we can achieve from custom code?

Any example link apart from custom_sample?</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8244/how-to-send-push-notification-from-custom-code</guid>
<pubDate>Fri, 26 Feb 2016 09:42:14 +0000</pubDate>
</item>
<item>
<title>How to update and delete Avatar? cocos2d-x</title>
<link>http://forum.shephertz.com/?qa=8203/how-to-update-and-delete-avatar-cocos2d-x</link>
<description>Hello,

 

There is not API to update Avatar or delete Avatar once its created.

Also if we create 2 avatar with same name new one is not replacng with old one.

Any hepl?

Thanks.</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8203/how-to-update-and-delete-avatar-cocos2d-x</guid>
<pubDate>Mon, 22 Feb 2016 10:27:49 +0000</pubDate>
</item>
<item>
<title>app42 Couldn't resolve host, NO result from proxy</title>
<link>http://forum.shephertz.com/?qa=7880/app42-couldnt-resolve-host-no-result-from-proxy</link>
<description>&lt;p&gt;
	Hello,&lt;/p&gt;
&lt;p&gt;
	I have just started using app42 with cocos2d-x (currently working on android build)&lt;/p&gt;
&lt;p&gt;
	but i am not able to simply create user or get user info, below is my code&lt;/p&gt;
&lt;pre class=&quot;brush:cpp;&quot;&gt;
App42API::Initialize(API_KEY, SECRET_KEY);

	UserService *userService = App42API::BuildUserService();
	const char* userName = &quot;smit&quot;;
	const char* pwd = &quot;patel&quot;;
	const char* emailId = &quot;dummy@nthg.com&quot;;

	userService-&amp;gt;CreateUser(userName, pwd, emailId, app42callback(MenuLogin::onUserRequestCompleted, this));
// or trying to get user create in dashboard
	userService-&amp;gt;GetUser(userName, app42callback(MenuLogin::onUserRequestCompleted, this));&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	in logcat i am getting this error response,&lt;/p&gt;
&lt;div&gt;
	D/libc-netbsd( 3113): getaddrinfo: https%3A%2F%2Fapi.shephertz.com%2Fcloud%2F1.0&lt;/div&gt;
&lt;div&gt;
	%2Fuser%2Fsmit%3F NO result from proxy&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113):&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113): code=-1...=0&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113):&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113): Response Body=&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113):&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113): errordetails:Couldn't resolve host 'https%3A%2F%2&lt;/div&gt;
&lt;div&gt;
	Fapi.shephertz.com%2Fcloud%2F1.0%2Fuser%2Fsmit%3F'&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113):&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113): errorMessage:&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113):&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113): appErrorCode:0&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113):&lt;/div&gt;
&lt;div&gt;
	D/cocos2d-x debug info( 3113): httpErrorCode:-1&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	I checked in 2 diff devices, also internet is working fine.&lt;/div&gt;
&lt;div&gt;
	Also tested with carrier 3g and wifi but same result.&lt;/div&gt;
&lt;div&gt;
	any idea whats wrong?&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Cocos2D-X</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7880/app42-couldnt-resolve-host-no-result-from-proxy</guid>
<pubDate>Wed, 30 Dec 2015 06:55:27 +0000</pubDate>
</item>
</channel>
</rss>