firebase / firebase/quickstart-unity

Android app crash caused by using Remote Config with other SDK and EDM4U resolution conflict

Open
#846 20 comments 0 reactions 0 assignees View on GitHub
api: core type: bug
Dominant language
C#
Stars
923
Forks
456
PR merge metrics
No merged PRs in 30d

Description

### [REQUIRED] Please fill in the following fields:

* Unity editor version: 2019.4.12f1_____
* Firebase Unity SDK version: 6.16.1_____
* Source you installed the SDK: Unity Package Manager_____ (.unitypackage or Unity Package Manager)
* Problematic Firebase Component: remoteConfig_____ (Auth, Database, etc.)
* Other Firebase Components in use: could messaging, crashlytics, dynamic links. remote config, analytics_____ (Auth, Database, etc.)
* Additional SDKs you are using: Facebook, IronSource (with a lot of adnetwork adapters[admob...]), EDMU 1.1.161, google play games_____ (Facebook, AdMob, etc.)
* Platform you are using the Unity editor on: Mac _____ (Mac, Windows, or Linux)
* Platform you are targeting:Android _____ (iOS, Android, and/or desktop)
* Scripting Runtime: IL2CPP _____ (Mono, and/or IL2CPP)

### [REQUIRED] Please describe the issue here:

(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
I'm getting an exception:
`E/firebase: Unable to find Method com/google/firebase/remoteconfig/FirebaseRemoteConfig.activateFetched (signature '()Z', instance). Please verify the AAR which contains the com/google/firebase/remoteconfig/FirebaseRemoteConfig class is included in your app.
`
things seemed to be working with firebase version 6.16.1 before today but today things stopped working and I think it's related to new firebase arr files that are being used:

new files:
```
Assets/Plugins/Android/com.google.firebase.firebase-abt-20.0.0.aar
Assets/Plugins/Android/com.google.firebase.firebase-analytics-18.0.0.aar
Assets/Plugins/Android/com.google.firebase.firebase-auth-20.0.0.aar
Assets/Plugins/Android/com.google.firebase.firebase-config-20.0.0.aar
Assets/Plugins/Android/com.google.firebase.firebase-iid-21.0.0.aar
Assets/Plugins/Android/com.google.firebase.firebase-messaging-21.0.0.aar

```
old files:
```
Assets/Plugins/Android/com.google.firebase.firebase-abt-19.1.0.aar
Assets/Plugins/Android/com.google.firebase.firebase-analytics-17.6.0.aar
Assets/Plugins/Android/com.google.firebase.firebase-auth-19.4.0.aar
Assets/Plugins/Android/com.google.firebase.firebase-config-19.2.0.aar
Assets/Plugins/Android/com.google.firebase.firebase-iid-20.3.0.aar
Assets/Plugins/Android/com.google.firebase.firebase-messaging-20.3.0.aar
```

This seems similar to the issue with crashlytics: https://github.com/firebase/quickstart-unity/issues/758
Why does it use a higher version of the arr file than the one that is supported by the unity sdk?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.