@tecnavia/react-native-firebase-analytics (1.1.0)

Published 2025-01-02 16:28:28 +00:00 by naquilini

Installation

@tecnavia:registry=
npm install @tecnavia/react-native-firebase-analytics@1.1.0
"@tecnavia/react-native-firebase-analytics": "1.1.0"

About this package

@tecnavia/react-native-firebase-analytics

track events and screen to Firebase/GA4

Installation

npm install git+https://ussvc01.newsmemory.com:3000/tecnavia/react-native-firebase-analytics.git#tag --save

Configuration

make a file .tecnaviarc in the root folder with the following parameter

{
    "analytics_auto_collection_enabled": true|false
}

Usage

import analytics from "@tecnavia/react-native-firebase-analytics";

analytics()

Methods

enable collection on default service

analytics().setAnalyticsCollectionEnabled(true);

Troubleshooting

  1. the main instance works with native methods and need a google-services.json or GoogleServices-info.plist

Made with create-react-native-library

Dependencies

Development Dependencies

ID Version
@commitlint/config-conventional ^17.0.2
@evilmartians/lefthook ^1.2.2
@react-native-community/eslint-config ^3.0.2
@release-it/conventional-changelog ^5.0.0
@types/jest ^28.1.2
@types/react ~17.0.21
@types/react-native 0.70.0
commitlint ^17.0.2
del-cli ^5.0.0
eslint ^8.4.1
eslint-config-prettier ^8.5.0
eslint-plugin-prettier ^4.0.0
jest ^28.1.1
pod-install ^0.1.0
prettier ^2.0.5
react 17.0.2
react-native 0.67.5
react-native-builder-bob ^0.20.0
release-it ^15.0.0
typescript ^4.5.2

Peer Dependencies

ID Version
react *
react-native *

Keywords

react-native ios android
Details
npm
2025-01-02 16:28:28 +00:00
3
amauri
MIT
latest
25 KiB
Assets (1)
Versions (1) View all
1.1.0 2025-01-02