<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>talkxe &#187; Uncategorized</title>
	<atom:link href="http://www.riaxe.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.riaxe.com/blog</link>
	<description>riaxe snippets</description>
	<lastBuildDate>Mon, 14 May 2012 07:11:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>APN using Flex Mobile in Windows &#8211; Native Extensions &#8211; iOS Build Issues [Solved]</title>
		<link>http://www.riaxe.com/blog/uncategorized/apn-using-flex-mobile-in-windows-native-extensions/</link>
		<comments>http://www.riaxe.com/blog/uncategorized/apn-using-flex-mobile-in-windows-native-extensions/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 12:48:40 +0000</pubDate>
		<dc:creator>Riaxe Admin</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[APN]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Native]]></category>

		<guid isPermaLink="false">http://www.riaxe.com/blog/?p=214</guid>
		<description><![CDATA[Its always difficult developing iOS apps on Windows as we don&#8217;t have access to the native stuff. While using Native Extensions for iOS devices we often miss-configure the application xml. I used the example application for using Apple Push Notifications mentioned here &#8211; http://flashsimulations.com/2011/12/16/apple-push-notification-service-native-extension-for-adobe-air/ We need to follow the following steps in order to use <a href="http://www.riaxe.com/blog/uncategorized/apn-using-flex-mobile-in-windows-native-extensions/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Its always difficult developing iOS apps on Windows as we don&#8217;t have access to the native stuff. While using Native Extensions for iOS devices we often miss-configure the application xml.</p>
<p>I used the example application for using Apple Push Notifications mentioned here &#8211; http://flashsimulations.com/2011/12/16/apple-push-notification-service-native-extension-for-adobe-air/</p>
<p>We need to follow the following steps in order to use Native Extensions for iOS on Windows using Flash Builder 4.6 and AIR 3.1:</p>
<p style="padding-left: 30px;">- <strong>We need to add the app id configured in apple&#8217;s developer portal.</strong></p>
<p style="padding-left: 60px;">&lt;!&#8211; A universally unique application identifier. Must be unique across all AIR applications.<br /> Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. &#8211;&gt;<br /> &lt;id&gt;com.riaxe.testapp&lt;/id&gt;</p>
<p style="padding-left: 30px;">- <strong>We need to copy the Entitlements present in the pList file from the mobileprovision file<br /> </strong></p>
<p style="padding-left: 60px;">We can get the Entitlements from the mobileprovision file that we use. We can get the mobileprovision file from the apple&#8217;s developer portal.</p>
<p style="padding-left: 60px;">We can copy the XML from the file under Entitlements section.</p>
<p style="padding-left: 60px;">&lt;key&gt;Entitlements&lt;/key&gt;<br /> &lt;dict&gt;<br /> &lt;key&gt;application-identifier&lt;/key&gt;<br /> &lt;string&gt;LACP5QKG47.com.riaxe.testapp&lt;/string&gt;<br /> &lt;key&gt;get-task-allow&lt;/key&gt;<br /> &lt;true/&gt;<br /> &lt;key&gt;keychain-access-groups&lt;/key&gt;<br /> &lt;array&gt;<br /> &lt;string&gt;LACP5QKG47.*&lt;/string&gt;<br /> &lt;/array&gt;<br /> &lt;/dict&gt;</p>
<p style="padding-left: 30px;">- <strong>We need to add the Entitlements XML structure onto the Application XML</strong></p>
<p style="padding-left: 60px;">&lt;iPhone&gt;<br /> &lt;Entitlements&gt;<br /> &lt;![CDATA[<br /> &lt;key&gt;application-identifier&lt;/key&gt;<br /> &lt;string&gt;LACP5WER47.com.riaxe.testapp&lt;/string&gt;<br /> &lt;key&gt;get-task-allow&lt;/key&gt;<br /> &lt;true/&gt;<br /> &lt;key&gt;keychain-access-groups&lt;/key&gt;<br /> &lt;array&gt;<br /> &lt;string&gt;LACP5WER47.*&lt;/string&gt;<br /> &lt;/array&gt;<br /> ]]&gt;<br /> &lt;/Entitlements&gt;<br /> &lt;InfoAdditions&gt;&lt;![CDATA[<br /> &lt;key&gt;UIDeviceFamily&lt;/key&gt;<br /> &lt;array&gt;<br /> &lt;string&gt;1&lt;/string&gt;<br /> &lt;string&gt;2&lt;/string&gt;<br /> &lt;/array&gt;<br /> ]]&gt;&lt;/InfoAdditions&gt;<br /> &lt;requestedDisplayResolution&gt;high&lt;/requestedDisplayResolution&gt;<br /> &lt;/iPhone&gt;</p>
<p style="padding-left: 30px;">Done!!! This would definitely fix build issues in Flash Builder 4.6 for iOS devices.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.riaxe.com%2Fblog%2Funcategorized%2Fapn-using-flex-mobile-in-windows-native-extensions%2F&amp;title=APN%20using%20Flex%20Mobile%20in%20Windows%20%26%238211%3B%20Native%20Extensions%20%26%238211%3B%20iOS%20Build%20Issues%20%5BSolved%5D"><img src="http://www.riaxe.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.riaxe.com/blog/uncategorized/apn-using-flex-mobile-in-windows-native-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

