I am creating an app like uber in Reactnative. In that app I wish to add a Google maps api to find the nearest cab driver. And also I want to show number of cabs available in that area (during zoom in and out) as shown in uber.
I am using firebase cloud firestore as a database.
Related
Firebase's Import Segments documentation doesn't really fill in all the gaps of what I see in Firebase or BigQuery.
To me, it implies that I can build queries using Firebase events in order to create segments in BigQuery and then import them back into Firebase to use as Audiences (for cloud messaging). My problem is that I don't see exactly how that works.
Can anyone explain exactly how that works (if it's actually possible). And does it really require explicitly logging the Firebase Installation ID? Shouldn't it use an identifier that's already logged in the Firebase ecosystem?
--- Edit with additional info ---
I currently have the Firebase/BigQuery integration setup w/ Google Analytics and Imported Segments options selected. I then created a segment in the SegmentMetadata table in BQ's firebase_imported_segments db and I see that it populated in Firebase's Imported Segments dropdown.
So, more specifically, using the Firebase Events that come through Google Analytics into BigQuery, how do I populate the segment? The documentation says to use the instance_id in the SegmentMembership table but that is not part of the Firebase Events metadata. user_pseudo_id is the only identifier that I'm aware of.
And secondly, if I can populate the segment, where does it show up in Firebase? Will it just show up in the Audiences section because it doesn't right now. (Maybe because it's empty or there's a delay?)
In this case instance_id is not same as user_pseudo_id (a bit confusing though).
Print your instance id (in this case installation id) to mobile app log. Then you can easily grep it.
If you have a requirement to identify particular installations of your
app, you can do so by retrieving the Firebase installation ID. For
example, to perform testing during Firebase In-App Messaging
development, you can identify and target the correct test device using
its Firebase installation ID.
To retrieve a Firebase installation ID:
https://firebase.google.com/docs/projects/manage-installations#retrieve_client_identifiers
I am using Firebase and GA4 for my Android App. Currently, I am running an A/B-Test via Firebase.
Is there a way to select a Segment or Audience based on the A/B-Test-Variant? Or do I need to send my own events to identify the variant a user is using?
We currently have hundreds app on Google Analytics Mobile. We understand we need to migrate over to Google Analytics for Firebase. We have some questions which we need help to understand:
Current set up:
Currently we have multiple Google Cloud Platform accounts each with a number of API projects (one per app). Each API Project ID is used to created a Firebase Project for that Google Platform account.
In (old) Google Analytics Mobile we use the the REST API to get data for each app to be displayed in a custom dashboard:
sessions
unique users
demographics
geographic
affinity groups
Questions:
A) How do we replicate this in Google Analytics for Firebase? Is there a REST API for Google Analytics for Firebase to retrieve this information?
B) I understand an option is to migrate the Firebase analytics into BigQuery? Does BigQuery provide a REST API to extract the above data ? Is there a cost to using BigQuery.
C) Given we have multiple Google Cloud Platform accounts and each with multiple API Projects and linked to a Firebase project. Can all these Firebase projects be connected to the same BigQuery instance?
Many thanks
I am trying to list all google analytics properties connected to a google account.
While this works fine using the google analytics management api, it seems the connected firebase projects are missing:
While in the analytics web UI the firebase property is listed. I took a look at how Google itself queries for this data and they use some kind of internal API:
https://analyticssuitefrontend-pa.clients6.google.com/v1/search/entityHeaders
Result:
I tried adding a firebase related scope (https://www.googleapis.com/auth/firebase.readonly) to my OAuth authorization but the property was still missing.
How can I query for the full list?
As DaImTo mentioned in a comment these systems are separate and firebase analytics data can not be queried via the google analytics API. This also holds true for listing connected firebase projects.
The confusion might arise, because google provides access to firebase analytics data under the hood of the google analytics website.
I am new in Flutter, and I have pretty good knowledge of using Google maps APIs for native Android Apps. However, in my flutter app, I need Google Places search Auto-complete. I came across a plugin called google_maps_webservice where it consumes google maps APIs such as directions, places and geocoding using Google web services. My question is having low understanding and experiences in setting up web services for google maps API, how I can use the plugin in my flutter app? For example, if I had to use places API in android I would have enabled Goole Places SDK in cloud console and generate an API restricting for Android App. But for a flutter, both Android and iOS are going to use the same services from a web API call. what should I do? And right now I have no backend knowledge to set up a domain to use while creating the API from the console.
You can import the google_maps_webservices package
import 'package:google_maps_webservice/places.dart';
and use it in your code:
final places = GoogleMapsPlaces('<Your-API-Key>');
final response = await places.autocomplete('<What-you-are-searching-for>');
if (response.isOkay) {
for (Prediction prediction in response.predictions) {
print(prediction.description);
}
}
Some caveats:
1. Ensure that you are using the Web API key
2. Ensure to activate the Google Places SDK in Cloud Console.
3. To avoid getting an OVER_QUERY_LIMIT status message, ensure that you are using a billing account.