<?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>Marisa Barradas, Author at Blog IT</title>
	<atom:link href="https://blogit.create.pt/author/marisabarradas/feed/" rel="self" type="application/rss+xml" />
	<link>https://blogit.create.pt/author/marisabarradas/</link>
	<description>Create IT blogger community</description>
	<lastBuildDate>Tue, 19 Nov 2019 12:10:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>How to modify and compile a mobile plugin using OutSystems</title>
		<link>https://blogit.create.pt/marisabarradas/2019/11/18/how-to-modify-and-compile-a-mobile-plugin-using-outsystems/</link>
					<comments>https://blogit.create.pt/marisabarradas/2019/11/18/how-to-modify-and-compile-a-mobile-plugin-using-outsystems/#respond</comments>
		
		<dc:creator><![CDATA[Marisa Barradas]]></dc:creator>
		<pubDate>Mon, 18 Nov 2019 15:05:12 +0000</pubDate>
				<category><![CDATA[OutSystems]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[OutSystems 10]]></category>
		<category><![CDATA[Plugin]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=11691</guid>

					<description><![CDATA[<p>As an OutSystems developer, I had the need to use a QR Code plugin reader. First step? Started by creating a test project to be able to choose the best plugin that suited my needs. However…In the moment that I had to install it in the final app, I ran into… “Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:30:5-90 [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/marisabarradas/2019/11/18/how-to-modify-and-compile-a-mobile-plugin-using-outsystems/">How to modify and compile a mobile plugin using OutSystems</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>As an OutSystems developer, I had the need to use a QR Code plugin reader. <br> </p>



<p>First step? Started by creating a test project to be able to choose the best plugin that suited my needs.<br></p>



<p>However…In the moment that I had to install it in the final app, I ran into… “Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:30:5-90 duplicated with element declared at AndroidManifest.xml” error!</p>



<p>The plugin was: <a href="https://www.outsystems.com/forge/component-versions/1403">https://www.outsystems.com/forge/component-versions/1403</a> , and by extensibility configurations, I reached the project URL, as in the image bellow.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="393" height="512" src="https://blogit.create.pt////wp-content/uploads/2019/11/image.png" alt="" class="wp-image-11692" srcset="https://blogit.create.pt/wp-content/uploads/2019/11/image.png 393w, https://blogit.create.pt/wp-content/uploads/2019/11/image-230x300.png 230w, https://blogit.create.pt/wp-content/uploads/2019/11/image-322x420.png 322w" sizes="(max-width: 393px) 100vw, 393px" /></figure>



<p>So, after a brief research, I found out that what I had to do was a minor change in plugin.xml file, instead of having </p>



<figure class="wp-block-image size-large"><img decoding="async" width="624" height="126" src="https://blogit.create.pt////wp-content/uploads/2019/11/image-1.png" alt="" class="wp-image-11693" srcset="https://blogit.create.pt/wp-content/uploads/2019/11/image-1.png 624w, https://blogit.create.pt/wp-content/uploads/2019/11/image-1-300x61.png 300w" sizes="(max-width: 624px) 100vw, 624px" /></figure>



<p>I had to have:</p>



<figure class="wp-block-image size-large"><img decoding="async" width="624" height="137" src="https://blogit.create.pt////wp-content/uploads/2019/11/image-2.png" alt="" class="wp-image-11694" srcset="https://blogit.create.pt/wp-content/uploads/2019/11/image-2.png 624w, https://blogit.create.pt/wp-content/uploads/2019/11/image-2-300x66.png 300w" sizes="(max-width: 624px) 100vw, 624px" /></figure>



<p>So all I needed to do, was to change this
snippet and compile it into the OutSystems project.</p>



<p>So, how can we do it without native
software?</p>



<p><strong>1<sup>st</sup> step: </strong>create a git account at <a href="https://github.com/">https://github.com/</a> and install git &nbsp;<a href="https://gitforwindows.org/">https://gitforwindows.org/</a></p>



<p><strong>2nd step: </strong>Fork the project.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="843" height="178" src="https://blogit.create.pt////wp-content/uploads/2019/11/image-3.png" alt="" class="wp-image-11695" srcset="https://blogit.create.pt/wp-content/uploads/2019/11/image-3.png 843w, https://blogit.create.pt/wp-content/uploads/2019/11/image-3-300x63.png 300w, https://blogit.create.pt/wp-content/uploads/2019/11/image-3-768x162.png 768w, https://blogit.create.pt/wp-content/uploads/2019/11/image-3-696x147.png 696w" sizes="(max-width: 843px) 100vw, 843px" /></figure>



<p>Then, in your computer, open git bash in the project folder that you want the project:</p>



<figure class="wp-block-image size-large"><img decoding="async" width="192" height="287" src="https://blogit.create.pt////wp-content/uploads/2019/11/image-4.png" alt="" class="wp-image-11696" /></figure>



<p>Config your account on git bash.</p>



<p><strong>&nbsp;git config &#8211;global user.name &#8220;your username&#8221;</strong></p>



<p><strong>&nbsp;git config &#8211;global user.password &#8220;your password&#8221;</strong></p>



<p>or</p>



<p><strong>git config user.name &#8220;your username&#8221;</strong></p>



<p><strong>git config user.password &#8220;your password&#8221;</strong></p>



<p></p>



<p>And clone the project, as showed in the image bellow.</p>



<p>After cloning the project into your computer, make your code changes
using any editor, and then, follow the steps:</p>



<ol class="wp-block-list"><li>Check modified files: git status</li><li>Add modified files into the list of the next commit:
git add -u</li><li>Commit your changes: git commit -m “description”</li><li>Create a tag: git tag <em>v1.0_1.0</em> -a</li><li>Push your changes into the server: git push origin –tags</li></ol>



<figure class="wp-block-image size-large"><img decoding="async" width="599" height="861" src="https://blogit.create.pt////wp-content/uploads/2019/11/postblog1.png" alt="" class="wp-image-11698" srcset="https://blogit.create.pt/wp-content/uploads/2019/11/postblog1.png 599w, https://blogit.create.pt/wp-content/uploads/2019/11/postblog1-209x300.png 209w, https://blogit.create.pt/wp-content/uploads/2019/11/postblog1-292x420.png 292w" sizes="(max-width: 599px) 100vw, 599px" /></figure>



<p>The project is now ready to be compiled in OutSystems project!! </p>



<p>Open your plugin in OutSystems, and change the URL to your repository#yourtag </p>



<figure class="wp-block-image size-large"><img decoding="async" width="315" height="498" src="https://blogit.create.pt////wp-content/uploads/2019/11/image-6.png" alt="" class="wp-image-11699" srcset="https://blogit.create.pt/wp-content/uploads/2019/11/image-6.png 315w, https://blogit.create.pt/wp-content/uploads/2019/11/image-6-190x300.png 190w, https://blogit.create.pt/wp-content/uploads/2019/11/image-6-266x420.png 266w" sizes="(max-width: 315px) 100vw, 315px" /></figure>



<figure class="wp-block-image size-large is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/11/image-7.png" alt="" class="wp-image-11700" width="316" height="195" srcset="https://blogit.create.pt/wp-content/uploads/2019/11/image-7.png 544w, https://blogit.create.pt/wp-content/uploads/2019/11/image-7-300x185.png 300w, https://blogit.create.pt/wp-content/uploads/2019/11/image-7-356x220.png 356w" sizes="(max-width: 316px) 100vw, 316px" /></figure>



<p>1 &#8211; Publish the changes<br>2 &#8211; Generate App – this will compile your plugin changes</p>



<figure class="wp-block-image size-large"><img decoding="async" width="501" height="609" src="https://blogit.create.pt////wp-content/uploads/2019/11/image-8.png" alt="" class="wp-image-11701" srcset="https://blogit.create.pt/wp-content/uploads/2019/11/image-8.png 501w, https://blogit.create.pt/wp-content/uploads/2019/11/image-8-247x300.png 247w, https://blogit.create.pt/wp-content/uploads/2019/11/image-8-346x420.png 346w" sizes="(max-width: 501px) 100vw, 501px" /></figure>



<p>Reinstall the app in your device, and test it! 🙂</p>



<p>References:</p>



<p><a href="https://www.outsystems.com/forums/discussion/44842/box-camera-overlay/">https://www.outsystems.com/forums/discussion/44842/box-camera-overlay/</a></p>



<p><a href="https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/418">https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/418</a></p>



<p></p>
<p>The post <a href="https://blogit.create.pt/marisabarradas/2019/11/18/how-to-modify-and-compile-a-mobile-plugin-using-outsystems/">How to modify and compile a mobile plugin using OutSystems</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/marisabarradas/2019/11/18/how-to-modify-and-compile-a-mobile-plugin-using-outsystems/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
