Open go2actasad opened 4 years ago
first error says something about PermissionsManager.isPermissionGranted. Have you checked if you granted permission for location? try deleting the app cache/storage perhaps?
@horatiu665 yes I have double checked I have granted permission for location and also clear the cache but error is same.
The latest Firebase package is using the AndroidX libraries. Depending on your settings of the External Dependency Manager for Unity (former Play Services Resolver) this will result in a conflict with not migrated libraries. In theory, EDM4U can solve these conflicts with Jetifier. For this, all the Mapbox libraries need to be in a local maven repository (see here). I created a ticket to support EDM4U here: https://github.com/mapbox/mapbox-unity-sdk/issues/1599
The latest Firebase package is using the AndroidX libraries. Depending on your settings of the External Dependency Manager for Unity (former Play Services Resolver) this will result in a conflict with not migrated libraries. In theory, EDM4U can solve these conflicts with Jetifier. For this, all the Mapbox libraries need to be in a local maven repository (see here). I created a ticket to support EDM4U here: #1599
Thank you for your response. Have you solved this issue ?
The latest Firebase package is using the AndroidX libraries. Depending on your settings of the External Dependency Manager for Unity (former Play Services Resolver) this will result in a conflict with not migrated libraries. In theory, EDM4U can solve these conflicts with Jetifier. For this, all the Mapbox libraries need to be in a local maven repository (see here). I created a ticket to support EDM4U here: #1599
Thank you for your response. Have you solved this issue ?
I did not find the time yet, but this recommendation was an official answer from Google about a different plugging we are using that had the same error.
The latest Firebase package is using the AndroidX libraries. Depending on your settings of the External Dependency Manager for Unity (former Play Services Resolver) this will result in a conflict with not migrated libraries. In theory, EDM4U can solve these conflicts with Jetifier. For this, all the Mapbox libraries need to be in a local maven repository (see here). I created a ticket to support EDM4U here: #1599
Thank you for your response. Have you solved this issue ?
I did not find the time yet, but this recommendation was an official answer from Google about a different plugging we are using that had the same error.
Seems like mapbox still not provide any support like this.
For anyone else seeing this, I used this dependency file to specify all the android includes mapbox needs and to ensure it works with EDM4U.
<dependencies>
<androidPackages>
<!--
All the packages found in the Mapbox SDK 2.1.1 Unity SDK
See https://github.com/googlesamples/unity-jar-resolver/blob/8e4659acea42f83d33d34e31e48e4fdbcaa91ea0/sample/Assets/ExternalDependencyManager/Editor/SampleDependencies.xml#L13-L25
tese packages must be found on Maven Central, Google Maven Repo, or Local Android SDK Maven Repo
-->
<androidPackage spec="com.squareup.okhttp3:okhttp:3.8.0" />
<androidPackage spec="com.squareup.okio:okio:1.13.0" />
<androidPackage spec="com.android.support:animated-vector-drawable:25.1.0" />
<androidPackage spec="com.android.support:appcompat-v7:25.1.0" />
<androidPackage spec="com.google.code.gson:gson:2.8.5" />
<androidPackage spec="com.android.support:support-compat:25.1.0" />
<androidPackage spec="com.android.support:support-core-ui:25.1.0" />
<androidPackage spec="com.android.support:support-core-utils:25.1.0" />
<androidPackage spec="com.android.support:support-media-compat:25.1.0" />
<androidPackage spec="com.android.support:support-v4:25.1.0" />
<androidPackage spec="com.android.support:support-vector-drawable:25.1.0" />
<!-- this package should include the libcore-release.aar and libtelemetry-full-release.aar packages
see https://github.com/mapbox/mapbox-events-android
from looking inside the arr files the version is 1.4.0 -->
<androidPackage spec="com.mapbox.mapboxsdk:mapbox-android-core:1.4.0" />
</androidPackages>
</dependencies>
Note: If this is a bug or support ticket, please provide the following information: