Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KMM error: java.lang.SecurityException: Unknown calling package name 'com.google.android.gms' #672

Open
CiprianGabor opened this issue Nov 14, 2024 · 0 comments

Comments

@CiprianGabor
Copy link

Any idea how to solve this error using Firebase Auth: auth.createUserWithEmailAndPassword(user.email, password)

Failed to get service from broker. 
java.lang.SecurityException: Unknown calling package name 'com.google.android.gms'.
at android.os.Parcel.createExceptionOrNull(Parcel.java:3069)
at android.os.Parcel.createException(Parcel.java:3053)
at android.os.Parcel.readException(Parcel.java:3036)
at android.os.Parcel.readException(Parcel.java:2978)
at angb.a(:com.google.android.gms@244337029@24.43.37 (190400-693941914):36)
at anei.z(:com.google.android.gms@244337029@24.43.37 (190400-693941914):143)
at amln.run(:com.google.android.gms@244337029@24.43.37 (190400-693941914):54)

The versions that I use for my KMM app:

dependencies {
        classpath("com.google.gms:google-services:4.4.2")
    }

implementation("dev.gitlive:firebase-firestore:1.10.4")
implementation("dev.gitlive:firebase-common:1.10.4")
implementation("dev.gitlive:firebase-auth:1.10.4")

The user is created but my app crashes because of the error.

Have a great day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant