Closed dlcole closed 1 year ago
The FLAG_IMMUTABLE or FLAG_MUTABLE error was resolved by adding this to app.gradle:
implementation 'com.google.android.gms:play-services-auth:20.5.0'
as per this SO post. 20.5.0 is the current latest version.
I get a subsequent "An unknown error occurred" error message on the Enter your phone number screen, but I'll investigate that separately and will close this issue.
I'm trying to use @nativescript/firebase-ui for phone authentication. I have a plain NativeScript Hello World project, and the only code it contains is the firebase core, messaging, auth, database, and UI plugins, code to initialize firebase and get the device token, and code to invoke firebase-ui for phone authentication:
On Android, I can build successfully, but on execution, receive this error
Edit 4/30/2023: Edited to show current error
Here's the package.json contents:
And the app.gradle contents: