I need to Integrate Branch.io with Google Firebase Account for one of my mobile apps built in react native so I can be able to Track all my deep links data on Google Firebase or Google Analytics Dashboard. but the issue is the official branch.io documentation only shows the implementation for the native apps (like in Java, Kotlin, or Swift) and not for the React Native apps. I am also attaching the reference link from the branch.io official documentation to provide a better view of what exactly I want.
https://help.branch.io/using-branch/page/firebase
Related
I am building an app using React Native with firebase using React Native. So far I am using one code of React Native for both IOS and Android. Now I want to implement Google Signin, later I want to include Facebook and Github logins, but I cannot find how to implement it for both platforms. As far as I understand it, IOS needs some podfile, and Android requires google-services.json. I found some tutorials on how to connect Google signin on each platform. If I follow both tutorials(including installing potfile and service,json), would it work on both platforms? Is it possible to have 1 code that works on both platforms?
these can be used for google and facebook logins
https://github.com/react-native-google-signin/google-signin
https://github.com/thebergamo/react-native-fbsdk-next/
How should I integrate analytics into a PWA webapp ? if I add analytics from google analytics into webapp and publish it in a server, then later, if I want to publish it on Google Play Store, how should I track the use?
here's the scenario:
I'm deploying the PWA from a subdomain.
then I'm publishing the PWA from Google Play Store as a TWA.
My concerns:
Should I use the google analytics snippet for web to track the subdomain-based pwa and firebase analytics for my Google Play Store app?
Or,
Can I use a single method to track both versions at the same time?
I have found this faq of chrome developer about use of google analytics
The CPA library follows the basic usage pattern of Google Analytics and will feel familiar to existing users of Google Analytics. However, unlike the web-centric official Google Analytics JavaScript libraries, the CPA library uses an "app-centric" model that is better suited for Packaged Apps. Among other features, the library provides methods for specific types of hits, such as "event" and "appView", and it can be used in both Closure-based and traditional JavaScript projects.
I am using Vuejs as frontend with pwa template, not sure if it is applicable for my use case. Any suggestion or direction would be much appreciated.
I am using THIS - Web + App configuration.
Using this you can track both at the same time.
You can configure it easily in firebase - see HERE for more
Recently, Google has sent a message claiming "the older style of Google Analytics for mobile apps[, Google Analytics for mobile apps reporting,] and the Google Analytics Services SDK ... will begin to sunset ..." It goes on to suggest that Google will replace the old UA-based tracking with a Firebase version.
I use React Native and the app is not ejected, yet. The team doesn't want to eject the app. Is there any package or procedure in place that will allow the app to report view opens/navigations to Google Analytics without ejecting the app?
I am trying to add Firebase Analytics (FA) to my react-native app.
Actually, I didn't find a problem to put Google Analytics (GA) using this library expo-analytics.
But apparently Firebase analytics is more powerful and it is really built for mobile apps. That is why I wanted to use it in my application but the problem is that :
I am using Expo and I cannot detach my app to add the json config files.
So my question is: is there a way to have Firebase Analytics with Expo and react-native without detach?
The default binding that Expo has for Firebase is based on the Firebase JavaScript SDK. This means that it is limited to the Firebase products that are available to web developers, which (since September 2019) includes Google Analytics for Firebase (the new name for Firebase Analytics).
Have a look at the Firebase documentation to learn how to get started with analytics on the web.
Previous, and now outdates, answer below. I'm leaving it here for reference for how.
The default binding that Expo has for Firebase is based on the Firebase JavaScript SDK. This means that it is limited to the Firebase products that are available to web developers, which unfortunately doesn't include Google Analytics for Firebase (the new name for Firebase Analytics).
This means that you'll have to rely on a third party library for binding other Firebase features into your Expo app. And since those libraries are bridging to the native Android and iOS SDKs of Firebase, there is no way to use them without detaching/ejecting.
Also see:
this discussion on expo.canny.io where an Expo team member weighed in
another discussion on expo.canny.io
Invertase's bindings from React Native to Firebase
Intertase's blog post on using Cloud Firestore from React Native
Check out a detailed answer of how to integrate Firebase Analytics into Expo here:
https://github.com/firebase/firebase-js-sdk/issues/2244#issuecomment-558621111
In short:
You can integrate Firebase Analytics into Android App using android.googleServicesFile field. Works at least for SDKs 33, 34, 35.
For iOS App ios.googleServicesFile field is missing in the Expo Docs but still can be used for Firebase Analytics. Works at least for SDK 34. Issue in Expo repo was created: https://github.com/expo/expo/issues/6379
We are currently using Firestack on a React Native project which is great, however we also need the features available via Firebase's "Invites" capability.
Is anyone aware of a React Native module (eg on github) for Firebase Invites, iOS and Android ?
Or alternatively - is there another service/API that can provide similar app invite management for mobile (ideally w/ React Native support but we can always bridge if needed) ?
Many thanks.
Firebase invites is based on Firebase dynamic links: Firebase Invites
React-Native-Firebase is a great open source library to use Firebase with react native. React-Native-Firebase
The library supports Dynamic Links so with a little work you can use it to enable the Firebase Invites feature.
React-Native-Firebase (Dynamic Links)