<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Shephertz Community - Recent questions in iOS</title>
<link>http://forum.shephertz.com/?qa=questions/products/app42-cloud-api-baas/ios</link>
<description>Powered by Question2Answer</description>
<item>
<title>Xcode 14 Simulator Build Error</title>
<link>http://forum.shephertz.com/?qa=11615/xcode-14-simulator-build-error</link>
<description>Hello, 

TOday I upgrade to xcode 14 and try to build my project but I receive this error:

Building for iOS Simulator, but linking in object file built for iOS,file Frameworks/Shephertz_App42_iOS_API.framework/Shephertz_App42_iOS_API' for architecture arm64

 

What I can do ?</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11615/xcode-14-simulator-build-error</guid>
<pubDate>Thu, 20 Oct 2022 10:01:39 +0000</pubDate>
</item>
<item>
<title>Numerous crashes on crashlytics</title>
<link>http://forum.shephertz.com/?qa=11114/numerous-crashes-on-crashlytics</link>
<description>Hi,

 

This is what I got from Crashlytics:

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x1822bad8c __exceptionPreprocess
1  libobjc.A.dylib                0x1814745ec objc_exception_throw
2  CoreFoundation                 0x1822c8098 __methodDescriptionForSelector
3  CoreFoundation                 0x1822c05c8 ___forwarding___
4  CoreFoundation                 0x1821a641c _CF_forwarding_prep_0

0x102cfa750 -[ClientChannel sendData:] (ClientChannel.m:346)
0x102d04db0 -[WarpClient sendChat:] (WarpClient.m:1900)

 

Unfortunately, I do not know which version I have. But, I may have downloaded in May of 2016.

 

Thank you,

Vasilis</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11114/numerous-crashes-on-crashlytics</guid>
<pubDate>Thu, 17 May 2018 14:40:43 +0000</pubDate>
</item>
<item>
<title>Connection Error</title>
<link>http://forum.shephertz.com/?qa=10814/connection-error</link>
<description>As of today when I try to connect i get connection_error. Any ideas why?</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10814/connection-error</guid>
<pubDate>Sat, 11 Nov 2017 19:01:18 +0000</pubDate>
</item>
<item>
<title>Using getTopNRankersFromFacebook with access token string.</title>
<link>http://forum.shephertz.com/?qa=10684/using-gettopnrankersfromfacebook-with-access-token-string</link>
<description>&lt;p&gt;
	Hi&lt;/p&gt;
&lt;p&gt;
	I want to fetch facebook top rankers using API method -&amp;nbsp;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0); font-family: Menlo; font-size: 14px;&quot;&gt;getTopNRankersFromFacebook&amp;nbsp;&lt;/span&gt;but &amp;nbsp;this method requires access token string as parameter. I am using latest Swift API provided by facebook in which Acces Token is a Struct and i am not able to find an option to get token string.&lt;/p&gt;
&lt;p&gt;
	Can you please help me out with that or if there exists any other API which supports current struct as input parameter?&lt;/p&gt;
&lt;p&gt;
	Looking forward for a quick response :)&lt;/p&gt;
&lt;p&gt;
	Thanks&lt;/p&gt;

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #000000}
span.s1 {font-variant-ligatures: no-common-ligatures}</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10684/using-gettopnrankersfromfacebook-with-access-token-string</guid>
<pubDate>Sun, 13 Aug 2017 15:57:08 +0000</pubDate>
</item>
<item>
<title>getting error as &quot;Client is not authorized&quot; in ios simulator</title>
<link>http://forum.shephertz.com/?qa=10666/getting-error-as-client-is-not-authorized-in-ios-simulator</link>
<description>Hi Team, Am getting error as &amp;quot;Client is not authorized&amp;quot; while running in iphone simulator, despite setting correct api key and secret key, I just wrote as &amp;quot; [App42API initializeWithAPIKey:@&amp;quot;xxx&amp;quot; andSecretKey:@&amp;quot;xxxxx&amp;quot;]; &amp;quot; . Any help please ? Thanks</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10666/getting-error-as-client-is-not-authorized-in-ios-simulator</guid>
<pubDate>Wed, 26 Jul 2017 15:31:33 +0000</pubDate>
</item>
<item>
<title>Timer class conflicts Timer of Swift 3</title>
<link>http://forum.shephertz.com/?qa=10654/timer-class-conflicts-timer-of-swift-3</link>
<description>I am using App42 iOS SDK API and it contains a Timer.h class which conflicts the Swift's own Timer class. Does this mean i will not be able to use Swift's timer in my App?&lt;br /&gt;
&lt;br /&gt;
It is a basic practice to use prefixes in classnames while creating a framework so that it may not conflict with apple's framework classes. Can you please help me out with any other API in swift which works or update the current framework?</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10654/timer-class-conflicts-timer-of-swift-3</guid>
<pubDate>Sun, 23 Jul 2017 08:52:02 +0000</pubDate>
</item>
<item>
<title>Help publishing to Appstore</title>
<link>http://forum.shephertz.com/?qa=10567/help-publishing-to-appstore</link>
<description>Hi, I'm trying to publish an App to the AppStore but apple asks if my app uses encryption or https calls. My code doesn't use encryption but I'm not sure if the SDK of App42 does, so if my app uses the storage service and Firebase notifications, what should I answer??</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10567/help-publishing-to-appstore</guid>
<pubDate>Sun, 18 Jun 2017 11:25:42 +0000</pubDate>
</item>
<item>
<title>Query Count and Random Result</title>
<link>http://forum.shephertz.com/?qa=10362/query-count-and-random-result</link>
<description>So this is a two part question. I have a table of say 1000 documents. One element of each document is &amp;quot;visited&amp;quot;. Ultimately, what I want to do is pull down 1 random record where visited = false. My oriignal approach was to count how many records have visited == false. However, the findAllCount does not have a query option. Then I would do a random from 0..&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
PS. Trying to avoid using Query Find with paging to get the document count. I dont want it to return 1000's of records just to get a count.</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10362/query-count-and-random-result</guid>
<pubDate>Wed, 05 Apr 2017 03:03:22 +0000</pubDate>
</item>
<item>
<title>App42 blocks main thread after application becomes active</title>
<link>http://forum.shephertz.com/?qa=10154/app42-blocks-main-thread-after-application-becomes-active</link>
<description>&lt;p&gt;
	Hello!&lt;/p&gt;
