Skip to content

Conversation

@kelsonpw
Copy link
Contributor

@kelsonpw kelsonpw commented Mar 9, 2021

Summary

BREAKING CHANGES: Removed support for React Native

We recently released an entirely new SDK focused completely on React Native support, this can be found at
https://github.com/amplitude/Amplitude-ReactNative.
We will be writing a migration guide for users looking to move to the new React Native SDK.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: Yes

BREAKING CHANGES:  Removed support for React Native

We recently released an entirely new SDK focused entirely on React Native support, this can be found at
https://github.com/amplitude/Amplitude-ReactNative.
We will be writing a migration guide for users looking to move to the new React Native SDK.
@kelsonpw kelsonpw requested review from ajhorst, haoliu-amp, jooohhn, kelvin-lu and yuhao900914 and removed request for jooohhn and kelvin-lu March 9, 2021 20:23
README.md Outdated
## React Native
This library now supports react-native. It has two dependencies on react-native modules you will have to install yourself:
## Deprecated - React Native
As of > v7.4.4, this SDK no longer has support for react-native. We recently released a new SDK focused on providing a React Native and cross-platform first approach. [Amplitude React Native SDK](https://github.com/amplitude/Amplitude-ReactNative)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: any strong opinions between the last working build vs. the first breaking build (>= 8.0.0) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, i like that wording better, added! @kelvin-lu

src/options.js Outdated
* @property {boolean} [optOut=`false`] - Whether or not to disable tracking for the current user.
* @property {function} [onError=`() => {}`] - Function to call on error.
* @property {string} [platform=`Web`|`iOS`|`Android`] - Platform device is running on. `Web` is a browser (including mobile browsers). `iOS` and `Android` are relevant only for react-native apps.
* @property {string} [platform=`Web`] - Platform device is running on. Defailts to `Web` (browser, including mobile browsers).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, should be Defaults to 😛

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i like how my typo has the word fail in it 😄

thx for catching

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated! @ajhorst

@kelsonpw kelsonpw requested a review from kelvin-lu March 10, 2021 01:27
Copy link
Contributor

@jooohhn jooohhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants