codemagic distribution firebase - firebase

please can i get some help about , firebase distribution from codemagic ? When i finished building the app , i don't know why it doesn't publish himself to firebase. It always give me an error , like it show below here:
In tried to resolve the problem by trying to associate it to google play , i saw here https://support.google.com/firebase/answer/6392038 , but i am not getting even the possibility to associate , like it showing down here:

check you completed following steps:
The app is registered with your Firebase project and your Google Play developer account. This means that you have both a Firebase Android App and a Google Play app.
The app in Google Play and the Firebase Android App are both registered using the same package name.
The app in Google Play is setup on the app dashboard, and it has the following status:
The app is distributed on one of the following Google Play tracks: Internal testing, Closed testing, Open testing, or Production.
The app's review in Google Play is complete and the app is published. Your app is published if the App status column displays one of the following statuses: Internal (not Draft Internal Testing), Closed testing, Open testing, or Production.

Related

Log errors from app on Google Play using Crashlytics

Probably silly question, but is it possible to send errors using Crashlytics from users that downloaded my app from Google Play? Until now I was using Crashlytics to collect errors from my app distributed by Firebase (so it was only for me and invited people). But I have released my app on Google Play and I can't see any errors from devices that downloaded my app in Google Play. I read that when I link my Google app with Firebase I can see purchase and subscription and analytics but no mention of Crashlytics. So my question is.. Is it even possible? Thank you very much.
Is the package name the same on your "release" version on the store? If your test one was called com.patrik.coolapp.debug (which is the default if you're using a debug build) then you'll need to add com.patrik.coolapp as an App in your Project in the Firebase console.
If you already had Crashlytics set up (all the dependencies, added the plugin, FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true) somewhere in your app) then it should just work - here's some advice on testing:
https://firebase.google.com/docs/crashlytics/test-implementation?platform=android
So I finally made it..
I'd like to thanks to #cactustictacs for help.
The problem was that I did not integrate Google Play in project settings in Firebase, although it is saying that it is just for Analytics and Subscription.
Before I integrated Google Play in Firebase I tried to add FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true) .. it did not work, but I believe it could be usefull to someone.
It wouldn't be such a problem, but it is required to have Owner or Admin permissions on both Firebase account and Google Play console account (which I did not have). After I get the permissions, integration was enabled and I could see test crashes in Crashlytics.

Firebase dynamic links data doesn't survive the app installation process in Expo app

I'm using Firebase dynamic links for referrals in an Expo app (managed workflow), but the link data isn't surviving the app installation process. The links worked fine when testing with a standalone app: when the user didn't have the app, they got directed to the App Store/Play Store* and when they did have the app, the link was handled using Expo's Linking.getInitialUrl().
I've actually gone ahead and published a native binary that displays a modal with the link data upon signing up to the app** (again, using Linking.getInitialUrl()). The modal only displays the app's custom url scheme myapp://. This same test displayed the link as expected when testing with a standalone app.
Note that the links work as expected if the app is already installed.
*This answer seems to suggest that this is enough to ensure the data will pass
**Fortunately we are very early stage with no users lol

Google sign in with Flutter on Android Studio

I've been looking for an answer for way too long. I am trying to implement the google sign in method with flutter and firebase so that I can access my google agenda via the google API afterwards. I get the following error: E/FirebaseInstanceId( 6925): Google Play services missing or without correct permission.
Even with the code of this video : https://www.youtube.com/watch?v=NaFI6bVI_NY&t=239s I get the error.
So you can assume my code is the same as her.
Thank you.
Most probable reason you are facing this error is because your Emulator does not have Google Play services Installed,
So try checking avd manager and see if the emulator you are running has Play Store Services installed.
You can check that by the icon like shown below:
If there is no Play Store service installed on existing emulator then create a new device having Play Store Services.

Google App Maker app not working after deploy

I have built an app with Google App Maker which has a Suggest Box linked to a table by a Query parameter.
The app works correctly in Preview mode, but when I deploy it, the Suggest Box doesn't suggest anything!
I have deployed it once before (without a select box as I recall) and it worked correctly.
I tried redeploying to the original deployment and deploying to a new deployment, same result.
Am I missing some security setting or something?
I am using Drive Tables as my datasource. The kind people at Google sent me a couple of links which helped me to understand what's going on: previewing and publishing your application and running as user or developer.
The crux of the issue is that when you deploy an app and run it as user (default), it doesn't take any Drive Table data with it. If you want to add Drive Table data to the deployed app, you have to do this:
Open App Maker
Go to App Settings
Go to Deployments
Select your most recent deployment and click: “EXPORT DATA”
Make sure you select Preview from the Deployments drop down list.
Click Export
This will export all your Preview data to a new Google Spreadsheet.
Now go to your Drive models in the App Maker and click “IMPORT DATA FROM SHEET”
Here you can choose to import data to your Deployed version.
After completing the import process, you will have all your data in the Deployed app.
All courtesy of Google but I didn't find it in the docs, so it might help someone.
Use the browser console to see if there's an error on the connection, make sure the user has access to the datasource and if you're using cloud SQL check the parameters of cloudSQL in the publication

Where can i find the link to my newly created app in firebase?

Im trying to locate the link that is supposed to be created along with my app on Firebase(according to the udacity Firebase course).
I found many links but none of them were accepted by the "after lesson quiz" on udacity.
The content that they have is according to the old UI of Firebase so i cant follow it step by step.
Unfortunately that course is for Firebase 2.x (www.firebase.com) and is out of date. In the legacy Firebase docs, under step 5 : Read & Write to your Firebase Database, you can see that creating a Firebase reference required the actual web address for you app. This is no longer true.
The new and correct way to setup your Firebase app does not require you to use this web address. The steps for setting up a Firebase app now are HERE.

Resources