-
Notifications
You must be signed in to change notification settings - Fork 133
refactor(supported-platforms): Remove React Native Support #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
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) |
There was a problem hiding this comment.
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) ?
There was a problem hiding this comment.
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). |
There was a problem hiding this comment.
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 😛
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated! @ajhorst
jooohhn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
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