&lt;div&gt;
	The app is freezing every time it becomes active. It seems that it synchronizing the data on the main thread and locks it.&lt;/div&gt;
&lt;div&gt;
	(See screenshot - &lt;a href=&quot;https://www.dropbox.com/s/9t2cxxmgtt40l7t/Screen%20Shot%202017-02-01%20at%201.37.00%20PM.png?dl=0)&quot; rel=&quot;nofollow&quot;&gt;https://www.dropbox.com/s/9t2cxxmgtt40l7t/Screen%20Shot%202017-02-01%20at%201.37.00%20PM.png?dl=0)&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Sometimes during this process splash screen from our app is visible, but we have seen random screen from our app instead of splash and it also continues for ~10-20 seconds. (See video - &lt;a href=&quot;https://www.dropbox.com/s/aque3itfprr25c2/IMG_0314.MOV?dl=0)&quot; rel=&quot;nofollow&quot;&gt;https://www.dropbox.com/s/aque3itfprr25c2/IMG_0314.MOV?dl=0)&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	The worst case is when a user is prompted with any iOS permission (for example 'Camera permission') and after confirming he need to wait ~10-20 seconds before app will become responsible. &amp;nbsp;(See video - &lt;a href=&quot;https://www.dropbox.com/s/zlff52u0h294uxg/MUSEUM_FREEZE.mov?dl=0)&quot; rel=&quot;nofollow&quot;&gt;https://www.dropbox.com/s/zlff52u0h294uxg/MUSEUM_FREEZE.mov?dl=0)&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	For testing I've created a new project and have linked 3.5.5.3/AsyncAPI/Shephertz_App42_iOS_API.framework and I have the same issue.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Then I've tried to disable all tracking services, but it doesn't help:&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; [App42API setOfflineStorage:NO];&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; [App42API enableCrashEventHandler:NO];&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; [App42API enableAppStateEventTracking:NO];&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; [App42API enableAppAliveTracking:NO];&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; [App42API enableEventService:NO];&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; [App42API enableApp42Trace:NO];&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	All these issues are very critical for our application and UX and we hope that you can help us to improve the performance.&lt;/div&gt;
&lt;div&gt;
	Thank you!&lt;/div&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10154/app42-blocks-main-thread-after-application-becomes-active</guid>
<pubDate>Mon, 06 Feb 2017 11:08:25 +0000</pubDate>
</item>
<item>
<title>0 msg and 0 CCU since Feb 1st</title>
<link>http://forum.shephertz.com/?qa=10150/0-msg-and-0-ccu-since-feb-1st</link>
<description>I have already tried to contact the support team, during the weekend, but I have not heard from them.

Since February 1st, my apps have 0 msg and 0 CCU, but, in the live stats I have 1373 CCU. I do not see any user in my app. I have not changed the code, and the app was working before the 1st of February. Since this is a game, many users are complaining about my app. Please fix this problem with your server.

 

Thank you</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10150/0-msg-and-0-ccu-since-feb-1st</guid>
<pubDate>Mon, 06 Feb 2017 08:51:30 +0000</pubDate>
</item>
<item>
<title>Push notification in iOs 10 with Cocos2d-x</title>
<link>http://forum.shephertz.com/?qa=9752/push-notification-in-ios-10-with-cocos2d-x</link>
<description>&lt;p&gt;
	How can I get pushnotifications work in iOs 10 using&lt;strong&gt; App42Bridge &lt;/strong&gt;in Cocos2d-x?&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9752/push-notification-in-ios-10-with-cocos2d-x</guid>
<pubDate>Tue, 11 Oct 2016 13:47:28 +0000</pubDate>
</item>
<item>
<title>buddy service</title>
<link>http://forum.shephertz.com/?qa=9723/buddy-service</link>
<description>Hello ,

I am using buddy service for of app42 iOS. In the message field of buddy class the special characters like emojis etc are converted to uni code characters like \u0032. The strReponse of budy class contains the correct representation of these emojis but as soon the string reponse is converted to buddy class objects the cahraters are converted to uni code charcters. Please have a look at this and suggest me some proper measures.

Below i have attached the sample data.the first portion is from budyy message property and the second one is strResponse. You can clearly see after conversion of str response to buddy object the emojis, specials characters are converted to uni code.

Please respond as soon as you can.

Thanks</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9723/buddy-service</guid>
<pubDate>Mon, 03 Oct 2016 12:41:53 +0000</pubDate>
</item>
<item>
<title>IOS push is not updating from background</title>
<link>http://forum.shephertz.com/?qa=9416/ios-push-is-not-updating-from-background</link>
<description>As the title described, for IOS to update push notification from background require user to include &quot;content-available&quot;: 1 in the payload, but send push from App42 HQ console is unable to achieve that even using the key and value function since the value is sent in form of string.

is there any settings of ways to achieve this?</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9416/ios-push-is-not-updating-from-background</guid>
<pubDate>Wed, 10 Aug 2016 02:45:47 +0000</pubDate>
</item>
<item>
<title>Find Document By Key Value with multiple Keys and Values</title>
<link>http://forum.shephertz.com/?qa=9399/find-document-by-key-value-with-multiple-keys-and-values</link>
<description>Hi, I have tried to find an answer to this question for some time but can't find an answer..&lt;br /&gt;
&lt;br /&gt;
Is it possible to use FindDocumentByKeyValue with multiple keys and corresponding values? If yes, how do you set your keys and values? I am using Swift by the way.&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
let keys = ....&lt;br /&gt;
let values = .... &lt;br /&gt;
&lt;br /&gt;
Best regards&lt;br /&gt;
&lt;br /&gt;
Erik</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9399/find-document-by-key-value-with-multiple-keys-and-values</guid>
<pubDate>Mon, 08 Aug 2016 18:35:14 +0000</pubDate>
</item>
<item>
<title>Unable to show push message inside app...</title>
<link>http://forum.shephertz.com/?qa=9319/unable-to-show-push-message-inside-app</link>
<description>&lt;p&gt;
	Hi Rajeev,&lt;/p&gt;
&lt;p&gt;
	I'm able to send push notifications to my device. But when i click on that notification it just opens the app. No message is shown inside the app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Code used by me:&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; (application.&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;applicationState&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; == &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;UIApplicationStateActive&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;s4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt; *cancelTitle = &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;@&quot;Close&quot;&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt; *showTitle = &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;@&quot;Show&quot;&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt; *message = [[userInfo &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;valueForKey&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;@&quot;aps&quot;&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;] &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;valueForKey&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;@&quot;alert&quot;&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;];&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;UIAlertView&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt; *alertView = [[&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;UIAlertView&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;alloc&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;] &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;initWithTitle&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;@&quot;Some title&quot;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;message&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;:message&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;delegate&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;cancelButtonTitle&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;:cancelTitle&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;otherButtonTitles&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;:showTitle, &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;nil&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;];&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [alertView &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;show&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;];&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;[alertView &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;];&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp; &amp;nbsp; } &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;s4&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; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;//Do stuff that you would do if the application was not active&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p4&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;But unable to show my message with the help of above code. Above code only works when my app is open that is in foreground state than only this alert gets displayed else not.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;Please help.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s4&quot;&gt;Thanks.&lt;/span&gt;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9319/unable-to-show-push-message-inside-app</guid>
<pubDate>Thu, 21 Jul 2016 18:26:53 +0000</pubDate>
</item>
<item>
<title>Unauthorized Access AppErrorCode 1401</title>
<link>http://forum.shephertz.com/?qa=9292/unauthorized-access-apperrorcode-1401</link>
<description>&lt;p&gt;
	Please help.&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);&quot;&gt;
	&lt;span style=&quot;color:#000000;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures&quot;&gt;&lt;b&gt;2016-07-17 01:49:30.963 Space_Runner[40489:4809145] You've implemented -[&amp;lt;UIApplicationDelegate&amp;gt; application:performFetchWithCompletionHandler:], but you still need to add &quot;fetch&quot; to the list of your supported UIBackgroundModes in your Info.plist.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);&quot;&gt;
	&lt;span style=&quot;color:#000000;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures&quot;&gt;&lt;b&gt;2016-07-17 01:49:30.991 Space_Runner[40489:4809145] UTCTimeStamp=2016-07-17T05:49:30.990Z&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);&quot;&gt;
	&lt;span style=&quot;color:#000000;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures&quot;&gt;&lt;b&gt;2016-07-17 01:49:30.993 Space_Runner[40489:4809145] SDK Version : 3.5.3&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);&quot;&gt;
	&lt;span style=&quot;color:#000000;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures&quot;&gt;&lt;b&gt;2016-07-17 01:49:31.602 Space_Runner[40489:4809145] Is Install Event Success = 1&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);&quot;&gt;
	&lt;span style=&quot;color:#000000;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures&quot;&gt;&lt;b&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;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9292/unauthorized-access-apperrorcode-1401</guid>
