Firebase phone authentication not working after creating .apk file - firebase

I initialized a react native app with Expo Bare Workflow, installed the #react-native-firebase/app and #react-native-firebase/auth package and followed all the setup instructions from the rnfirebase.io website. When I'm in development the firebase phone number authentication works fine but when I build using EAS (Expo Application Services) the reCAPTCHA screen doesn't open and I don't get the code of confirmation.
I need help to solve this problem

Related

unity app crashes, when login with google using firebase

I am trying to add a 'sign in with google' option to my app, using firebase. However when I click the button which calls the sign in script on my android device, the app crashes and closes completely.
I cannot run this script in the editor. so is there another way of finding out what the error is?
I am using the script found here https://www.dropbox.com/s/qss2wk4v52d48j4/GoogleSignInDemo.cs?dl=0 and have taken the web client id from my firebase project, and enabled google sign in.
I have also added the sha1 fingerprint to my firebase project and have copied the google-services.json file to my unity project. I am using Unity 2020.1.6f1 My firebase packages are version 10.2.0 and the google sign in plugin 1.0.4
I have no idea why it's not working please help me.I finding the solution but no result
[Solved]
I upgrade my pc windows 7 to windows 10 and upgrade unity 2020 to unity 2021 then it automatically fix and work.Thanks for all

Packaging a cross-platform electron app with firebase auth

I am trying to follow the firebase-electron guide instructions documented in the readme file here:
https://firebaseopensource.com/projects/david-asher/electron-firebase/#create-a-firebase-project
But I eventually get to a step which says
It is highly recommended that you add firebase-config.json to your .gitignore file. It contains project-specific information that you do not want to check in with the app, nor should it be packaged when building your app.
I was planning on releasing my electron app on the mac / windows / linux stores. And if firebase-electron needs the firebase-config.json file variables, then is there no way to release my electron app with authentication using firebase?
My end goal is to release an electron app with login capabilities that can work on both an electron app and browser. Specifically the YouTube API for uploading videos in node.js which requires a request to be made using the user's auth token (which you can get signing in through google using firebase, but can I release an app with firebase?)
Or maybe is there a better solution / example

Working code for firebase phone auth using expo client?

Hi i am new to react native development. I am trying to authenticate users using firebase phone auth and expo. I tried all the codes on the internet but none of them worked. I am using expo-cli version 5.4.6 and npm version 8.10.0. Someone please post a working code so that i could just replace the firebase config. I had created a web app in firebase project and set mode of auth as phone. Thanks and regards

Test dynamic link on iOS without publishing first to the app store

My flutter project is using firebase_dynamic_link package. I followed the instruction to register both my android and ios app on the firebase console without any problem. I've tested it out on android and it's working fine, opening the app I have running.
On iOS, I was expecting it to open the app I have running on it, instead I just get redirected to a preview page link.
Is it not opening my ios app because :
It's not yet published on the app store ?
Or is it because of an error in setup?
You can disable it in Firebase Console when you create/edit the dynamic link.

Pushsharp push notification only works with Sandbox and not production

Hi all I am new to iOS development, I have put in the deep end to get push notifications. I found pushsharp and was using this tutorial
Tutorial I a using
I have used a windows application instead of web application and added the latest pushsharp. The code build and runs and I can get the push notification but only on sandbox.
I build my iOS app
Open the ipa on my iPad in xcode to install
once installed open the app and select allow to allow remote notifications
Get the device token when the app is opened and stick it in my winforms app
send a push using push sharp and bada bing bada boom it works like a charm.
I want to be able to use my production certificate as well. So I created a provisioning profile for App store. Created a signing request, created a certificate and in my provisioning profile section on apple portal i can see my new provisioning profile
I am able to build my iOS app successfully however when i try and install the ipa onto my ipad i get an error
App installation failed
a valid provisioning profile for this executable was not found
Is there a step which i have missed? Why do i get app installation error.
What will happen if I release a app which is using devcertificate to show push notifications?
You can't use a distribution provisioning profile to run the app on your ipad directly.
The iOS Distribution certificate can only be used to build an app that will be installed via the App Store.
You need to use either a development profile, or an enterprise distribution profile to install on test devices.
If you want to test a beat version, you can test the app using TestFlight.
Here are some way to test a beat version.
What will happen if I release a app which is using devcertificate to
show push notifications?
You have to use a production push certificate to push notification in release mode.

Resources