corrupted com.google.firebase.firebase-messaging-unity-***.aar

Open
#1,351 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, csharp, unity

Research direction

Start by checking whether this belongs in the Firebase Unity SDK issue tracker, as requested by the template, then reproduce with Unity 2022.3.7, FirebaseMessaging.unitypackage 11.3.0, and the dependency resolver. Inspect the generated com.google.firebase.firebase-messaging-unity-***.aar in Android Studio or by unzipping it; done means its embedded JAR is valid and usable from a custom Android activity.

Written by the indexing model from the issue text.

Description

new
[READ] For Firebase Unity SDK issues, please report to Firebase Unity open-source

Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.

[REQUIRED] Please fill in the following fields:
  • Unity editor version: _____2022.3.7

  • Firebase Unity SDK version: _____11.3.0
    Screenshot 2023-08-16 001317
    Screenshot 2023-08-16 001255

  • Source you installed the SDK: _____ FirebaseMessaging.unitypackage

  • Problematic Firebase Component: _____ FirebaseMessaging

  • Platform you are using the Unity editor on: _____ Windows

  • Platform you are targeting: _____ Android

  • Scripting Runtime: _____ IL2CPP

[REQUIRED] Please describe the issue here:

As of FirebaseFirestore_10.7.0, the lib com.google.firebase.firebase-messaging-unity-.aar has a corrupted .jar of 1kb.
This makes it impossible for me to use the file in my custom activity.
With FirebaseMessaging_9.6.0.unitypackage the com.google.firebase.firebase-messaging-unity-
.aar it's ok.

Steps to reproduce:

Download sdk and install FirebaseMessaging.unitypackage
Resolve dependencies
Open aar in android studio or unzip it.
The jar file will be corrupted.

Dominant language
C#
Stars
923
Forks
456
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/quickstart-unity

All issues in firebase/quickstart-unity

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.