<pubDate>Sun, 17 Jul 2016 05:54:06 +0000</pubDate>
</item>
<item>
<title>how can i fix the ios api error cache manager</title>
<link>http://forum.shephertz.com/?qa=9065/how-can-i-fix-the-ios-api-error-cache-manager</link>
<description>&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Segoe UI&amp;quot;, Arial, freesans, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 14px; line-height: 22.4px;&quot;&gt;App42 cache manager network first policy checks for reachability and it takes a few seconds to respond&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: rgb(51, 51, 51); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Segoe UI&amp;quot;, Arial, freesans, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 14px; line-height: 22.4px;&quot;&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Segoe UI&amp;quot;, Arial, freesans, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 14px; line-height: 22.4px;&quot;&gt;And if some one turned off the net and use app42 before it checks reachability changed the app will crash&lt;/span&gt;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9065/how-can-i-fix-the-ios-api-error-cache-manager</guid>
<pubDate>Wed, 15 Jun 2016 15:51:36 +0000</pubDate>
</item>
<item>
<title>Push Notification not working</title>
<link>http://forum.shephertz.com/?qa=8866/push-notification-not-working</link>
<description>&lt;div class=&quot;x-window-ml&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 6px; zoom: 1; color: rgb(0, 0, 0); font-family: Times; font-size: 16px; background: url(&amp;quot;denied:../images/default/window/left-right.png&amp;quot;) 0px 0px repeat-y rgb(223, 232, 246);&quot;&gt;
	&lt;div class=&quot;x-window-mr&quot; style=&quot;margin: 0px; padding: 0px 6px 0px 0px; zoom: 1; background: url(&amp;quot;denied:../images/default/window/left-right.png&amp;quot;) 100% 0px repeat-y transparent;&quot;&gt;
		&lt;div class=&quot;x-window-mc&quot; id=&quot;ext-gen579&quot; style=&quot;margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-color: rgb(163, 186, 233) rgb(223, 232, 246) rgb(223, 232, 246) rgb(163, 186, 233); font-stretch: normal; font-size: 11px; font-family: tahoma, arial, helvetica, sans-serif; background-color: rgb(204, 217, 232);&quot;&gt;
			&lt;div class=&quot;x-window-body&quot; id=&quot;ext-gen576&quot; style=&quot;margin: 0px; padding: 0px; overflow: hidden; height: 83px; border-width: 1px; border-style: solid; border-color: rgb(223, 232, 246) rgb(163, 186, 233) rgb(163, 186, 233) rgb(223, 232, 246); width: 784px; background: transparent !important;&quot;&gt;
				&lt;div class=&quot;x-plain x-form-label-left&quot; id=&quot;showLogFP&quot; style=&quot;margin: 0px; padding: 0px; overflow: hidden; width: 784px;&quot;&gt;
					&lt;div class=&quot;x-plain-bwrap&quot; id=&quot;ext-gen590&quot; style=&quot;margin: 0px; padding: 0px; overflow: hidden; zoom: 1;&quot;&gt;
						&lt;form action=&quot;action&quot; class=&quot;x-plain-body x-plain-body-noheader x-form&quot; id=&quot;ext-gen573&quot; method=&quot;post&quot; style=&quot;margin: 0px; padding: 15px; overflow: auto; height: auto; width: 754px; background-color: rgb(255, 255, 255);&quot;&gt;
							&lt;div id=&quot;ext-comp-1209&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
								&lt;div class=&quot;hq_errorMessage&quot; style=&quot;margin: 0px; padding: 0px; word-wrap: break-word; height: 92px; overflow-x: hidden; overflow-y: scroll; color: rgb(174, 50, 50); font-size: 13px;&quot;&gt;
									When i send a push notification, it is not showing up. I am seeing the following error in the push log:&lt;br&gt;
									iOS KeystoreException : Invalid keystore password! Verify settings for connecting to Apple...&lt;/div&gt;
							&lt;/div&gt;
						&lt;/form&gt;
					&lt;/div&gt;
				&lt;/div&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;x-window-bl&quot; id=&quot;ext-gen578&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 6px; zoom: 1; color: rgb(0, 0, 0); font-family: Times; font-size: 16px; background: url(&amp;quot;denied:../images/default/window/left-corners.png&amp;quot;) 0px 100% no-repeat rgb(223, 232, 246);&quot;&gt;
	&lt;div class=&quot;x-window-br&quot; style=&quot;margin: 0px; padding: 0px 6px 0px 0px; zoom: 1; background: url(&amp;quot;denied:../images/default/window/right-corners.png&amp;quot;) 100% 100% no-repeat transparent;&quot;&gt;
		&lt;div class=&quot;x-window-bc&quot; style=&quot;margin: 0px; padding: 0px; zoom: 1; background: url(&amp;quot;denied:../images/default/window/top-bottom.png&amp;quot;) 0px 100% repeat-x transparent;&quot;&gt;
			&lt;div class=&quot;x-window-footer x-panel-btns&quot; id=&quot;ext-gen577&quot; style=&quot;margin: 0px; padding: 5px 5px 6px; overflow: hidden; zoom: 1; font-size: 0px; line-height: 0; width: 776px;&quot;&gt;
				&amp;nbsp;&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8866/push-notification-not-working</guid>
