Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Releases: idehub/react-native-google-analytics-bridge

Add refreshContainer-function for GTM

15 Mar 18:02
e6623b1
Compare
Choose a tag to compare

What’s Changed

  • Fix FunctionCallTag registering in iOS and support to manually refreshing the container (#316) @farzadshafiee

Fix "compile" Gradle-warnings for newer RN-versions

19 Dec 10:26
96df35b
Compare
Choose a tag to compare

What’s Changed

  • Fixed gradle warning of deprecated 'compile' configuration (#294) @ShaPOC
  • Remove old examples, add new RN 57 example (#297) @cbrevik

Major version?

Since the implementation configuration is not valid for older versions of Gradle, this is a breaking change and therefore a major version. You should be on a newer React Native version (0.57+) for this version.

Fix for event value

15 Oct 07:10
b477a60
Compare
Choose a tag to compare

Fix compat for Play Services v15+ on Android

06 Sep 10:32
c306690
Compare
Choose a tag to compare

As per issues #238 & #247, this release fixes the build issue when using Play Services v15+.

This should allow for better compat with other React Native modules using a Play Services version >=15.

The module automatically uses the highest version, but if you want to use a specific version, this can be done through the googlePlayServicesVersion project build property in Gradle. You can specify it in <your-RN-app>/android/build.gradle:

buildscript {
    ext {
        googlePlayServicesVersion = "16.0.3"
    }
	// ... rest of gradle buildscript
}

See example file.

This change should be backwards compatible with older Play Services versions as well (at least >= 10).

Patch fix for requiresMainQueueSetup warning

29 Aug 07:20
0e9c54d
Compare
Choose a tag to compare

Breaking changes, API surface rewrite + enhanced e-commerce

28 Aug 12:01
a280b64
Compare
Choose a tag to compare

This module started out as a simple project with an aim to abstract away the native side of the Google Analytics library. The hope was that we could have simple functions like trackScreenView, trackEvent, and developers wouldn't have to think about stuff like building "Hits" and dispatching them.

But as use-cases have become complex, the API of the module became messy. This release hopes to put that right.

The API should mostly be backwards-compatible, except those special use-cases. See this wiki post for more details.

This release also includes a more fully developed enhanced e-commerce, which lets you track even more product actions and impressions.

GTM Custom Function Tags

22 Jun 19:15
d9b8e91
Compare
Choose a tag to compare

#256 Support of custom JS function tags in Google Tag Manager, which are triggered from rules setup in your container.

Thanks to @farzadshafiee for the implementation!

Register a function tag by calling:

GoogleTagManager.registerFunctionCallTagHandler(
  "some_function",
  (functionName, tagArguments) => {
    console.log("Handling Function Call tag:", functionName);
    console.log("args:", tagArguments);
 }

Dispatch functions

24 Jan 08:03
fb124dc
Compare
Choose a tag to compare

Thanks to @cpunion we now have dispatch & dispatchWithTimeout!! 💯

Three new methods

09 Sep 09:15
09d686d
Compare
Choose a tag to compare

New setCurrency and campaign url tracking functions

22 Jun 05:11
b199508
Compare
Choose a tag to compare

In this minor release we get two new functions setCurrency (thanks @kurtsergey!) and trackCampaignFromUrl (thanks @maxtechera!).