Comments (10)
Hi @mishrasatyam,
I tried to reproduce the problem, but unfortunately I did not get it.
I do not receive any error message after sync.
Can you please provide me a Minimal, Reproducible Example (see here) and the exact steps?
from capacitor-firebase-authentication.
@mishrasatyam add below in MainActivity.java
public class MainActivity extends BridgeActivity {
@OverRide
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
FacebookSdk.sdkInitialize(getApplicationContext());
}
}
from capacitor-firebase-authentication.
This should not be necessary.
If you provide a minimal, reproducible example, I will try to fix the problem.
from capacitor-firebase-authentication.
Hey , I have created a repo . Please check . Thanks.
from capacitor-firebase-authentication.
@mishrasatyam Please follow the installation instructions correctly (see here):
android/app/src/main/res/values/strings.xml
does not contain the required configuration valuesandroid/app/src/main/AndroidManifest.xml
does not contain the required configuration values
Also see Before you begin and follow the instructions to configure sign-in with Facebook correctly.
Please update your example and check if the problem still exists.
from capacitor-firebase-authentication.
Oh sorry, you didn't mean to use Facebook did you? You just installed the plugin. So the setup is correct.
I tried to reproduce the issue with your repo but get the following error messages:
$ npx cap sync android
[error] Could not find installation of TypeScript.
To use capacitor.config.ts files, you must install TypeScript in your project, e.g. w/ npm install -D typescript
$ npm install -D typescript
added 1 package, and audited 209 packages in 2s
13 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
$ npx cap sync android
[error] Could not find the web assets directory: .\build.
Please create it and make sure it has an index.html file. You can change the path of this directory in
capacitor.config.ts (webDir option). You may need to compile the web assets for your app (typically npm run
build). More info: https://capacitorjs.com/docs/basics/workflow#sync-your-project
It seems that the project is not yet configured correctly.
I have created my own test project:
npx ionic start
npx ionic build
npm install @robingenz/capacitor-firebase-authentication firebase
npx ionic cap add android
I get the following output after running npx cap sync
:
√ Copying web assets from www to android\app\src\main\assets\public in 1.67s
√ Creating capacitor.config.json in android\app\src\main\assets in 1.66ms
√ copy android in 1.72s
√ Updating Android plugins in 8.56ms
[info] Found 4 Capacitor plugins for android:
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@robingenz/[email protected]
√ update android in 104.04ms
√ copy web in 1.10ms
√ update web in 979.90μp
[info] Sync finished in 1.83s
So everything is fine. I still can't reproduce it.
Do you have any more information for me? What are the exact steps you take?
from capacitor-firebase-authentication.
Hey, just do npm install and npm run android in the repo i linked. It will build and open android studio. You can see error when you try to run on a Device
from capacitor-firebase-authentication.
I was able to reproduce it and will take a closer look the next few days. Thank you!
from capacitor-firebase-authentication.
As a temporary workaround, the Facebook provider should be disabled (if it is not needed) via the providers
configuration option.
I will publish a fix today.
from capacitor-firebase-authentication.
The message appears because the Facebook SDK does not find the required configurations.
The SDK is required for this plugin to provide Facebook sign-in functionality.
The message now no longer causes the app to crash.
The fix will be included in version 0.3.10
.
from capacitor-firebase-authentication.
Related Issues (20)
- bug: Error: invalid credential when signInWithCredential using idToken after closing & re-opening app HOT 2
- Info about how to add firebase app HOT 3
- bug: Facebook returns no email adress HOT 6
- bug: angular fire guards doesnt' work on mobile HOT 7
- bug: getCurrentUser returns undefined user HOT 2
- feat: Convert an anonymous account to a permanent account HOT 2
- Login persistent , I have to sigin everytime with the phone number and otp , but firebase uses cookies to persist tokens , make that auto sigin . HOT 1
- I would like to get the usage of firebase storage, how can i implement , there is no auth provided , i am talking about with the security rules ( allow read, write: if request.auth != null ) HOT 1
- bug: Resend otp in phone auth ? HOT 1
- bug: SignInOptions not working HOT 2
- bug:
- bug: iOS Sign in Not Persisting HOT 1
- bug: `addListener('authStateChange', ...)` callback is never get called HOT 9
- bug: Firebase Instance ID Depreciation warning HOT 6
- bug: hard crash after calling signInWithPhoneNumber HOT 1
- bug: Sign back in with Apple - Duplicate User HOT 11
- bug: reCAPTCHA shows an error after release. This request is missing a valid app identifier HOT 2
- bug: not compatible with other firebase community plugins HOT 5
- bug: iOS directions fail to install required Firebase pods for M1 Mac HOT 1
- bug: Issue with Facebook SignIn accessToken HOT 1
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 capacitor-firebase-authentication.