Comments (18)
@Sagun085 read the warning message above the error. Seems like you did not install the plugin.
from cordova-plugin-firebase-authentication.
That is not a problem in itself of the plugin, but of its development logic.
Before executing any function of the plugin, you must be sure that cordova is running:
this.platform.ready().then(() => {
if(this.platform.is('hybrid')) {
this.firebaseAuthentication.verifyPhoneNumber(...)
.then(...)
}
});
I just made it work fine with no problem in Ionic 5.
My application runs very well with the login with Phone, Google, and Facebook.
It worked fine with Capacitor (v2) and Cordova (v9).
from cordova-plugin-firebase-authentication.
You will get this error in non-cordova environment such as browser (since this plugin does not have support for browser
). You should not see this error when you run your app on a device.
from cordova-plugin-firebase-authentication.
did you get any solutions? i have facing the problem.
from cordova-plugin-firebase-authentication.
same problem here
from cordova-plugin-firebase-authentication.
Same issue
from cordova-plugin-firebase-authentication.
This error occurs to me when I'm debugging on browser.
On Android device it's running OK
from cordova-plugin-firebase-authentication.
@lordonnance This error occurs to me when I'm on debug and on release IOS
from cordova-plugin-firebase-authentication.
I get the same but with createUserWithEmailAndPassword
from cordova-plugin-firebase-authentication.
same problem...
from cordova-plugin-firebase-authentication.
Doesn't make any difference. I'm running it on my device and still the same error.
from cordova-plugin-firebase-authentication.
Nice catch @uzbekjon
Thanks, actually I was using the older version of cordova(8.0).
After updating Cordova from 8 to 9.0.0 and installing the plugins:
$ ionic cordova plugin add cordova-plugin-firebase-authentication
$ npm install @ionic-native/firebase-authentication
I could not build the app! it failed! tried multiple times!
from cordova-plugin-firebase-authentication.
Same bug than @Sagun085 for me :(
from cordova-plugin-firebase-authentication.
@Sagun085 same here. I get the error when I install the plugin, the error goes away when I remove the plugin. Did you get a work around?
from cordova-plugin-firebase-authentication.
still having the same error
@IngAjVillalon can you please elaborate a bit how did you solved this issue ?
from cordova-plugin-firebase-authentication.
@IngAjVillalon I'm working with ionic-capacitor and I'm not receiving phone verification sms after generating signed apk. Could you help me with it?
from cordova-plugin-firebase-authentication.
Ok, I'll make a demo and repository so It can help you.
from cordova-plugin-firebase-authentication.
@IngAjVillalon would love to see your demo!!... But I kinda solved the issue after scratching my head for 1 full day
To anyone facing similar issue like mine..
- Note that SHA-1 key must match both in your firebase project as well as APK signature!
How to check it? (Incase, you are a rookie like meπ )
- After generating Signed APK file.. open the key file using any keystore explorer software where you can find your SHA-1 key with which you had signed your app.
- Now, head on to your project in firebase -->Project settings.. where you can provide that generated SHA-1 key for Android app
Also remember that you will receive SMS only after uploading in Google Store.. in order to test your app provide your testing number in Authentication-->sign in methods-->phone authentication
Glad to help.. incase I'm wrong.. kindly correct me!
from cordova-plugin-firebase-authentication.
Related Issues (20)
- Add linkWithPhoneNumber
- Error: The default Firebase app has not yet been configured
- The correct version of cocoapod and your plugin for cordova-ios 5.1.1 HOT 3
- Android build app (APK) closing on Phone Auth function: verifyPhoneNumber(phone,timeout) HOT 3
- verifyPhoneNumber fails since 4.0.2 (Android) HOT 3
- verifyPhoneNumber() causes app restart
- Cannot add extension "googleServices" Already registered HOT 1
- FATAL EXCEPTION on "onAuthStateChanged"
- Does this supports firebase multi tenancy
- SignOut does not delete user's data on disk HOT 3
- How can the new Firebase App Check affect the plugin?
- getCurrentUser does not exist HOT 1
- iOS: Add user property "refreshToken" from FIRUser HOT 2
- IOS: I cant get this to work
- IOS_FIREBASE_POD_VERSION in the plugin HOT 2
- Unable to build in iOS using XCode 13.1 HOT 2
- Compatible with firebase 9?
- Cordova Plugin mapping not found in ios
- Library expects a BoM package: com.google.firebase:firebase-auth
- timeoutMillis is no longer an optional parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-firebase-authentication.