Skip to content

Commit

Permalink
Update react-onesignal
Browse files Browse the repository at this point in the history
  • Loading branch information
OneSignal committed May 16, 2023
1 parent 64d9c95 commit 3287097
Show file tree
Hide file tree
Showing 26 changed files with 4,048 additions and 14,985 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/ask-question.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 🙋‍♂️ Ask a question
description: Tell us what's on your mind
title: "[question]: "
title: "[Question]: "
labels: ["triage"]
assignees:
- OneSignal/eng-developer-sdk
Expand Down
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,29 @@ body:
placeholder: The latest version of the SDK causes a runtime error.
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on?
multiple: true
options:
- Firefox
- Chrome (Chromium)
- Safari
- Microsoft Edge
- Opera
- Brave
- Other
validations:
required: true
- type: input
id: operating-system
attributes:
label: What operating system are you running?
description: Make sure to include the version.
placeholder: macOS Monterey 12.3.1
validations:
required: true
- type: textarea
id: reproduction-steps
attributes:
Expand Down Expand Up @@ -44,3 +67,4 @@ body:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: Shell

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/general-feedback.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 📣 General feedback
description: Tell us what's on your mind
title: "[Bug]: "
title: "[Feedback]: "
labels: ["triage"]
assignees:
- OneSignal/eng-developer-sdk
Expand Down
File renamed without changes.
File renamed without changes.
394 changes: 330 additions & 64 deletions MigrationGuide.md

Large diffs are not rendered by default.

193 changes: 134 additions & 59 deletions README.md

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

dev-ssl.crt
dev-ssl.key
38 changes: 7 additions & 31 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ In the project directory, you can run:
### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.
The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm test`

Expand All @@ -31,40 +31,16 @@ See the section about [deployment](https://facebook.github.io/create-react-app/d

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**
**Note: this is a one-way operation. Once you `eject`, you cant go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
Loading

0 comments on commit 3287097

Please sign in to comment.