Can we integrate firebase analytics in old project which has google cloud messaging? so i want firebase-analytics and google cloud messaging also - google-cloud-messaging

I have tried to add fire base-analytics in old project which has google cloud messaging which i don't want to change, i am getting error for google cloud message for imports.

Google Cloud Messaging has been deprecated as of 10 April 2018.
You can import the old project into Firebase Console and generate a config file. Analytics is a core service and track most of the app data automatically with few lines of code required for initialization. Take a look at this doc.
Please note that the Analytics data will start populating on Firebase dashboard only from the point onwards you integrate the SDK in the app. Also you can easily transition to Firebase Cloud Messaging with that approach.

Related

whatsapp cloud api enable whatsapp_business_messaging permission

i have been trying to send whatsapp messages using cloud api, but its expecting to enable whatsapp_business_messaging permission which is by default disabled when associating with any app that has been created.
https://developers.facebook.com/docs/whatsapp/cloud-api/get-started#get-access-token.
i didn't find any documentation pertaining to enable the above mentioned permission. Kindly assist
Edited
WhatsApp cloud API is Now Public!
According to their docs,
To start using it for development prepose
Register as a Meta Developer
Enable two-factor authentication for your account
Create a Meta App: Go to developers.facebook.com > My Apps >
Create App. Select the "Business" type and follow the prompts on
your screen.
From the App Dashboard, click on the app you would like to connect
to WhatsApp. Scroll down to find the "WhatsApp" product and click
Set up.
the onboarding process performs the following actions:
our App is associated with the Business Manager that you chose
A WhatsApp test phone number is added to your business. You can use this test phone number to explore the WhatsApp Business Platform
without registering or migrating a real phone number.
for more info please refer to whatsapp cloud getting started docs
Yes, WhatsApp Cloud API is now public.
With the Cloud API, businesses can directly get access to WhatsApp Business API from Facebook, in minutes.
For more info check out this WhatsApp Cloud API Guide.
I recently made an open-source python wrapper for newly WhatsApp Cloud API to help developers easily get started, You really wanna have a look at it https://github.com/neurotech-HQ/heyoo.
Installation
pip install --upgrade heyoo
Here is the sample code to send a message ;
>>> from heyoo import WhatsApp
>>> messenger = WhatsApp('TOKEN', phone_number_id='104xxxxxx')
>>> messenger.send_template('hello_world', 'your number')
For Javascript developers please have a look into Heyhooh
Installation
npm install heyooh
Here how sending to send messages;
import WhatsApp from heyhooh
let messenger = new WhatsApp('TOKEN', phone_number_id='104xxxxxx')
messenger.send_template("hello_world", "255757xxxxxx")
For PHP Developers whatsappcloud-php
Installation
composer require zepson/whatsappcloud-php
Here how the code to send a message;
<?php
require_once 'vendor/autoload.php';
use zepson\Whatsapp\WhatsappClass;
$token = 'YOUR_META_WHATSAPP_APP_ACCESS_TOKEN';
$phone_number_id = '10726082513218961';
//send message
$tsap = new WhatsappClass( $phone_number_id, $token);
$sendtsap = $tsap->send_template('hello_world', '255654485755');
print_r($sendtsap);

Firebase Analytics: is it using IDFA on iOS?

Given the upcoming iOS 14 permission prompt for apps that use the IDFA identifier,
I am wondering if Firebase Analytics and Firebase Auth do need to access the IDFA in order to operate.
In such case, are we then required to state that the app is using IDFA when we publish it on the AppStore?
The question have been asked in a git issue on the firebase repo and basically the answer is yes if the AdSupport framework is linked to your app. The conversation is actually very interesting and links to another similar discussion started some years ago.
So at the moment if you use Firebase Analytics and your app links against AdSupport, you should indeed check the "my app uses IDFA" checkbox in the App Store.
By default, no*.
You can choose to use IDFA by calling the ATT (App Tracking Transparency) framework. *If you don't call ATT, the IDFA returned by AdSupport will be 00000000-0000-0000-0000-000000000000.
However, starting in 2021, you can include the AdSupport framework and Analytics won't collect the IDFA unless you present the AppTrackingTransparency dialogue. source
here is the quote from Firebase Documentation about Firebase Analytics and IDFA for iOS 14 or later
Firebase SDKs do not access IDFA, though some have integrations with
Google Analytics that may involve IDFA access.
so by default Firebase Analytics will not require IDFA. IDFA is required if you need to get more accurate data related to ads and marketing (attribution data & conversion tracking) from your linked Google (Firebase) Analytics.
Analytics event logging, event reporting, and conversion measurement
are unaffected, but attribution is impacted if IDFA is not accessible
more documentation you can read related to Appleā€™s iOS 14 policy updates
https://support.google.com/analytics/answer/10285841
https://firebase.google.com/docs/ios/app-store-data-collection

App won't run without google play services, which are not supported by your device Error while using firebase analytics for react native mobile app

I am trying to integrate firebase analytics on react native app, I have completed all the prerequisites and got a successful build running on Honeywell android Device, but when I open the app it gives above error. There are many such duplicate question but nothing works for me as I can't have play store as the target devices are Handheld android devices and not mobile devices. How to integrate firebase analytics without having to install google play service.
Thanks for Answer #JakeSteam
But I could get firebase integration working without google play service error.
Issue Details:
I was using react native firebase 5.x.x, which works fine but will give a pop up message mentioned in question if your device doesn't have google play service.
Workaround:
Upgrade react native firebase to version 6.x.x, the community has redeveloped this repo and I am not having issues with it now.
NOTE:
Without google play service on your device you can only use few firebase services like analytics, crashlytics etc.
As a Firebaser said:
Firebase as a platform requires Google Play Services, even though some Firebase products may be able to work without it.
If you cannot use Google Play Services, you may want to look into Google Analytics, which does not require it:
Note: Google Analytics can be used and will work on devices that do not have Google Play Services. In this case you still download and use the Google Play Services SDK and Google Analytics will automatically fall back to local dispatching.

How to retrieve app statistics from GooglePlay and Appstore via API?

We need to incorporate into our dashboard information about app installs, uninstalls, etc. Currently, we use Appfigures but it does not cover uninstalls. We would like to use an official Apple and Google API to retrieve app statistics but we cannot find it how to do that. Can you advise?
Mat.
For Google Play it is described in this page. This lets you download statistics from Google Cloud Storage.

Implementing Google Analytics in iOS App, if Firebase is already integrated for Push Notifications

I am having an iOS App in which Firebase is already integrated for the purpose of Push Notifications. So, I am having a GoogleService-Info.Plist file at the root of my target.
Now, I am adding Google Analytics SDK through pods and the tutorial is asking me to download another GoogleService-Info.plist file which is having a tracking ID. So, I am confused now that how to use Google Analytics in this case as I am already having a plist file.
I want to use google analytics as I want to do screen tracking which is not that efficient in FireBase Analytics.
Please can anybody guide me through the process of integrating Google Analytics when Firebase is already present in the app?
Thanks in advance.
This should help you with a common tutorial online FireBase Analytics Docs.
Use these docs to follow along in a tutorial that firebase has. For what I know about firebase is almost all the tutorials and help are written in swift and is kinda annoying if your writing in objective-c like I do. There is also sample projects on their website so it might be helpful to start at a sample project and work from there.