<pubDate>Wed, 18 May 2016 21:47:35 +0000</pubDate>
</item>
<item>
<title>How to do email verification in ios?</title>
<link>http://forum.shephertz.com/?qa=8637/how-to-do-email-verification-in-ios</link>
<description>&lt;p&gt;
	Hi, i want to send a verification link to user when the user register in the app. i successful to send email to user, but how to send verfication link to user?&lt;/p&gt;
&lt;p&gt;
	i had create the email template with some text message, but when i send the email to user, the email shown is the message that i write in code but not the content that i set in template. Why? Does App42 got provide default email verification link that send to user and ask user to click on that link to verify?&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;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; *sendTo = &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;@&quot;testing@gmail.com&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; *sendSubject&amp;nbsp; = &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;@&quot;Feedback&quot;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; *sendMsg = &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;@&quot;&lt;a href=&quot;http://google.com&quot; rel=&quot;nofollow&quot;&gt;http://google.com&lt;/a&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; *senderEmailId = &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;@&quot;admin@gmail.com&quot;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p3&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;NSMutableDictionary&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; *otherMetaHeaders = [&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;NSMutableDictionary&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;dictionaryWithObjectsAndKeys&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;@&quot;Verification&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;@&quot;Email&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;nil&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;];&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;EmailService&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; *emailService = [&lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;App42API&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;buildEmailService&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;];&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; [emailService &lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;setOtherMetaHeaders&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;:otherMetaHeaders];&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; [emailService &lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;sendMail&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;:sendTo &lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;subject&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;:sendSubject &lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;Message&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;:sendMsg &lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;fromEmail&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;:senderEmailId &lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;emailMIME&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;PLAIN_TEXT_MIME_TYPE&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;completionBlock&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;:^(&lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;BOOL&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; success, &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; responseObj, &lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;App42Exception&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; *exception)&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; (success)&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;Email&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; *email = (&lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;Email&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;*)responseObj;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;NSLog&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;@&quot;from is &amp;nbsp; %@&quot;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; , email.&lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;from&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;NSLog&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;@&quot;to is&amp;nbsp; %@&quot;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; ,&amp;nbsp; email.&lt;/span&gt;&lt;span class=&quot;s8&quot;&gt;to&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;else&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;NSLog&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;@&quot;Exception = %@&quot;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;,[exception &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;reason&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;]);&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;NSLog&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;@&quot;HTTP error Code = %d&quot;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;,[exception &lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;httpErrorCode&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;]);&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;NSLog&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;@&quot;App Error Code = %d&quot;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;,[exception &lt;/span&gt;&lt;span class=&quot;s9&quot;&gt;appErrorCode&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;]);&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;NSLog&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;@&quot;User Info = %@&quot;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;,[exception &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;userInfo&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;]); &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; }];&lt;/span&gt;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8637/how-to-do-email-verification-in-ios</guid>
<pubDate>Mon, 25 Apr 2016 06:52:24 +0000</pubDate>
</item>
<item>
<title>Get friends from Facebook and send request</title>
<link>http://forum.shephertz.com/?qa=8604/get-friends-from-facebook-and-send-request</link>
<description>Hi,

I want to get the list of friends from the linked Facebook user (user log in through FB and the account is linked with App42). Which API should I use for this?

After I have the list of friends, which API should I use to send friends sign up request with my app/App42?

Thanks,

Khanh</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8604/get-friends-from-facebook-and-send-request</guid>
<pubDate>Wed, 20 Apr 2016 09:28:36 +0000</pubDate>
</item>
<item>
<title>how to upload video file in ios</title>
<link>http://forum.shephertz.com/?qa=8574/how-to-upload-video-file-in-ios</link>
<description>i want to upload video file on cloud and want to download in my app using url and play it in my app..</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8574/how-to-upload-video-file-in-ios</guid>
<pubDate>Fri, 15 Apr 2016 07:28:32 +0000</pubDate>
</item>
<item>
<title>buddy service message is not proper son</title>
<link>http://forum.shephertz.com/?qa=8538/buddy-service-message-is-not-proper-son</link>
<description>&lt;p&gt;
	When i retrive message from buddy service. it is an invalid json string. e.g&lt;/p&gt;
