Skip to content

Commit 3ec0dcd

Browse files
committed
chore(release): 0.0.1-beta.3
1 parent e90a58c commit 3ec0dcd

File tree

2 files changed

+74
-56
lines changed

2 files changed

+74
-56
lines changed

CHANGELOG.md

Lines changed: 73 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -2,92 +2,110 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5-
<a name="0.0.1-beta.2"></a>
6-
## [0.0.1-beta.2](https://github.com/segmentio/analytics-react-native/compare/v0.0.1-beta.1...v0.0.1-beta.2) (2018-10-24)
5+
<a name="0.0.1-beta.3"></a>
76

7+
## [0.0.1-beta.3](https://github.com/segmentio/analytics-react-native/compare/v0.0.1-beta.2...v0.0.1-beta.3) (2018-12-12)
88

9-
### Bug Fixes
9+
- Improve iOS support for users without Cocoapods ([#27](https://github.com/segmentio/analytics-react-native/pull/27)) ([e90a58c](https://github.com/segmentio/analytics-react-native/commit/e90a58c)), closes [#17](https://github.com/segmentio/analytics-react-native/issues/17) and [#19](https://github.com/segmentio/analytics-react-native/issues/19)
1010

11-
* **android:** pull android tool versions from root project ([#12](https://github.com/segmentio/analytics-react-native/issues/12)) ([3f1eb3c](https://github.com/segmentio/analytics-react-native/commit/3f1eb3c)), closes [/github.com/frostney/react-native-create-library/blob/master/templates/android.js#L28](https://github.com//github.com/frostney/react-native-create-library/blob/master/templates/android.js/issues/L28)
12-
* **core:** fix TypeScript typings ([fe7933c](https://github.com/segmentio/analytics-react-native/commit/fe7933c)), closes [#11](https://github.com/segmentio/analytics-react-native/issues/11)
11+
### BREAKING CHANGES
1312

13+
- We've improved iOS support for non-Cocoapods users. You do not need to follow these steps if you are using Cocoapods.
1414

15-
### Features
15+
### Migration instructions
1616

17-
* **core:** export TypeScript public interfaces ([9978cd7](https://github.com/segmentio/analytics-react-native/commit/9978cd7))
17+
- Remove `Analytics.framework` from your Xcode project
18+
- Remove `Analytics.framework` from `Embedded Binaries`
19+
- Follow [Current instructions](#current-instructions)
1820

21+
### Current instructions
1922

23+
1. Add `analytics-ios` as a npm dependency: `yarn add @segment/analytics-ios@github:segmentio/analytics-ios#3.6.10`
24+
2. In the `General` tab for your project, search for `Embedded Binaries` and add the `Analytics.framework`
25+
![Embed Analytics.framework](https://segment.com/docs/sources/mobile/react-native/images/embed-analytics-framework.png)
2026

21-
<a name="0.0.1-beta.1"></a>
22-
## [0.0.1-beta.1](https://github.com/segmentio/analytics-react-native/compare/v0.0.1-beta.0...v0.0.1-beta.1) (2018-10-23)
27+
### Previous instructions
2328

29+
1. Download the [latest built SDK](https://github.com/segmentio/analytics-ios/releases), and unzip the zip file.
30+
2. Drag the unzipped Analytics.framework folder into your Xcode project.
31+
Make sure to check `Copy items if needed`.
32+
![Add Analytics.framework](https://segment.com/docs/sources/mobile/react-native/images/add-analytics-framework.png)
33+
3. In the `General` tab for your project, search for `Embedded Binaries` and add the `Analytics.framework`.
34+
![Embed Analytics.framework](https://segment.com/docs/sources/mobile/react-native/images/embed-analytics-framework.png)
2435

25-
### Bug Fixes
36+
<a name="0.0.1-beta.2"></a>
37+
38+
## [0.0.1-beta.2](https://github.com/segmentio/analytics-react-native/compare/v0.0.1-beta.1...v0.0.1-beta.2) (2018-10-24)
2639

27-
* **bridge:** improve missing native module error ([#5](https://github.com/segmentio/analytics-react-native/issues/5)) ([0a03617](https://github.com/segmentio/analytics-react-native/commit/0a03617))
28-
* **integrations:** fix TypeScript typings ([#8](https://github.com/segmentio/analytics-react-native/issues/8)) ([7535510](https://github.com/segmentio/analytics-react-native/commit/7535510)), closes [#6](https://github.com/segmentio/analytics-react-native/issues/6)
40+
### Bug Fixes
2941

42+
- **android:** pull android tool versions from root project ([#12](https://github.com/segmentio/analytics-react-native/issues/12)) ([3f1eb3c](https://github.com/segmentio/analytics-react-native/commit/3f1eb3c)), closes [/github.com/frostney/react-native-create-library/blob/master/templates/android.js#L28](https://github.com//github.com/frostney/react-native-create-library/blob/master/templates/android.js/issues/L28)
43+
- **core:** fix TypeScript typings ([fe7933c](https://github.com/segmentio/analytics-react-native/commit/fe7933c)), closes [#11](https://github.com/segmentio/analytics-react-native/issues/11)
3044

3145
### Features
3246

33-
* **client:** use object-based configuration ([#7](https://github.com/segmentio/analytics-react-native/issues/7)) ([6a281f4](https://github.com/segmentio/analytics-react-native/commit/6a281f4))
47+
- **core:** export TypeScript public interfaces ([9978cd7](https://github.com/segmentio/analytics-react-native/commit/9978cd7))
3448

49+
<a name="0.0.1-beta.1"></a>
50+
51+
## [0.0.1-beta.1](https://github.com/segmentio/analytics-react-native/compare/v0.0.1-beta.0...v0.0.1-beta.1) (2018-10-23)
52+
53+
### Bug Fixes
54+
55+
- **bridge:** improve missing native module error ([#5](https://github.com/segmentio/analytics-react-native/issues/5)) ([0a03617](https://github.com/segmentio/analytics-react-native/commit/0a03617))
56+
- **integrations:** fix TypeScript typings ([#8](https://github.com/segmentio/analytics-react-native/issues/8)) ([7535510](https://github.com/segmentio/analytics-react-native/commit/7535510)), closes [#6](https://github.com/segmentio/analytics-react-native/issues/6)
57+
58+
### Features
59+
60+
- **client:** use object-based configuration ([#7](https://github.com/segmentio/analytics-react-native/issues/7)) ([6a281f4](https://github.com/segmentio/analytics-react-native/commit/6a281f4))
3561

3662
### BREAKING CHANGES
3763

38-
* **client:** We've dropped the chained configuration for an object one instead. This will make Analytics blend even better with tools like Prettier.
64+
- **client:** We've dropped the chained configuration for an object one instead. This will make Analytics blend even better with tools like Prettier.
3965

4066
Before:
67+
4168
```js
4269
analytics
43-
.configure()
44-
.using(Mixpanel, GoogleAnalytics)
45-
.recordScreenViews()
46-
.trackAppLifecycleEvents()
47-
.trackAttributionData()
48-
.android()
49-
.flushInterval(60)
50-
.disableDevicedId()
51-
.ios()
52-
.trackAdvertising()
53-
.trackDeepLinks()
54-
.setup("writeKey")
55-
.then(() =>
56-
console.log('Analytics is ready')
57-
)
58-
.catch(err =>
59-
console.error('Something went wrong', err)
60-
)
70+
.configure()
71+
.using(Mixpanel, GoogleAnalytics)
72+
.recordScreenViews()
73+
.trackAppLifecycleEvents()
74+
.trackAttributionData()
75+
.android()
76+
.flushInterval(60)
77+
.disableDevicedId()
78+
.ios()
79+
.trackAdvertising()
80+
.trackDeepLinks()
81+
.setup('writeKey')
82+
.then(() => console.log('Analytics is ready'))
83+
.catch(err => console.error('Something went wrong', err))
6184
```
6285

6386
Now:
87+
6488
```js
6589
analytics
66-
.setup('writeKey', {
67-
using: [Mixpanel, GoogleAnalytics],
68-
recordScreenViews: true,
69-
trackAppLifecycleEvents: true,
70-
trackAttributionData: true,
71-
72-
android: {
73-
flushInterval: 60,
74-
collectDeviceId: false
75-
},
76-
ios: {
77-
trackAdvertising: true,
78-
trackDeepLinks: true
79-
}
80-
})
81-
.then(() =>
82-
console.log('Analytics is ready')
83-
)
84-
.catch(err =>
85-
console.error('Something went wrong', err)
86-
)
90+
.setup('writeKey', {
91+
using: [Mixpanel, GoogleAnalytics],
92+
recordScreenViews: true,
93+
trackAppLifecycleEvents: true,
94+
trackAttributionData: true,
95+
96+
android: {
97+
flushInterval: 60,
98+
collectDeviceId: false
99+
},
100+
ios: {
101+
trackAdvertising: true,
102+
trackDeepLinks: true
103+
}
104+
})
105+
.then(() => console.log('Analytics is ready'))
106+
.catch(err => console.error('Something went wrong', err))
87107
```
88108

89-
90-
91109
<a name="0.0.1-beta.0"></a>
92110

93111
## [0.0.1-beta.0](https://github.com/segmentio/analytics-react-native/compare/v0.0.1-alpha.9...v0.0.1-beta.0) (2018-10-13)

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@segment/analytics-react-native",
3-
"version": "0.0.1-beta.2",
3+
"version": "0.0.1-beta.3",
44
"description": "The hassle-free way to add analytics to your React-Native app.",
55
"license": "MIT",
66
"main": "build/cjs/index.js",

0 commit comments

Comments
 (0)