<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Unsupported Android permission and how to remove them]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1892</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1892&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Unsupported Android permission and how to remove them.]]></description>
		<lastBuildDate>Wed, 15 Dec 2021 16:52:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Unsupported Android permission and how to remove them]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7971#p7971</link>
			<description><![CDATA[<p>Bingo!</p><p>I did fix the problem, reading the unity wiki I read that any call made to the Location APIs triggered ACCESS_FINE_LOCATION, ACCESS_BACKGROUND_LOCATION and ACCESS_COARSE_LOCATION to be added to the combined android manifest.</p><p>So I deleted all LocationService classes from OnlineMaps (OnlineMapsLocationServices and all base/generic basse/ editor).</p><p>The map works well for our needs now and does not block the build process anymore.</p>]]></description>
			<author><![CDATA[null@example.com (nicholas)]]></author>
			<pubDate>Wed, 15 Dec 2021 16:52:01 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7971#p7971</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unsupported Android permission and how to remove them]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7970#p7970</link>
			<description><![CDATA[<p>Hi,</p><p>I already did, but it seems like some plugin in the OnlineMaps add those 3 permission even if there are not present in my custom manifest in Plugins/Android.</p><p>Furthermore, I found yesterday that this problem does not only occur on Android but IOS too (Long story short i&#039;m building my app for quest (the VR version) and android + ios (The mobile version)).</p><p>I could use AndroidStudio like I stated before to fix the permissions asked, but it would not fix it for IOS.</p><p>Do you have any idea if there is a place in the source code where all the persmissions are requested?</p><p>I already tried to set : requestPermissionRuntime = false; in the OnlineMapsLocationService.cs but the permissions still get added to the build (IOS and Android).</p>]]></description>
			<author><![CDATA[null@example.com (nicholas)]]></author>
			<pubDate>Wed, 15 Dec 2021 14:54:55 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7970#p7970</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unsupported Android permission and how to remove them]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7969#p7969</link>
			<description><![CDATA[<p>Hello.</p><p>Create your own AndroidManifest.xml and put it in Plugins / Android folder.<br /><a href="https://docs.unity3d.com/Manual/android-manifest.html">https://docs.unity3d.com/Manual/android-manifest.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 15 Dec 2021 08:51:06 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7969#p7969</guid>
		</item>
		<item>
			<title><![CDATA[Unsupported Android permission and how to remove them]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7968#p7968</link>
			<description><![CDATA[<p>Hello,</p><p>While building for Oculus Quest (Unity 2020 LTS) Im getting this error:</p><p>ERROR: Validation identified the following errors:</p><p>The upload could not be completed because your application contains the following Android permissions that are not supported:<br />- android.permission.ACCESS_FINE_LOCATION<br />- android.permission.ACCESS_BACKGROUND_LOCATION<br />- android.permission.ACCESS_COARSE_LOCATION<br />Please remove the following permissions and upload your application binary again. </p><p>The thing is I don&#039;t need those features, I&#039;m only using the OnlineMap to show some location (Markers) on a world map.<br />I can&#039;t seem to find how to remove those permissions without passing the project through AndroidStudio and complicating my build workflow. Is there a simple solution?</p>]]></description>
			<author><![CDATA[null@example.com (nicholas)]]></author>
			<pubDate>Tue, 14 Dec 2021 21:23:43 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7968#p7968</guid>
		</item>
	</channel>
</rss>
