All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.1.1-beta.6 (2020-06-05)
1.1.1-beta.5 (2020-05-15)
1.1.1-beta.4 (2020-05-14)
1.1.1-beta.3 (2020-04-30)
- bridge: fix duplicated analytics client improving errors (#162) (28a981d)
- bridge: fix p(r)omise typo (#168) (d9794db)
1.1.1-beta.2 (2020-04-08)
1.1.1-beta.1 (2020-04-07)
1.1.1-beta.0 (2020-03-23)
1.1.0 (2019-10-24)
- promoted 1.1.0-beta.2 to release 1.1.0.
1.1.0-beta.2 (2019-09-23)
1.1.0-beta.1 (2019-07-25)
- core: track lifecyle events before builder is set by the singleton (#88)
1.1.0-beta.0 (2019-06-20)
- integrations: allow setting integration options (13b663e)
-
ios: set trackAdvertising=true by default on ios (#82) (09e997b)
-
android: fix application lifecycle event tracking (from
1.0.1-beta.0
#73)
1.0.1 (2019-06-07)
- build: this fixes a release bug in 1.0.0 that omitted any transpiled files in the published version.
Note: This release does not include any of the changes from version 1.0.1-beta.0
(specifically, it does not include the android application lifecycle event tracking bug fix). The changes from 1.0.1-beta.0
will be available in a future release.
1.0.1-beta.0 (2019-06-06)
- android: fix application lifecycle event tracking (#73)
1.0.0 (2019-06-05)
Promote pre-release version to a stable release.
Note: This release was published with a bug that omitted transpiled file which makes it unusable. A fix has been published in 1.0.1, and this version has been marked as deprecated.
0.1.0-beta.0 (2019-04-08)
0.0.1-beta.5 (2019-04-01)
0.0.1-beta.4 (2019-03-29)
- core: fix duplicate client error in dev mode (#51) (cb66749), closes #16 #15
- core: React-Native 0.59 Support (#50) (a78c94e), closes #46 #44
0.0.1-beta.3 (2018-12-12)
- We've improved iOS support for non-Cocoapods users. You do not need to follow these steps if you are using Cocoapods.
- Remove
Analytics.framework
from your Xcode project - Remove
Analytics.framework
fromEmbedded Binaries
- Follow Current instructions
- Add
analytics-ios
as a npm dependency:yarn add @segment/analytics-ios@github:segmentio/analytics-ios#3.6.10
- In the
General
tab for your project, search forEmbedded Binaries
and add theAnalytics.framework
- Download the latest built SDK, and unzip the zip file.
- Drag the unzipped Analytics.framework folder into your Xcode project.
Make sure to check
Copy items if needed
. - In the
General
tab for your project, search forEmbedded Binaries
and add theAnalytics.framework
.
0.0.1-beta.2 (2018-10-24)
- android: pull android tool versions from root project (#12) (3f1eb3c), closes /github.com/frostney/react-native-create-library/blob/master/templates/android.js#L28
- core: fix TypeScript typings (fe7933c), closes #11
- core: export TypeScript public interfaces (9978cd7)
0.0.1-beta.1 (2018-10-23)
- bridge: improve missing native module error (#5) (0a03617)
- integrations: fix TypeScript typings (#8) (7535510), closes #6
- client: We've dropped the chained configuration for an object one instead. This will make Analytics blend even better with tools like Prettier.
Before:
analytics
.configure()
.using(Mixpanel, GoogleAnalytics)
.recordScreenViews()
.trackAppLifecycleEvents()
.trackAttributionData()
.android()
.flushInterval(60)
.disableDevicedId()
.ios()
.trackAdvertising()
.trackDeepLinks()
.setup('writeKey')
.then(() => console.log('Analytics is ready'))
.catch(err => console.error('Something went wrong', err))
Now:
analytics
.setup('writeKey', {
using: [Mixpanel, GoogleAnalytics],
recordScreenViews: true,
trackAppLifecycleEvents: true,
trackAttributionData: true,
android: {
flushInterval: 60,
collectDeviceId: false
},
ios: {
trackAdvertising: true,
trackDeepLinks: true
}
})
.then(() => console.log('Analytics is ready'))
.catch(err => console.error('Something went wrong', err))