&lt;p&gt;
	{&lt;/p&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; data = &quot;abc'&quot;;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; from = 1234;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; to = &quot;1236&quot;;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; type = 123323;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; version = &quot;0.1&quot;;&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	can you have a look. Or guide me if i am on wromg path.&lt;/div&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8538/buddy-service-message-is-not-proper-son</guid>
<pubDate>Thu, 07 Apr 2016 12:25:46 +0000</pubDate>
</item>
<item>
<title>User lock don't work with iOS SDK</title>
<link>http://forum.shephertz.com/?qa=8535/user-lock-dont-work-with-ios-sdk</link>
<description>&lt;p&gt;
	Hi, I'm trying to add ban feature for particular user. So, I'm doing it in this way:&lt;/p&gt;
&lt;pre class=&quot;brush:cpp;&quot;&gt;
NSString *userName = [[NSUserDefaults standardUserDefaults] stringForKey:@&quot;identity&quot;];
    
    UserService *userService = [App42API buildUserService];
    [userService getUser:userName completionBlock:^(BOOL success, id responseObj, App42Exception *exception) {
        if (success)
        {
            User *user = (User*)responseObj;
            NSLog(@&quot;userName is %@&quot; , user.userName);
            NSLog(@&quot;emailId is %@&quot; ,  user.email);
            NSString *jsonResponse = [user toString];
            
            if (user.isAccountLocked) {
                NSLog(@&quot;Account locked&quot;);
            } else {
                NSLog(@&quot;Account not locked&quot;);
            }
        }
        else
        {
            NSLog(@&quot;Exception is %@&quot;,[exception reason]);
            NSLog(@&quot;HTTP error Code is %d&quot;,[exception httpErrorCode]);
            NSLog(@&quot;App Error Code is %d&quot;,[exception appErrorCode]);
            NSLog(@&quot;User Info is %@&quot;,[exception userInfo]);
        }
    }];&lt;/pre&gt;
&lt;p&gt;
	I locked user on backend admin panel, but log still the same: &quot;Account not locked&quot;.&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8535/user-lock-dont-work-with-ios-sdk</guid>
<pubDate>Thu, 07 Apr 2016 08:31:53 +0000</pubDate>
</item>
<item>
<title>unregonised selector sent when setting mapagecount in buddy service</title>
<link>http://forum.shephertz.com/?qa=8512/unregonised-selector-when-setting-mapagecount-buddy-service</link>
<description>When i try to set maxPageCount on buddy service for getAllMessages. It throws an exception of unrecognized selectore sent. When i omit this line everything works fine.

I ahve to set limit the data return. Please have a look at this.

Waiting for your response :) :)</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8512/unregonised-selector-when-setting-mapagecount-buddy-service</guid>
<pubDate>Mon, 04 Apr 2016 07:07:04 +0000</pubDate>
</item>
<item>
<title>delay action when using Storage Service</title>
<link>http://forum.shephertz.com/?qa=8412/delay-action-when-using-storage-service</link>
<description>&lt;p&gt;
	Hi, I'm using SDK version 3.4 and Swift language. When I use find document method in Storage Service to get my json, the response always comes later when my action in ViewController and my json always prints nil. I use dispatch_after to delay the print action but it still does not work. can you please help?&lt;/p&gt;
&lt;pre class=&quot;brush:csharp;&quot;&gt;
class DataManager {

var wishList = App42API.buildStorageService() as? StorageService
var json: [String: AnyObject]! // I need to assign data into this variable

init() {

    wishList?.findAllDocuments(dataBase, collectionName: collectionName, completionBlock: {(success, response, exception) -&amp;gt; Void in

        if(success){
            let storage = response as! Storage
            let jsonDocList = storage.jsonDocArray
            var jsonString: String {
                var someString: String = &quot;&quot;
                for jsonDoc in jsonDocList{
                    someString = jsonDoc.jsonDoc
                }
                return someString
            }
            let data = jsonString.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
            do {
                self.json = try NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions()) as! [String: AnyObject]
            }catch{
                print(error)
            }
        }else{
                    NSLog(&quot;%@&quot;, exception.reason!)
                    NSLog(&quot;%d&quot;, exception.appErrorCode)
                    NSLog(&quot;%d&quot;, exception.httpErrorCode)
                    NSLog(&quot;%@&quot;, exception.userInfo!)
                }})}})}
&lt;/pre&gt;
&lt;p&gt;
	The print line always prints &quot;error&quot; in ViewController&lt;/p&gt;
&lt;pre class=&quot;brush:csharp;&quot;&gt;
    override func viewDidLoad() {
    super.viewDidLoad()

    let delayInSeConds = 2.0
    let popTime = dispatch_time(DISPATCH_TIME_NOW, Int64(delayInSeConds * Double(NSEC_PER_SEC)))
    var GlobalMainQueue: dispatch_queue_t{
        return dispatch_get_main_queue()
    }
    dispatch_after(popTime, GlobalMainQueue){
        if DataManager.sharedInstance.json != nil{
            print(&quot;json is not nil&quot;)
        }else{
            print(&quot;error&quot;) // It always prints error since json is nil
        }
    }&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8412/delay-action-when-using-storage-service</guid>
<pubDate>Thu, 24 Mar 2016 22:20:58 +0000</pubDate>
</item>
<item>
<title>Parse JSON return nil iOS Swift</title>
<link>http://forum.shephertz.com/?qa=8342/parse-json-return-nil-ios-swift</link>
<description>&lt;p&gt;
	Hi the below is a snippet of my code&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
var wishList = App42API.buildStorageService() as? StorageService

var json: [String: AnyObject]!

    init() {

  wishList?.findAllDocuments(dataBase, collectionName: collectionName, completionBlock: {(success, response, exception) -&amp;gt; Void in

            if(success){

                let storage = response as! Storage

                let jsonDocList = storage.jsonDocArray

                var jsonString: String {

                    var someString: String = &quot;&quot;

                    for jsonDoc in jsonDocList{

                        someString = jsonDoc.jsonDoc

                    }

                    return someString

                }

                let data = jsonString.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!

                do {

                    self.json = try NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions()) as! [String: AnyObject]

                }catch{

                    print(error)

                }

                print(self.json)

            }else{

                        NSLog(&quot;%@&quot;, exception.reason!   }})}})}

func printJSON(){

        if json != nil{

        print(json)

        }else{

            print(&quot;error&quot;) //Always return nil: error

        }

    }&lt;/pre&gt;
&lt;p class=&quot;p2&quot;&gt;
	The variable json only has value when it's in the if(success) statement. Even after it has been successfuly executed in the if(success) statement and I try to use the variable json elsewhere, it always returns nil.&lt;/p&gt;
&lt;p class=&quot;p2&quot;&gt;
	Can you please help as of why this is the case? How do I keep the value in json outside the if(success) statement?&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8342/parse-json-return-nil-ios-swift</guid>
<pubDate>Mon, 14 Mar 2016 09:45:53 +0000</pubDate>
</item>
<item>
<title>How do I parse the json string? I'm using Swift IoS</title>
<link>http://forum.shephertz.com/?qa=8334/how-do-i-parse-the-json-string-im-using-swift-ios</link>
<description></description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8334/how-do-i-parse-the-json-string-im-using-swift-ios</guid>
<pubDate>Sat, 12 Mar 2016 04:48:19 +0000</pubDate>
</item>
<item>
<title>JSON Object size</title>
<link>http://forum.shephertz.com/?qa=8309/json-object-size</link>
<description>Hi,

I just saved my very first JSON object onto my database. How do I know the size of this JSON object? i.e. how big it is

Thanks,

Khanh</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8309/json-object-size</guid>
<pubDate>Sat, 05 Mar 2016 03:10:50 +0000</pubDate>
</item>
<item>
<title>Storing user locally from app42</title>
<link>http://forum.shephertz.com/?qa=8272/storing-user-locally-from-app42</link>
<description>Does app42 store the logged in user locally itself. After authentication of user can i get the currently logged in user. I am aware of setLoggeInUser function which can store some info about user. But i want to know is there other storage offered by app42. Thanks a lot.</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8272/storing-user-locally-from-app42</guid>
<pubDate>Tue, 01 Mar 2016 18:48:07 +0000</pubDate>
</item>
<item>
<title>Track total score from all users</title>
<link>http://forum.shephertz.com/?qa=8264/track-total-score-from-all-users</link>
<description>Hi, in my game I have gold currency and I want to track total gold all users have. Is there a way to do this? Thanks</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8264/track-total-score-from-all-users</guid>
<pubDate>Mon, 29 Feb 2016 10:01:47 +0000</pubDate>
</item>
<item>
<title>NameResolutionFailure  when CreateUser() On Xamarin Ios</title>
<link>http://forum.shephertz.com/?qa=8258/nameresolutionfailure-when-createuser-on-xamarin-ios</link>
<description>&lt;p style=&quot;direction: ltr;&quot;&gt;
	Hi,&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	We are developing a mobile app in Xamarin Native, and we got the following execption when we are trying to create&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	a new user:&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&lt;strong&gt;System.Net.WebException: Error: NameResolutionFailure&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&lt;strong&gt;&amp;nbsp; at com.shephertz.app42.paas.sdk.csharp.connection.RESTConnectorAsync.ExecutePost (System.String url, System.Collections.Generic.Dictionary`2 paramsDics, System.String bodyPayLoad, System.Collections.Generic.Dictionary`2 headerParams) [0x0010b] in &amp;lt;filename unknown&amp;gt;:0&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&lt;strong&gt;&amp;nbsp; at com.shephertz.app42.paas.sdk.csharp.user.UserService.CreateUser (System.String uName, System.String pwd, System.String emailAddress) [0x00125] in &amp;lt;filename unknown&amp;gt;:0&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&lt;strong&gt;&amp;nbsp; at UrbinderFirstProject.iOS.UISignUp.signUp (System.String i_Email, System.String i_Password) [0x00002] in C:\Users\User\Documents\Visual Studio 2015\Projects\firstproj\UrbinderFirstProject\UrbinderFirstProject.iOS\UIClasses\UISignUp.cs:27 }&lt;/strong&gt;&lt;/div&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	The weird thing is that we are devoloping to android in the same project and with the exacte same code,&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	but we get the execption only in iOS.&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	furthermore, the android code creates the user in the DB.&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	We are using this SDK:&amp;nbsp;App42_CSHARP_SDK_2.0&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	The code:&lt;/p&gt;
&lt;p style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp;private void signUp(string i_Email, string i_Password)&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BackendServices.GetUserService.CreateUser(i_Email, i_Password, i_Email);&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; txtSignUpResult_iOS.Text = &quot;You Are Signed in as &quot; + i_Email + &quot;!&quot;;&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception e)&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; txtSignUpResult_iOS.Text = &quot;Error: Please Check Youre User Credentials&quot;;&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	i get this exeption:&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
	&lt;div&gt;
		System.Net.WebException: Error: NameResolutionFailure&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; at com.shephertz.app42.paas.sdk.csharp.connection.RESTConnectorAsync.ExecutePost (System.String url, System.Collections.Generic.Dictionary`2 paramsDics, System.String bodyPayLoad, System.Collections.Generic.Dictionary`2 headerParams) [0x0010b] in &amp;lt;filename unknown&amp;gt;:0&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; at com.shephertz.app42.paas.sdk.csharp.user.UserService.CreateUser (System.String uName, System.String pwd, System.String emailAddress) [0x00125] in &amp;lt;filename unknown&amp;gt;:0&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; at UrbinderFirstProject.iOS.UISignUp.signUp (System.String i_Email, System.String i_Password) [0x00002] in C:\Users\User\Documents\Visual Studio 2015\Projects\firstproj\UrbinderFirstProject\UrbinderFirstProject.iOS\UIClasses\UISignUp.cs:27 }&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8258/nameresolutionfailure-when-createuser-on-xamarin-ios</guid>
<pubDate>Sat, 27 Feb 2016 20:10:29 +0000</pubDate>
</item>
<item>
<title>Is there a way to check if user logged in</title>
<link>http://forum.shephertz.com/?qa=8199/is-there-a-way-to-check-if-user-logged-in</link>
<description>Hi, In my app I need to check if user logged in, if not go and login. Is there a way to check it? Thanks</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8199/is-there-a-way-to-check-if-user-logged-in</guid>
<pubDate>Sun, 21 Feb 2016 14:17:07 +0000</pubDate>
</item>
<item>
<title>How to send geo-based push notification from mobile app (iOS)?</title>
<link>http://forum.shephertz.com/?qa=8182/how-to-send-geo-based-push-notification-from-mobile-app-ios</link>
<description>Hello,

I've tested the geo-based push notification from apphq site, it works well. However, I don't know how to send geo-based push notification from mobile app (iOS). 

 

Is this API existed? 

 

Kind regards,

DuyenHoa</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8182/how-to-send-geo-based-push-notification-from-mobile-app-ios</guid>
<pubDate>Thu, 18 Feb 2016 01:07:22 +0000</pubDate>
</item>
<item>
<title>How to keep user logged in? IoS Swift</title>
<link>http://forum.shephertz.com/?qa=8117/how-to-keep-user-logged-in-ios-swift</link>
<description>Hi,

I'm using App42 and Swift for my app. I'm trying to log the users in and keep them logged in, so they don't have to sign in everytime they open the app.

I have searched through the forum on this topic and I seem to get the general approach to it:

- Authenticate user which will produce a sessionId

- Store sessionID 

- Validate (getSessionID) session ID to keep the users signed in

My question is how do you store the sessionID. Is it through the App42 Storage Service method? Hopefully, my question is not to silly as I'm quite new to writing code.

Your help is much appreciated.</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8117/how-to-keep-user-logged-in-ios-swift</guid>
<pubDate>Thu, 04 Feb 2016 04:37:10 +0000</pubDate>
</item>
<item>
<title>Bitcode version of iOS SDK</title>
<link>http://forum.shephertz.com/?qa=8109/bitcode-version-of-ios-sdk</link>
<description>&lt;p&gt;
	I would really like to use App42 iOS SDK for Async API but it lacks bitcode.&lt;br&gt;
	&lt;br&gt;
	Please, dear support, can you provide a build of framework with included bitcode? Just build it with &quot;-fembed-bitcode&quot; flag in XCode 7+.&lt;/p&gt;
&lt;p&gt;
	Otherwise I can not archive the project, recieveing following warning:&lt;/p&gt;
&lt;blockquote&gt;
	&lt;p&gt;
		&quot;ld: bitcode bundle could not be generated because '/Users/admin/Desktop/Swift/Triangles/Triangles/Shephertz_App42_iOS_API.framework/Shephertz_App42_iOS_API' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8109/bitcode-version-of-ios-sdk</guid>
<pubDate>Wed, 03 Feb 2016 12:13:53 +0000</pubDate>
</item>
<item>
<title>In iOS getting error Reason = {&quot;app42Fault&quot;:{&quot;httpErrorCode&quot;:401,.......</title>
<link>http://forum.shephertz.com/?qa=8054/in-ios-getting-error-reason-app42fault-httperrorcode-401</link>
<description>&lt;p&gt;
	Hye Rajeev,&lt;/p&gt;
&lt;p&gt;
	Please find the error below..&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;Sikh Sangat NZ[566:152171] My token is: &amp;lt;ee4f8bcf 368a5628 f027304c 4d587939 8849348c 14c165b5 982bc70a bf8bf6fe&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;2016-01-24 22:48:44.450 Sikh Sangat NZ[566:152171] My token is: ee4f8bcf368a5628f027304c4d5879398849348c14c165b5982bc70abf8bf6fe&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;p1&quot;&gt;
	&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;2016-01-24 22:48:46.412 Sikh Sangat NZ[566:152171] Reason = {&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;/b&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>iOS</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8054/in-ios-getting-error-reason-app42fault-httperrorcode-401</guid>
<pubDate>Sun, 24 Jan 2016 17:29:14 +0000</pubDate>
</item>
</channel>
</rss>